-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial autoupdate implementation #153
Conversation
Is it possible to attach the cd drive dynamically with Otherwise lgtm |
@oberien That's what I was planning to do initially. However, there's no straightforward way to tell if/when the device is going to be ready. Plus, implementing the required QMP commands is somewhat weird (see #131). Permanently attaching the GA ISO is definitely not perfect but not that big of a deal either. It's there, whatever, just ignore it. Hypervisors have traditionally addressed this by creating an optical drive at boot time and allowing you to insert/remove ISO images at runtime. This does not work here however as the corresponding qemu APIs are still unstable/experimental. |
You should create a new issue then just to keep it in mind. (Also don't forget to update the reference in #131 ). If it wasn't for "Needs more testing.", I'd approve this PR. |
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.
Gernerally I'd probably prefer one of the two methods we discussed.
let latest = Version::parse(include_str!("../../../guest-agent/VfioService/VfioService/Resources/Version.txt")).unwrap(); | ||
match Version::parse(&version) { | ||
Ok(version) => { | ||
if version < latest { |
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.
!= instead of <
windows-gaming/driver/src/qemu.rs
Outdated
@@ -46,6 +46,9 @@ pub fn run(cfg: &Config, tmp: &Path, data: &Path, clientpipe_path: &Path, monito | |||
debug!("Samba started"); | |||
} | |||
|
|||
let ga = data.join("windows-gaming-ga.iso"); |
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.
naming: gaIso
or something like that to easier see what this is. ga
can have multiple meanings
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.
Needs more testing.
Fixes #126.