mirror of https://gitee.com/openkylin/libvirt.git
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/>
|
<acpi/>
|
||||||
<kvm>
|
<kvm>
|
||||||
<hidden state='off'/>
|
<hidden state='off'/>
|
||||||
|
<hint-dedicated state='off'/>
|
||||||
</kvm>
|
</kvm>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
|
|
@ -10,8 +10,8 @@ QEMU_AUDIO_DRV=none \
|
||||||
/usr/bin/qemu-system-i686 \
|
/usr/bin/qemu-system-i686 \
|
||||||
-name QEMUGuest1 \
|
-name QEMUGuest1 \
|
||||||
-S \
|
-S \
|
||||||
-machine pc,accel=tcg,usb=off,dump-guest-core=off \
|
-machine pc,accel=kvm,usb=off,dump-guest-core=off \
|
||||||
-cpu qemu32,kvm=off \
|
-cpu host,kvm=off,kvm-hint-dedicated=on \
|
||||||
-m 214 \
|
-m 214 \
|
||||||
-realtime mlock=off \
|
-realtime mlock=off \
|
||||||
-smp 6,sockets=6,cores=1,threads=1 \
|
-smp 6,sockets=6,cores=1,threads=1 \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<domain type='qemu'>
|
<domain type='kvm'>
|
||||||
<name>QEMUGuest1</name>
|
<name>QEMUGuest1</name>
|
||||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||||
<memory unit='KiB'>219100</memory>
|
<memory unit='KiB'>219100</memory>
|
||||||
|
@ -12,8 +12,10 @@
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<kvm>
|
<kvm>
|
||||||
<hidden state='on'/>
|
<hidden state='on'/>
|
||||||
|
<hint-dedicated state='on'/>
|
||||||
</kvm>
|
</kvm>
|
||||||
</features>
|
</features>
|
||||||
|
<cpu mode='host-passthrough' check='none'/>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<kvm>
|
<kvm>
|
||||||
<hidden state='off'/>
|
<hidden state='off'/>
|
||||||
|
<hint-dedicated state='off'/>
|
||||||
</kvm>
|
</kvm>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<domain type='qemu'>
|
<domain type='kvm'>
|
||||||
<name>QEMUGuest1</name>
|
<name>QEMUGuest1</name>
|
||||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||||
<memory unit='KiB'>219100</memory>
|
<memory unit='KiB'>219100</memory>
|
||||||
|
@ -12,8 +12,10 @@
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<kvm>
|
<kvm>
|
||||||
<hidden state='on'/>
|
<hidden state='on'/>
|
||||||
|
<hint-dedicated state='on'/>
|
||||||
</kvm>
|
</kvm>
|
||||||
</features>
|
</features>
|
||||||
|
<cpu mode='host-passthrough' check='none'/>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
|
|
Loading…
Reference in New Issue