mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
tests: add tests for kvm-hint-dedicated feature
Update the KVM feature tests for QEMU's kvm-hint-dedicated performance hint. Signed-off-by: Wim ten Have <wim.ten.have@oracle.com> Signed-off-by: Menno Lageman <menno.lageman@oracle.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
cb12c59dac
commit
63b2e57cb3
@ -12,6 +12,7 @@
|
||||
<acpi/>
|
||||
<kvm>
|
||||
<hidden state='off'/>
|
||||
<hint-dedicated state='off'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
|
@ -10,8 +10,8 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-i686 \
|
||||
-name QEMUGuest1 \
|
||||
-S \
|
||||
-machine pc,accel=tcg,usb=off,dump-guest-core=off \
|
||||
-cpu qemu32,kvm=off \
|
||||
-machine pc,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-cpu host,kvm=off,kvm-hint-dedicated=on \
|
||||
-m 214 \
|
||||
-realtime mlock=off \
|
||||
-smp 6,sockets=6,cores=1,threads=1 \
|
||||
|
@ -1,4 +1,4 @@
|
||||
<domain type='qemu'>
|
||||
<domain type='kvm'>
|
||||
<name>QEMUGuest1</name>
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>219100</memory>
|
||||
@ -12,8 +12,10 @@
|
||||
<acpi/>
|
||||
<kvm>
|
||||
<hidden state='on'/>
|
||||
<hint-dedicated state='on'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none'/>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<acpi/>
|
||||
<kvm>
|
||||
<hidden state='off'/>
|
||||
<hint-dedicated state='off'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<domain type='qemu'>
|
||||
<domain type='kvm'>
|
||||
<name>QEMUGuest1</name>
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>219100</memory>
|
||||
@ -12,8 +12,10 @@
|
||||
<acpi/>
|
||||
<kvm>
|
||||
<hidden state='on'/>
|
||||
<hint-dedicated state='on'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none'/>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
|
Loading…
Reference in New Issue
Block a user