From b749653a10ca1b360bda597f9feda3eabac7ca2a Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 5 Apr 2018 16:46:46 -0400 Subject: Rework how we pass arguments to QEMU, provide a wks.in file - The official hook for changing the resolution we tell QEMU is UVESA_MODE so change agl_qemux86-64.inc to set the value there rather than override the whole of QB_KERNEL_CMDLINE_APPEND. - Make agl_qemux86-64.inc further append what's needed to QB_KERNEL_CMDLINE_APPEND as APPEND isn't used in the filesystem images we create anymore. - Create a directdisk.wks.in file that will (a) use --use-uuid and not force /boot to be looked for on /dev/sda1 (when it will _NOT_ be) and (b) evaluate QB_KERNEL_CMDLINE_APPEND to determine what the bootargs to the kernel will be. Change-Id: I49894d70e6c0010e0907b72f19fcc8fb0917e34a Bug-AGL: SPEC-1301 Signed-off-by: Tom Rini --- meta-agl-distro/conf/distro/include/x86_64-tune.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'meta-agl-distro/conf/distro') diff --git a/meta-agl-distro/conf/distro/include/x86_64-tune.inc b/meta-agl-distro/conf/distro/include/x86_64-tune.inc index f3bfc372f..2efeca04d 100644 --- a/meta-agl-distro/conf/distro/include/x86_64-tune.inc +++ b/meta-agl-distro/conf/distro/include/x86_64-tune.inc @@ -51,6 +51,5 @@ QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64" QB_CPU_x86-64 = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt" QB_CPU_KVM_x86-64 = "-cpu kvm64 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt" -QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=1024x768-32 oprofile.timer=1 uvesafb.task_timeout=-1" # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy QB_OPT_APPEND = "-vga vmware -show-cursor -usb -usbdevice tablet -device virtio-rng-pci" -- cgit 1.2.3-korg