-
Notifications
You must be signed in to change notification settings - Fork 174
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 check method for isa-serial situation #3781
Conversation
@vivianQizhu could you please help to review? @MiriamDeng @fbq815 @BohdanMar does it affect your scenario? if so, please help to review it. |
since isa only support on x86, no affection on s390x |
This case isn't supported on aarch64, no affection. |
qemu/tests/qemu_guest_agent.py
Outdated
log_str = session.cmd_output(get_log_cmd).strip().split('\n')[-1] | ||
pattern = r"%s" % qga_cmd | ||
if not re.findall(pattern, log_str, re.M | re.I): | ||
if not log_str: |
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.
This would make the checkpoint meaningless, I would suggest to check at least the command return value if we don't check the detail content.
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.
As comment in line, please check.
1e03fcc
to
5de31dc
Compare
…-shutdown-method
5de31dc
to
b718424
Compare
something goes wrong. |
since there is a minor change for starting qemu-ga.exe, it will display debug info about version of mingw-qemu-ga so that auto program couldn't catch the expected condition to determine cmd run finished. so remove invaluable parameter '-v' after confirm with dev.
ID: 2199116
Signed-off-by: demeng [email protected]