mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
dffe584aa4
All Xen PV and HVM with PV driver support a memory balloon device, which cannot be disabled through the toolstack. Model the device in the libxl driver, similar to the recently removed xend-based driver. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<domain type='xen' id='6'>
|
|
<name>pvtest</name>
|
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
|
<memory unit='KiB'>430080</memory>
|
|
<currentMemory unit='KiB'>430080</currentMemory>
|
|
<vcpu placement='static'>2</vcpu>
|
|
<os>
|
|
<type>linux</type>
|
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
|
</os>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type='block' device='disk'>
|
|
<driver name='phy' type='raw'/>
|
|
<source dev='/dev/MainVG/GuestVG'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
</disk>
|
|
<console type='pty'>
|
|
<target type='xen' port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='xen'/>
|
|
<input type='keyboard' bus='xen'/>
|
|
<hostdev mode='subsystem' type='pci' managed='no'>
|
|
<driver name='xen'/>
|
|
<source>
|
|
<address domain='0x0001' bus='0x0c' slot='0x1b' function='0x2'/>
|
|
</source>
|
|
</hostdev>
|
|
<hostdev mode='subsystem' type='pci' managed='no'>
|
|
<driver name='xen'/>
|
|
<source>
|
|
<address domain='0x0000' bus='0x01' slot='0x13' function='0x0'/>
|
|
</source>
|
|
</hostdev>
|
|
<memballoon model='xen'/>
|
|
</devices>
|
|
</domain>
|