| Summary: | Add "kvm" machine for running virtualised | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Ross Burton <ross.burton> |
| Component: | meta-yocto | Assignee: | Cristian Iorga <cristian.iorga> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, poky.bs.watcher, poky.watcher, sgw, song.liu |
| Version: | 1.1.1 | ||
| Target Milestone: | 1.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | a69b5e1eae58618bb92f3f03c8727ae7462d2d26, 79947f1eb9f695c374ba63672f94deaa1de75561, a69b5e1eae58618bb92f3f03c8727ae7462d2d26, ebe1f9f7cf1fa63683bcd2bf21e809588780b1d9 | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Ross Burton
2012-06-06 12:51:38 UTC
This might be similar to adding the guest drivers for the Build Appliance Started investigation. The net result of this bug will be a new machine called qemux86kvm. qemux86kvm will run under QEMU with KVM enabled. KVM necessitates from the host system a HW virtualization feature present in the CPU (VT-x for Intel, AMD-V for AMD). Being that KVM is a para-virtualization techology, the guest OS will now that it is running under virtualization. In this case, the guest OS can activate the virtio tech, which relates to access to peripherals in a para-virtualized environment. virtio will need to be activated in the guest OS kernel (Linux in our case) if KVM is activated inside QEMU. Technical solution decided, architected and tested. Implementation still in progress, dependent upon approval of new kernel configuration fragments. Patchessubmitted for review. Fixed. KVM, paravirtualization and virtio drivers are now activated in runqemu using the kvm option flag for qemux86 and qemux86-64.Host CPU features are also exported to guest OS (Yocto Linux). Usage example: runqemu qemux86 core-image-x11 kvm runqemu qemux86-64 core-image-x11 kvm For testing, use the following guide: https://wiki.yoctoproject.org/wiki/Running_an_x86_Yocto_Linux_image_under_QEMU_KVM Verified. |