Skip to content

Don't try to use removed -watchdog arg #85

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bjackman
Copy link

@bjackman bjackman commented Mar 8, 2023

See https://www.qemu.org/docs/master/about/removed-features.html

Implementation notes:

  • I wrote out this numeric parsing logic for the version check to avoid a big regex. Not sure if it's worth it, LMK if you prefer and I'll just switch it back to the existing system.

  • Adding has_watchdog_arg everywhere looks a bit annoying, maybe better to just pass the Qemu in or something and then let architectures check whatever flags they like?

  • Possibly we could just skip all this and use -device unconditionally, I have no idea when in QEMU's version history that became valid. In that case we can just merge s/-watchdog/-device #81 and delete this.

bjackman added 2 commits March 8, 2023 16:35
The next commit will add a check against 7.2 which makes for an unwieldy
regex. Let's use numerical comparisons instead
@jadahl
Copy link

jadahl commented Mar 8, 2023

There is also #81.

@bjackman
Copy link
Author

bjackman commented Mar 8, 2023

Oh -_-

Well, I'll leave this open in case the simple s/-watchdog/-device is not good enough (see my 3rd point in the summary)

@marcosps
Copy link
Contributor

marcosps commented Mar 8, 2023

@amluto has been unreachable for quite some time... do any of you know if he is still around? There a couple of fixes waiting to be picked in the PR lists already.

@bjackman
Copy link
Author

I just learned about https://github.com/arighi/virtme-ng, haven't tried it but maybe a viable alternative.

@marcosps
Copy link
Contributor

I just learned about https://github.com/arighi/virtme-ng, haven't tried it but maybe a viable alternative.

It works quite well, actually. You should try it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants