]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Add tests for kvm-poll-control feature
authorTim Wiederhake <twiederh@redhat.com>
Fri, 13 Nov 2020 08:49:44 +0000 (09:49 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Nov 2020 13:40:54 +0000 (14:40 +0100)
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>
tests/qemuxml2argvdata/kvm-features-off.xml
tests/qemuxml2argvdata/kvm-features.args
tests/qemuxml2argvdata/kvm-features.xml
tests/qemuxml2xmloutdata/kvm-features-off.xml
tests/qemuxml2xmloutdata/kvm-features.xml

index 21d492c8b973b253dc2dc781ece3abf0d465d5b8..d63a5732391fb693ac7f33cadd44edc507e8c39c 100644 (file)
@@ -13,6 +13,7 @@
     <kvm>
       <hidden state='off'/>
       <hint-dedicated state='off'/>
+      <poll-control state='off'/>
     </kvm>
   </features>
   <clock offset='utc'/>
index 5753a3eb3f2ffb9af1dbf012ce40fbda1cc6c1e2..629f868fe1bc951afc447b0637c5e11333743854 100644 (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 \
index 85f74786c9fc145838d70f5189bbadb9cf10be92..a5159254c699041861bacebb5128de6c230e526f 100644 (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'/>
index 9068be3e7b7f8f6982dd0ba5709599e64927e062..2fc94689100c90345d4052dd59404fd72be9f067 100644 (file)
@@ -13,6 +13,7 @@
     <kvm>
       <hidden state='off'/>
       <hint-dedicated state='off'/>
+      <poll-control state='off'/>
     </kvm>
   </features>
   <clock offset='utc'/>
index 9c53eb463046f2bae67c2c2785751e8f484ae816..458070ac467b2464200174c2718c9c735c240c94 100644 (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'/>