Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Add support for firecracker in addition to QEMU as a supported hypervisor in Kata. #1031

Closed
2 of 11 tasks
mcastelino opened this issue Dec 15, 2018 · 7 comments
Closed
2 of 11 tasks

Comments

@mcastelino
Copy link
Contributor

mcastelino commented Dec 15, 2018

Add support for firecracker in addition to QEMU as a supported hypervisor in Kata.

This will require a few changes and additions to Kata components

Runtime

Kernel

Packaging

Agent

@WeiZhang555
Copy link
Member

+1 !

@Weichen81
Copy link
Contributor

@mcastelino Would you consider to keep compatibility of aarch64 while you're adding the firecracker support? Or your first target is just to enable x86_64? @Pennyzct

@egernst
Copy link
Member

egernst commented Dec 18, 2018

@Weichen81 - this would be adding an additional hypervisor (firecracker) to Kata; we'd still keep and definitely maintain QEMU/NEMU support. So, we'd remain compatible, and depending on the type of workload and infrastructure you're running on, you'd pick the appropriate hypervisor.

@Weichen81
Copy link
Contributor

@egernst Hi Eric, I meant should we have firecracker_amd64.go and firecracker_aarch64.go at the same time in this issue, or we just start from firecracker_amd64.go first : )

@mcastelino
Copy link
Contributor Author

mcastelino commented Dec 18, 2018 via email

@Pennyzct
Copy link
Contributor

Very happy to offer any help when we have support for aarch64. ;)

@mcastelino
Copy link
Contributor Author

Packaging of the rootfs as a disk in a firecracker friendly format

This work item is no longer needed. The rootfs can be added as a regular block device. The root can be explicitly specified vs implicitly added by firecracker itself.

https://github.com/mcastelino/fireclient/blob/noroot/instance.go#L126

https://github.com/mcastelino/fireclient/blob/noroot/instance.go#L92

This will allow us to use the same "partitioned" rootfs we use in the case of NVDIMM.

This means we can use the same image for both cases. All we need is the updated agent that supports virtio-mmio.

/cc @sboeuf @egernst

devimc pushed a commit to devimc/kata-runtime that referenced this issue Dec 19, 2018
Copy files to contaier's rootfs if hypervisor doesn't supports filesystem
sharing, otherwise bind mount them in the shared directory.

see kata-containers#1031

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Dec 19, 2018
Copy files to contaier's rootfs if hypervisor doesn't supports filesystem
sharing, otherwise bind mount them in the shared directory.

see kata-containers#1031

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Dec 19, 2018
Copy files to contaier's rootfs if hypervisor doesn't supports filesystem
sharing, otherwise bind mount them in the shared directory.

see kata-containers#1031

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Dec 19, 2018
Copy files to contaier's rootfs if hypervisor doesn't supports filesystem
sharing, otherwise bind mount them in the shared directory.

see kata-containers#1031

Signed-off-by: Julio Montes <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants