Skip to content

Commit

Permalink
virtio_port_hotplug.hotplug_port_pci: No free matching bus error
Browse files Browse the repository at this point in the history
Because the hotplug logic did not show up the correct place,
cause this kind of problem. Change the strategy of hotplugging pci

Signed-off-by: demeng <[email protected]>
  • Loading branch information
6-dehan committed Aug 17, 2023
1 parent 4cc4a7d commit 13ddae0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qemu/tests/virtio_serial_hotplug_port_pci.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def run_serial_data_transfer():
# for windows guest, disable/uninstall driver to get memory leak based on
# driver verifier is enabled
if params.get("os_type") == "windows":
vm.devices.simple_hotplug(buses[0], vm.monitor)
vm.devices.simple_hotplug(serial_devices[0], vm.monitor)
if params.get("unplug_pci") == "yes":
vm.devices.simple_hotplug(buses[0], vm.monitor)
vm.devices.simple_hotplug(serial_devices[0], vm.monitor)
win_driver_utils.memory_leak_check(vm, test, params)

0 comments on commit 13ddae0

Please sign in to comment.