liquidmetal-dev / flintlock

Lock, Stock, and Two Smoking MicroVMs. Create and manage the lifecycle of MicroVMs backed by containerd.
https://flintlock.liquidmetal.dev/
Mozilla Public License 2.0
613 stars 36 forks source link

Test with the latest CloudHypervisor version #855

Open richardcase opened 3 months ago

richardcase commented 3 months ago

Describe the solution you'd like: Test with the latest version of Cloud Hypervisor.

Why do you want this feature:

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

richardcase commented 3 weeks ago

Testing with Cloud Hypervisor v41.0 and was able to create a vm doing the following:

Started Flintlock (on main) using these args:

flintlockd run --cloudhypervisor-bin /home/richard/.local/bin/cloud-hypervisor-static \ 
                       --default-provider cloudhypervisor \
                        --bridge-name virbr1 \
                        --insecure \
                        --containerd-socket /run/containerd-flintlock/containerd.sock"

And then created a vm using fl (from main):

fl microvm create --name test1 \
                --host localhost:9090 \
                --network-interface eth1:tap \
                --kernel-image ghcr.io/liquidmetal-dev/cloudhypervisor-kernel:6.2 \
                --kernel-filename boot/vmlinux.bin \
                --root-image ghcr.io/liquidmetal-dev/ubuntu-ch:22.04 \
                --metadata-ssh-key-file /home/richard/.ssh/id_rsa_personal_yubikey.pub \
                --metadata-hostname node1