tests: Add tests for kvm-poll-control feature

Update the KVM feature tests for QEMU's kvm-poll-control performance
hint.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Tim Wiederhake 2020-11-13 09:49:44 +01:00 committed by Michal Privoznik
parent 3fc4412c6f
commit ea21b8b87b
5 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@
<kvm>
<hidden state='off'/>
<hint-dedicated state='off'/>
<poll-control state='off'/>
</kvm>
</features>
<clock offset='utc'/>

View File

@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
-name QEMUGuest1 \
-S \
-machine pc,accel=kvm,usb=off,dump-guest-core=off \
-cpu host,kvm=off,kvm-hint-dedicated=on \
-cpu host,kvm=off,kvm-hint-dedicated=on,kvm-poll-control=on \
-m 214 \
-realtime mlock=off \
-smp 6,sockets=6,cores=1,threads=1 \

View File

@ -13,6 +13,7 @@
<kvm>
<hidden state='on'/>
<hint-dedicated state='on'/>
<poll-control state='on'/>
</kvm>
</features>
<cpu mode='host-passthrough' check='none'/>

View File

@ -13,6 +13,7 @@
<kvm>
<hidden state='off'/>
<hint-dedicated state='off'/>
<poll-control state='off'/>
</kvm>
</features>
<clock offset='utc'/>

View File

@ -13,6 +13,7 @@
<kvm>
<hidden state='on'/>
<hint-dedicated state='on'/>
<poll-control state='on'/>
</kvm>
</features>
<cpu mode='host-passthrough' check='none' migratable='off'/>