-
Notifications
You must be signed in to change notification settings - Fork 70
qemu: Move from pc-lite to pc machine type #391
Conversation
This patch modifies the default configuration provided through the Makefile so that our runtime will use "pc" machine type for our Qemu hypervisor. This change implies that we have to use vmlinuz which is the compressed kernel expected by the BIOS run by "pc" machine type. Fixes #329 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Is there any story behind this? Why are you choosing pc over q35 or pc-lite? |
Hi @wcwxyz, the story behind this is that we want to be able to hotplug devices to our VM after it has been started, meaning that we need this functionality from qemu. The q35 machine type is the evolution of our qemu-lite current machine type, but unfortunately the hotplug feature of PCI devices is not working. |
Thanks @sboeuf. I understand. I see there's some not upstream'd patches in https://github.com/clearcontainers/qemu/commits/qemu-lite-v2.9.0 to fix/improve q35 and pc-lite. I mean pc must be a trade-off comparing to the other two. Do you have benchmark of pc/pc-lite/q35 regarding memory footprint/boot time or other performance aspect? How much performance we will lose by switching to pc? |
@wcwxyz We have some PnP metrics but this is not something that we can share externally unless we get some approvals from Intel. |
That's ok. I believe PnP is quite fast. But what about memory footprint and VM boot time? |
@wcwxyz what we call PnP (Power and Performance) gathers all the metrics, meaning that boot time and memory footprint are parts of what we cannot share externally. |
@sboeuf I see. I thought it's Plug and Play, the hot plug stuff. Thanks for answering my question. |
@wcwxyz Sure no problem ;) |
Fixes: clearcontainers#391 Replace invalid urls with new legal ones. Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This patch modifies the default configuration provided through the
Makefile so that our runtime will use "pc" machine type for our
Qemu hypervisor. This change implies that we have to use vmlinuz
which is the compressed kernel expected by the BIOS run by "pc"
machine type.
Fixes #329