mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
42ed1d6818
These are similar to the minimal cases that we just introduced, but are intended to demonstrate what device or controller model libvirt will choose when one is not provided by the user. Note that we want both regular and ABI_UPDATE variants of the various test cases because, in some cases, the behavior for new guests is not the same as that for existing ones due to backward compatibility concerns. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
47 lines
1.5 KiB
XML
47 lines
1.5 KiB
XML
<domain type='qemu'>
|
|
<name>guest</name>
|
|
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
|
|
<memory unit='KiB'>4194304</memory>
|
|
<currentMemory unit='KiB'>4194304</currentMemory>
|
|
<vcpu placement='static'>4</vcpu>
|
|
<os>
|
|
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu mode='custom' match='exact' check='none'>
|
|
<model fallback='forbid'>qemu</model>
|
|
</cpu>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-s390x</emulator>
|
|
<controller type='usb' index='0' model='none'/>
|
|
<controller type='scsi' index='0' model='virtio-scsi'>
|
|
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/>
|
|
</controller>
|
|
<controller type='pci' index='0' model='pci-root'/>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:09:a4:37'/>
|
|
<model type='virtio'/>
|
|
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
|
|
</interface>
|
|
<serial type='pty'>
|
|
<target type='sclp-serial' port='0'>
|
|
<model name='sclpconsole'/>
|
|
</target>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target type='serial' port='0'/>
|
|
</console>
|
|
<audio id='1' type='none'/>
|
|
<video>
|
|
<model type='virtio' heads='1' primary='yes'/>
|
|
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>
|
|
</video>
|
|
<memballoon model='none'/>
|
|
<panic model='s390'/>
|
|
</devices>
|
|
</domain>
|