diff --git a/qemu/tests/win_virtio_driver_installer_uninstall.py b/qemu/tests/win_virtio_driver_installer_uninstall.py index 8030db7a4f..8a3443bf93 100644 --- a/qemu/tests/win_virtio_driver_installer_uninstall.py +++ b/qemu/tests/win_virtio_driver_installer_uninstall.py @@ -2,6 +2,7 @@ import time from virttest import error_context +from provider import win_driver_utils from provider.win_driver_installer_test import ( check_gagent_version, @@ -98,6 +99,10 @@ def run(test, params, env): inf_name = re.findall(r"\.inf", output, re.I) if inf_name: uninstalled_device.append(device_name) + ver_list = win_driver_utils._pnpdrv_info(session, device_name, + ["DriverVersion"]) + test.log.info(" %s driver version is %s" % (device_name, + ver_list)) if uninstalled_device: test.fail("%s uninstall failed" % uninstalled_device) error_context.context("Check qemu-ga service.", test.log.info)