1
0

cut down vm devices

This commit is contained in:
michael 2022-10-30 22:39:02 +13:00
parent 7e3fefd220
commit 83346eb842

View File

@ -60,33 +60,16 @@
<source file='{{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2'/> <source file='{{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2'/>
<target dev='vdd' bus='virtio'/> <target dev='vdd' bus='virtio'/>
</disk> </disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'/>
<controller type='sata' index='0'/>
<controller type='virtio-serial' index='0'/> <controller type='virtio-serial' index='0'/>
<interface type='bridge'> <interface type='bridge'>
<mac address='{{ vm_mac_prefix }}{{ vm_number }}'/> <mac address='{{ vm_mac_prefix }}{{ vm_number }}'/>
<source bridge='{{ vm_bridge }}'/> <source bridge='{{ vm_bridge }}'/>
<model type='virtio'/> <model type='virtio'/>
</interface> </interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target type='serial' port='0'/>
</console>
<channel type='unix'> <channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/> <address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel> </channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<memballoon model='virtio' autodeflate='on' freePageReporting='on'> <memballoon model='virtio' autodeflate='on' freePageReporting='on'>
<stats period='5'/> <stats period='5'/>
</memballoon> </memballoon>