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

Port fwctl over from bhyve #161

Merged
merged 2 commits into from
Oct 20, 2017
Merged

Port fwctl over from bhyve #161

merged 2 commits into from
Oct 20, 2017

Conversation

ijc
Copy link
Collaborator

@ijc ijc commented Oct 20, 2017

This enables the UEFI firmware to correctly detect the number of vcpus. Without this the guest only sees 1 vcpu regardless of the use of -c because the firmware tables (ACPI) won't be setup correctly.

The first commit simply imports the pristine files from FreeBSD, the second commit is the interesting one I guess.

Ian Campbell added 2 commits October 20, 2017 12:34
Pristine versions not yet tied into the build.

Signed-off-by: Ian Campbell <[email protected]>
Required some adjusting of includes but mostly fixing up a slew of things
relating to our much stricter compiler warnings (lots of unsigned -> signed
conversions, some alignment increases, switches over enums missing cases).

Signed-off-by: Ian Campbell <[email protected]>
@rn rn merged commit a12cd72 into moby:master Oct 20, 2017
@MagnusS
Copy link
Collaborator

MagnusS commented Oct 20, 2017

LGTM too - tested the binary and it solves the issue

@ijc ijc deleted the fwctl branch October 20, 2017 13:05
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