mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
tests: qemu: add kvm-pv-ipi off test
Since b2757b697e29fa86972a4638a5879dccc8add2ad (qemu: support kvm-pv-ipi off), libvirt supports xml definition like: <features> <kvm> <pv-ipi state='off'/> </kvm> </features> Add test case for this feature. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
4c54af1c93
commit
74447e404d
@ -12,7 +12,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-S \
|
||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-machine pc,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-cpu host \
|
||||
-cpu host,kvm-pv-ipi=off \
|
||||
-m 214 \
|
||||
-realtime mlock=off \
|
||||
-smp 6,sockets=6,cores=1,threads=1 \
|
||||
|
@ -14,6 +14,7 @@
|
||||
<hidden state='off'/>
|
||||
<hint-dedicated state='off'/>
|
||||
<poll-control state='off'/>
|
||||
<pv-ipi state='off'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none'/>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<hidden state='on'/>
|
||||
<hint-dedicated state='on'/>
|
||||
<poll-control state='on'/>
|
||||
<pv-ipi state='on'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none'/>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<hidden state='off'/>
|
||||
<hint-dedicated state='off'/>
|
||||
<poll-control state='off'/>
|
||||
<pv-ipi state='off'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none' migratable='off'/>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<hidden state='on'/>
|
||||
<hint-dedicated state='on'/>
|
||||
<poll-control state='on'/>
|
||||
<pv-ipi state='on'/>
|
||||
</kvm>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none' migratable='off'/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user