Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have you tried Cloud Hypervisor? #118

Open
sboeuf opened this issue Jul 12, 2023 · 3 comments
Open

Have you tried Cloud Hypervisor? #118

sboeuf opened this issue Jul 12, 2023 · 3 comments
Labels
question Further information is requested

Comments

@sboeuf
Copy link

sboeuf commented Jul 12, 2023

❓ Questions/Help/Support

I've just read your blogpost about the move from Firecracker to QEMU and the reasons why Firecracker wasn't fitting your needs. Have you ever considered using Cloud Hypervisor? It's been designed for the use cases you describe, and doesn't have any of the limitation that made you move away from Firecracker. And in comparison with QEMU, the codebase is much smaller and written in Rust. It actually relies on multiple Rust-VMM crates which are used from Firecracker as well.

@sboeuf sboeuf added the question Further information is requested label Jul 12, 2023
@hugodutka
Copy link
Member

Hi Sebastian, we did consider it. Here's a short writeup that we did about why we can't use it yet: https://github.com/hocus-dev/hocus/blob/main/rfd/0002-workspace-runtime.md. Is there any specific reason why you're asking?

@sboeuf
Copy link
Author

sboeuf commented Jul 12, 2023

Hi! I've been working on Cloud Hypervisor for several years and it looked like a great fit for your use case.
Ok I see the only blocker was the discard feature for storage, right? I assume you're using a block device, which means the only thing that's missing is to implement the VIRTIO_BLK_F_DISCARD feature for the virtio-block device. I'm not actively working on the project, but that's definitely something you could ask the community to implement for you (unless you want to do it).

@hugodutka
Copy link
Member

Yes, the main problem was the lack of the discard feature. However, we've already integrated with QEMU and it works great, so it's not a pressing issue for us right now. We wouldn't see any immediate benefits from switching to Cloud Hypervisor at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants