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
installer: start virtiofs after reboot guest #3578
Conversation
For some guests, need to restart os after updating drivers. And after os rebooted, need to start virtiofs service. Signed-off-by: Xiaoling Gao <xiagao@redhat.com>
f8f5add
to
8bc03c0
Compare
@leidwang @YongxueHong Call for your review,thanks. |
@@ -109,12 +109,13 @@ def change_virtio_media(cdrom_virtio): | |||
installer_pkg_check_cmd, | |||
copy_files_params=params) | |||
|
|||
error_context.context("Run viofs service after upgrade...") | |||
win_driver_installer_test.run_viofs_service(test, params, session) | |||
|
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.
Hi @xiagao Why we need to remove these 2 line?Seems we only need to add run_viofs_service
after vm reboot.
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.
I did't remove, pls look at the following lines,just move it below.
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.
We used to run run_viofs_service
first and then reboot the vm,but now we run run_viofs_service
after vm reboot.
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 patch indeed modify 'start virtiofs after reboot guest' issue, before we didn't consider it because most of windows guests don't need to reboot, but for win2012, it will reboot guest, but after reboot, there is no start virtiofs steps.
@YongxueHong Could you help review this patch? |
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.
For some guests, need to restart os after updating drivers. And after os rebooted, need to start virtiofs service.
ID: 2156859
Signed-off-by: Xiaoling Gao xiagao@redhat.com