Skip to content
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

remove replace for cpuid in go.mod #5

Closed
wants to merge 38 commits into from

Conversation

medyagh
Copy link
Contributor

@medyagh medyagh commented Apr 17, 2024

SvenDowideit and others added 30 commits May 5, 2017 12:30
Signed-off-by: Sven Dowideit <[email protected]>
Signed-off-by: Sven Dowideit <[email protected]>
Was giving error logs:

(kvm) Trying to access option qemu-network-bridge which does not exist
Running pre-create checks...
(kvm) Calling .PreCreateCheck
(kvm) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(kvm) Type assertion did not go smoothly to string for key qemu-network-bridge
Allow using real networking with either tap or bridge,
but don't bother with having multiple networks at once.

That is: either use user network for *both* ssh/engine,
or instead use the external address for ssh and engine.
Outputting the steps made the driver look hacky to users,
and probably isn't needed unless debugging something new.
Save the pid in a file when starting up the qemu process,
to make it much quicker to query the non-running machines.

When the process terminates, remove the old pidfile again.
This allows to quickly determine it has not been started.
Mostly for ancient KVM versions, where -display hadn't been
invented yet (happened in 2011). I'm looking at you, RHEL6.
Now docker-machine is actually looking for the _right_ port,
and GetPort can no longer return an error (lose GetEnginePort)

It will still work with the vanilla (unpatched) docker-machine,
just that you will get an error message looking for the port.
It will just fail to be able to contact the qemu "monitor":

	dial unix .../monitor: connect: connection refused
afbjorklund and others added 7 commits December 3, 2017 22:56
Please review changes, before combining forces
Didn't seem to be doing anything anyway...
(cherry picked from commit c74c04f21421bb16b60a0cbe31afa9e87281614c)
Use a localbinary, instead of a binary
(it needs to be compiled in to command)
Similar to "virtualbox" and "hyperv"
(no longer look for machine driver)
@medyagh medyagh changed the title remove cpuid replace and bump golang to 1.22 remove replace for cpuid in go.mod Apr 17, 2024
@medyagh medyagh requested a review from afbjorklund April 18, 2024 17:19
@afbjorklund
Copy link
Collaborator

afbjorklund commented Aug 11, 2024

We will have to do this PR again.

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.

4 participants