Skip to content

Improvement suggestion, an option for manual fallback to TCG #4152

@CryptoManiac

Description

@CryptoManiac

Hi. It would seem that Lima provides user with no other option but to use the hardware virtualization in some cases, despite technically being able to function without it.

func Accel(arch limatype.Arch) string {

I believe it would be prudent to let the user alter the detection behavior here. This would make it possible to use Lima on those platforms which have no hardware virtualization. Like Ryzen hackintoshes or the virtual machines with no VMX instructions exposed to the guest.

I made a quick test by substitute the real qemu with a simple wrapper and everything works smoothly.

qemu_wrap.cc.txt

Image

Or is there another way to this in a less invasive manner?

P.S. Note for those who might try this. Lima is using the qemu directory as a starting path to search for firmware files. Better to have the wrapper in the same directory with the qemu binary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions