boot2podman / machine

Apache License 2.0
120 stars 16 forks source link

Hypervisor framework compability for QEMU driver with --qemu-hvf flag #26

Closed leonsmith closed 3 years ago

leonsmith commented 4 years ago

Add in Hypervisor framework compability for QEMU driver with --qemu-hvf flag

leonsmith commented 4 years ago

This resolved #10 but without adding in a new driver thanks to @tonyjames comments

sycured commented 4 years ago

I tried your patch but it's not working… Compiled using master + your diff

1st try: podman-machine create box --driver qemu : no automatic detection… ok 2nd try: podman-machine create box --driver qemu --qemu-hvf : flag provided but not defined: -qemu-hvf

sanshirookazaki commented 4 years ago

Hi @sycured It worked on my mac. podman-machine create box --driver qemu --qemu-hvf

Can you see --qemu-hvf flag in the help text? podman-machine create --driver qemu -h | grep qemu-hvf

sycured commented 4 years ago

@sanshirookazaki no HVF on help output

sanshirookazaki commented 4 years ago

@sycured The built binary might not be in your path. On my mac, it worked with the steps below

$ make
$ mv podman-machine /usr/local/bin/podman-machine
$ podman-machine create box --driver qemu --qemu-hvf
sycured commented 4 years ago

I did with ./podman-machine

afbjorklund commented 3 years ago

Sorry for leaving this up unattended