-
Notifications
You must be signed in to change notification settings - Fork 147
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
drakrun: VM unit test and refactor #496
Conversation
@chivay I am a bit stuck in the designing part of this test. Could you please help me in that?
|
First of all, sorry for the late reply!
Yes, not a fan of those hardcoded values. We should probably get rid of them at some point.
Yes that's true, AFAIK the only thing that VMs really need is a bridge interface, otherwise QEMU will protest. Adding some explicit dependency between networking setup and VirtualMachine is IMO a good idea. However I'm not sure if the VM class should manage it directly.
I think that ensuring that paused bit it set/unset (with |
Apology accepted :p
Yeah, agreed with this.
But, If we are spinning up
Umm, if we will be using
Hmm, sounds nice. But I think if a new class must be introduced then I will separate this task in next PR.
Cool, thanks! |
- try_subprocess to try_run - removed debug flag - added docstring and some improvements - fmt default argument
- and add some additional logging
- and a bug fix
All resolved |
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.
Generally LGTM, some minor suggestions.
Co-authored-by: Hubert Jasudowicz <hubert.jasudowicz@gmail.com>
Done, resolved |
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.
@manorit2001 please resolve conflicts with current master and I think we can merge this.
References #473