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

Invalid argument for lpc device #26

Closed
io7m opened this issue Jul 19, 2020 · 0 comments
Closed

Invalid argument for lpc device #26

io7m opened this issue Jul 19, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@io7m
Copy link
Owner

io7m commented Jul 19, 2020

# java -jar com.io7m.waxmill.cmdline-0.0.3-SNAPSHOT-main.jar vm-run --machine  97e5e2ab-f287-4926-b22a-f7b8c9372da3 --boot-configuration install --dry-run true
exec /usr/sbin/bhyve -P -A -H -c cpus=1,sockets=1,cores=1,threads=1 -m 250M -s 0:0:0,hostbridge -s 0:1:0,lpc -l com1,/dev/nmdm_97e5e2ab-f287-4926-b22a-f7b8c9372da3_B -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 97e5e2ab-f287-4926-b22a-f7b8c9372da3

# java -jar com.io7m.waxmill.cmdline-0.0.3-SNAPSHOT-main.jar vm-run --machine  97e5e2ab-f287-4926-b22a-f7b8c9372da3 --boot-configuration install
INFO com.io7m.waxmill.boot.WXMBootConfigurationExecutor: execute: /usr/sbin/bhyve -P -A -H -c cpus=1,sockets=1,cores=1,threads=1 -m 250M -s 0:0:0,hostbridge -s 0:1:0,lpc -l com1,/dev/nmdm_97e5e2ab-f287-4926-b22a-f7b8c9372da3_B -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 97e5e2ab-f287-4926-b22a-f7b8c9372da3
bhyve: invalid lpc device configuration ' bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd'

Looks like command-line arguments may be getting unnecessary whitespace (note the space before bootrom).

@io7m io7m added the bug Something isn't working label Jul 19, 2020
@io7m io7m self-assigned this Jul 19, 2020
@io7m io7m closed this as completed in 73a3760 Jul 19, 2020
io7m added a commit that referenced this issue Jul 25, 2020
Release: com.io7m.waxmill 0.0.3
Change: Automatically create virtual machine filesystems (Ticket: #23)
Change: Fix LPC bootrom formatting (Ticket: #26)
Change: Add --replace options to device commands (Ticket: #25)
Change: Add support for interface groups (Ticket: #24)
io7m added a commit that referenced this issue Jul 25, 2020
Release: com.io7m.waxmill 0.0.3

Change: Automatically create virtual machine filesystems (Ticket: #23)
Change: Fix LPC bootrom formatting (Ticket: #26)
Change: Add --replace options to device commands (Ticket: #25)
Change: Add support for interface groups (Ticket: #24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant