Y
Y
Yupa201711232018-01-20 15:10:42
Virtualization
Yupa20171123, 2018-01-20 15:10:42

Qemu and virsh. How to give a virtual machine more than 900MB?

qemu (64bit). RAM=2G.
guest - x86 (i686). The kernel is not going to - Out of memory.

<memory unit='KiB'>1100000</memory>
<memballoon mode='none'/>

<memory unit='MiB'>1200</memory> тоже ничего.
guest>free
900048 26648 649860 ...
lspci balloon does not show.
host>free (after starting the guest)
1954980 420228 1393016 ... Gives
less than 900 to the guest. And no more. I can assume that the balloon (imposed service) works.
<qemu:commandline>
  <qemu:arg value='-balloon none'/>
</qemu:commandline>

doesn't help either.
1. Why does free display so much free memory, is it given to the guest?
2. How to give a guest more than 900?
after several attempts, she began to give the guest 89xxxxxx.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question