mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 07:27:12 +00:00
qemux86-64: Support for KVM, paravirt and virtio added
KVM, paravirtualization and virtio drivers are now activated
in runqemu using the kvm option flag for qemux86-64.
Host CPU features are also exported to guest OS (Yocto Linux).
Usage example: runqemu qemux86-64 core-image-x11 kvm
Implements [YOCTO #2550].
(From OE-Core rev: cbb6431b3ee9128ea15c9ae0a19e7d2998ffc561)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab2b2a1f2a
commit
51048acb2d
@@ -350,8 +350,8 @@ if [ "$MACHINE" = "qemux86-64" ]; then
|
||||
QEMU=qemu-system-x86_64
|
||||
QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware"
|
||||
if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
|
||||
KERNCMDLINE="vga=0 root=/dev/hda rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
|
||||
QEMUOPTIONS="$QEMU_NETWORK_CMD -hda $ROOTFS $QEMU_UI_OPTIONS"
|
||||
KERNCMDLINE="vga=0 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
|
||||
QEMUOPTIONS="$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS"
|
||||
fi
|
||||
if [ "$FSTYPE" = "nfs" ]; then
|
||||
if [ "x$ROOTFS" = "x" ]; then
|
||||
|
||||
Reference in New Issue
Block a user