qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Qemu memory ballooning for Windows guest


From: Nguyễn Trường Sơn
Subject: [Qemu-discuss] Qemu memory ballooning for Windows guest
Date: Wed, 14 Oct 2015 01:41:50 +0700

Hi all

I tried to set the ballooning for Windows guest.
My environment:
- OS: Centos 6.6
- Libvirt 1.2.14 (build from source)
- Qemu: 2.4.0.1 (build from source)
- VM :Windows 7 with installed virtio driver

Libvirt xml config contain:
<memory unit='KiB'>4524288</memory>
<currentMemory unit='KiB'>1524288</currentMemory>

<devices>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      <stats period='10'/>
    </memballoon>
  </devices>

But the guest actual memory is alway 1524288 (use virsh dommeminfo), vm view memory is 
4524288
And the memory for qemu process is between 1524288 and 4524288.

I see that ballooning is ok for linux:
- Acctual memory < 1524288 (ballooning)
- Current VM memory = 1524288 
- Max memory for hotplug = 4524288

Can some one show me how to run it with Windows guest.

Thanks
--
**************************************
Nguyễn Trường Sơn
Tin3K50 - Hệ thống thông tin K50
ĐHBK Hà Nội
Mobile: 0904010635
Y!M: hunters_1094

reply via email to

[Prev in Thread] Current Thread [Next in Thread]