-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu_guest_agent: adjust change for the version name of mingw-qga #3931
qemu_guest_agent: adjust change for the version name of mingw-qga #3931
Conversation
0d042ac
to
f9e2420
Compare
@leidwang could you please help to review it? |
0f1442f
to
734cc23
Compare
6871c4e
to
b348585
Compare
b348585
to
5b70d73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @6-dehan
@vivianQizhu Could you please help to review and merge? |
5b70d73
to
ac2fe14
Compare
qemu/tests/qemu_guest_agent.py
Outdated
@@ -3933,13 +3933,18 @@ def get_qga_pkg_path(self, qemu_ga_pkg, test, session, params, vm): | |||
if self.gagent_src_type == "url": | |||
gagent_host_path = params["gagent_host_path"] | |||
gagent_download_url = params["gagent_download_url"] | |||
mqgaw_ver = re.search(r'(?:\d+\.){2}\d+', gagent_download_url) | |||
mqgaw_ver_list = list(map(int, mqgaw_ver.group(0).split('.'))) | |||
mqgaw_name = "mingw-qemu-ga-win" if mqgaw_ver_list >= [105, 0, 1] else "qemu-ga-win" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please limit each line within 79 characters.
Also I would suggest to define a variants for "mingw-qemu-ga-win" and "qemu-ga-win" in cfg file like qga_bin
or qga_bin_legacy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(2/2) Host_RHEL.m9.u4.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.qemu_guest_agent.virtio_serial.check_freeze_frozen.q35: PASS (183.73 s)
the name of qemu-ga-win has been changed to mingw-qemu-ga-win, so the logic of getting specific version of package should be adjusted as well. Signed-off-by: Dehan Meng <demeng@redhat.com>
ac2fe14
to
0655fa4
Compare
the name of qemu-ga-win has been changed to mingw-qemu-ga-win, so the logic of getting specific version of package should be adjusted as well.
ID: 1229
Signed-off-by: Dehan Meng demeng@redhat.com