zlacker

[return to "Show HN: microvm – a minimalist machine type for QEMU inspired by Firecracker"]
1. Stream+NL2[view] [source] 2019-11-07 11:55:36
>>slpnix+(OP)
What are the differences compare to Firecracker?
◧◩
2. slpnix+hX2[view] [source] 2019-11-07 13:43:03
>>Stream+NL2
From the guest perspective, the differences are minimal. Even boot time of the guest (thinking about a custom-built minimalist Linux kernel here) is roughly the same.

On the host side, things are more interesting. Firecraker has a smaller TCB (Trusted Computing Base), is written in Rust, and is statically linked. On the other hand, QEMU provides more features (especially in the block layer, with more formats, network-based block devices, asynchronous I/O...), can be configured at build time to adapt it to a particular use case, and has a pretty good security record.

In the end, KVM userspace VMMs (Virtual Machine Monitors) are learning from each other, giving users more options to choose from. Everybody wins.

◧◩◪
3. rrdhar+Jm3[view] [source] 2019-11-07 16:30:23
>>slpnix+hX2
> QEMU... has a pretty good security record

That's an interesting and I would argue, contrarian take?

https://www.theregister.co.uk/2017/01/30/google_cloud_kicked...

"QEMU has a long track record of security bugs, such as VENOM, and it's unclear what vulnerabilities may still be lurking in the code."

◧◩◪◨
4. slpnix+kD3[view] [source] 2019-11-07 18:11:31
>>rrdhar+Jm3
I think the slide 14 from the talk "Reports of my Bloat Have Been Greatly Exaggerated" [1] presented by Paolo Bonzini at KVM Forum 2019 gives some good perspective about QEMU's security track:

"Of the top 100 vulnerabilities reported for QEMU:

- 65 were not guest exploitable

- 3 were not in QEMU :)

- 5 did not affect x86 KVM guests

- 3 were not related to the C language

- Only 6 affected devices normally used for IaaS

The most recent of these 6 was reported in 2016"

The rest of this talk was also very interesting. I encourage everyone with 10 minutes to spare and an interest in VMMs to take a look at the slides.

[1] https://static.sched.com/hosted_files/kvmforum2019/c6/kvmfor...

◧◩◪◨⬒
5. ketral+QH3[view] [source] 2019-11-07 18:38:30
>>slpnix+kD3
> "Of the top 100 vulnerabilities reported for QEMU:

> - 3 were not related to the C language

wow

[go to top]