提交 63b2e57c 编写于 作者: W Wim ten Have 提交者: Michal Privoznik

tests: add tests for kvm-hint-dedicated feature

Update the KVM feature tests for QEMU's kvm-hint-dedicated
performance hint.
Signed-off-by: NWim ten Have <wim.ten.have@oracle.com>
Signed-off-by: NMenno Lageman <menno.lageman@oracle.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 cb12c59d
......@@ -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 \
......
<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'/>
......
<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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册