mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
Add an XML test for host-model CPU with features
This was broken in a dowstream build due to a missing backport: https://bugzilla.redhat.com/show_bug.cgi?id=1182448
This commit is contained in:
parent
368042cf4a
commit
bc378060f7
@ -0,0 +1,33 @@
|
||||
<domain type='kvm'>
|
||||
<name>QEMUGuest1</name>
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<title>A description of the test machine.</title>
|
||||
<description>
|
||||
A test of qemu's minimal configuration.
|
||||
This test also tests the description and title elements.
|
||||
</description>
|
||||
<memory unit='KiB'>219100</memory>
|
||||
<currentMemory unit='KiB'>219100</currentMemory>
|
||||
<vcpu placement='static' cpuset='1-4,8-20,525'>1</vcpu>
|
||||
<os>
|
||||
<type arch='i686' machine='pc'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu mode='host-model'>
|
||||
<model fallback='allow'/>
|
||||
<feature policy='require' name='abm'/>
|
||||
<feature policy='force' name='ds'/>
|
||||
<feature policy='disable' name='invtsc'/>
|
||||
</cpu>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu</emulator>
|
||||
<controller type='usb' index='0'/>
|
||||
<controller type='ide' index='0'/>
|
||||
<controller type='pci' index='0' model='pci-root'/>
|
||||
<memballoon model='virtio'/>
|
||||
</devices>
|
||||
</domain>
|
@ -188,6 +188,7 @@ mymain(void)
|
||||
DO_TEST("cpu-kvmclock");
|
||||
DO_TEST("cpu-host-kvmclock");
|
||||
DO_TEST("cpu-host-passthrough-features");
|
||||
DO_TEST("cpu-host-model-features");
|
||||
DO_TEST("clock-catchup");
|
||||
DO_TEST("kvmclock");
|
||||
DO_TEST("clock-timer-hyperv-rtc");
|
||||
|
Loading…
x
Reference in New Issue
Block a user