qemuamd64: Fix OVMF path

Message ID 0d0e2cac-afc0-0c0c-aeeb-bdf979d713ba@siemens.com
State Superseded, archived
Headers show
Series qemuamd64: Fix OVMF path | expand

Commit Message

Jan Kiszka Sept. 3, 2020, 1:05 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

start_vm does not work for amd64 when trying to use a standard Debian
installation of ovmf. Fix this.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta-isar/conf/machine/qemuamd64.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Baurzhan Ismagulov Sept. 11, 2020, 12:59 a.m. UTC | #1
On Thu, Sep 03, 2020 at 11:05:35PM +0200, Jan Kiszka wrote:
> start_vm does not work for amd64 when trying to use a standard Debian
> installation of ovmf. Fix this.

Wow, this works meanwhile on stretch and buster (it didn't before the stretch
release). Looks good to me. We'll update the CI and submit a doc patch.

With kind regards,
Baurzhan.

Patch

diff --git a/meta-isar/conf/machine/qemuamd64.conf b/meta-isar/conf/machine/qemuamd64.conf
index 028b738d..29fc579e 100644
--- a/meta-isar/conf/machine/qemuamd64.conf
+++ b/meta-isar/conf/machine/qemuamd64.conf
@@ -14,7 +14,7 @@  IMAGE_INSTALL += "sshd-regen-keys"
 QEMU_ARCH ?= "x86_64"
 QEMU_MACHINE ?= "q35"
 QEMU_CPU ?= ""
-QEMU_DISK_ARGS ?= "-hda ##ROOTFS_IMAGE## -bios /usr/local/share/ovmf/OVMF.fd"
+QEMU_DISK_ARGS ?= "-hda ##ROOTFS_IMAGE## -bios /usr/share/ovmf/OVMF.fd"
 
 MACHINE_SERIAL ?= "ttyS0"
 BAUDRATE_TTY ?= "115200"