Hi,
I managed to set my KVM guest to use virtio_blk and virtio_net. But what I could not figure out was on how to setup virtio_balloon.
How do I need to configure my XML file that the guest is loading this module automatically and using it?
Code:
<domain type='kvm'>
<name>guest3</name>
<uuid>94d00e35-5bc6-3240-e7c6-950ee5350e99</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>4</vcpu>
<os>
<type>hvm</type>
<boot dev='hd'/>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<source file='/dev/vg01/lv_guest3-disk'/>
<target dev='vda' bus='virtio'/>
</disk>
<interface type='bridge'>
<mac address='00:16:3e:74:29:98'/>
<source bridge='br0'/>
<model type='virtio'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
</devices>
</domain>
Thanks for your help in advance.
Regards
Christian
Bookmarks