-
Notifications
You must be signed in to change notification settings - Fork 657
fix unclean stop for vz driver #1315
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
Conversation
pkg/vz/vz_driver_darwin.go
Outdated
} | ||
|
||
return nil | ||
return errors.New("VZ CanRequestStop is not supported") |
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.
return errors.New("VZ CanRequestStop is not supported") | |
return errors.New("vz: CanRequestStop is not supported") |
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.
Done
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.
Thank you!
I guess we should make the next release very soon
yes, i believe. This might even be the cause for factory-reset required for some cases. |
Signed-off-by: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
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.
Thanks
fixes #1313
Why this change ?
lima hostagent is terminating before the vm is fully stopped. Due to this there were disk corruptions.
This PR adds support for waiting for the state change to complete before closing hostagent