lima-vm / alpine-lima

Create an alpine based image for lima
Apache License 2.0
40 stars 26 forks source link

fix(mkimage): log console messages to hvc0 #109

Closed ryancurrah closed 1 year ago

ryancurrah commented 1 year ago

VZ has support for serial console logging but the device is different from Qemu. VZ uses the hypervisor virtual console device instead. This change modifies the bootloader to add hvc0 as a device to log console messages to on boot. Also added some changes that removes some settings/configs that are not needed anymore.

Issue: https://github.com/lima-vm/lima/issues/1659

AkihiroSuda commented 1 year ago

Also added some changes that removes some settings/configs that are not needed anymore.

I'd expect them to be a separate commit (or a separate PR) if those changes are irrelevant to hvc0

ryancurrah commented 1 year ago

I did so the request of your colleague. I can remove those changes if you want.

ryancurrah commented 1 year ago

Actually this change does not work, hvc0 needs to be at the end of the line. Closing this PR.