Skip to content

Commit

Permalink
Merge pull request #5220 from meinaLi/page_per
Browse files Browse the repository at this point in the history
virtio_page_per_vq: add libvirt version
  • Loading branch information
chunfuwen authored Oct 23, 2023
2 parents a900fde + 12edc9c commit 09ad9a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libvirt/tests/cfg/virtio/virtio_page_per_vq.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
start_vm = no
driver_dict = {'driver': {'page_per_vq': 'on'}}
ping_outside = 'www.google.com'
func_supported_since_libvirt_ver = (8, 5, 0)
no s390-virtio
variants:
- default_start:
Expand Down
2 changes: 2 additions & 0 deletions libvirt/tests/src/virtio/virtio_page_per_vq.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
from virttest import libvirt_version
from virttest import utils_net
from virttest import virsh
from virttest.libvirt_xml import vm_xml
Expand Down Expand Up @@ -122,6 +123,7 @@ def start_guest():
disk_image = params.get("disk_image", "")
input_type = params.get("input_type")
controller_type = params.get("controller_type")
libvirt_version.is_libvirt_feature_supported(params)

vm = env.get_vm(vm_name)
vmxml = vm_xml.VMXML.new_from_dumpxml(vm_name)
Expand Down

0 comments on commit 09ad9a6

Please sign in to comment.