Skip to content

Commit

Permalink
Merge pull request autotest#5511 from chloerh/virtio-page
Browse files Browse the repository at this point in the history
Fixup: login timeout of virtio_page_per_vq test
  • Loading branch information
Yingshun authored Mar 18, 2024
2 parents 5a1b06a + b702448 commit e6acb1c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libvirt/tests/src/virtio/virtio_page_per_vq.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ def run_test(device_xml, vmxml):
test.log.info("TEST_STEP1: hotplug %s device", device_type)
start_guest()
virsh.attach_device(vm_name, device_xml.xml, ignore_status=False, debug=True)
vm.wait_for_login()
vm.cleanup_serial_console()
vm.create_serial_console()
vm.wait_for_serial_login().close()

test.log.info("TEST_STEP2: check the attribute in %s xml", device_type)
check_attribute()
Expand Down Expand Up @@ -120,7 +122,7 @@ def start_guest():
"""
test.log.info("Start the guest")
if not vm.is_alive():
virsh.start(vm_name, ignore_status=False, debug=True)
vm.start()

vm_name = params.get("main_vm")
device_type = params.get("device_type")
Expand Down

0 comments on commit e6acb1c

Please sign in to comment.