From 4419036ac8790614f429134b16a7427809b54170 Mon Sep 17 00:00:00 2001 From: Harika Nittala Date: Wed, 11 Sep 2024 16:41:05 +0000 Subject: [PATCH] snp.sh Fix for SNP launch guest memory issue on 6.11-rc3 host qemu option roms are no longer supported from kerenel 6.11-rc3, so updated qemu command options to add romfile to the guest storage controller (virtio-scsi), and modify guest video graphic controllerto none Signed-off-by: Harika Nittala --- tools/snp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/snp.sh b/tools/snp.sh index cb0f82e..95fa637 100755 --- a/tools/snp.sh +++ b/tools/snp.sh @@ -585,7 +585,7 @@ build_base_qemu_cmdline() { add_qemu_cmdline_opts "-smp ${GUEST_SMP}" add_qemu_cmdline_opts "-m ${GUEST_MEM_SIZE_MB}M" add_qemu_cmdline_opts "-no-reboot" - add_qemu_cmdline_opts "-vga std" + add_qemu_cmdline_opts "-vga none" add_qemu_cmdline_opts "-monitor pty" add_qemu_cmdline_opts "-daemonize" @@ -594,7 +594,7 @@ build_base_qemu_cmdline() { add_qemu_cmdline_opts "-device virtio-net-pci,disable-legacy=on,iommu_platform=true,netdev=vmnic,romfile=" # Storage - add_qemu_cmdline_opts "-device virtio-scsi-pci,id=scsi0,disable-legacy=on,iommu_platform=true" + add_qemu_cmdline_opts "-device virtio-scsi-pci,id=scsi0,disable-legacy=on,iommu_platform=true,romfile=" add_qemu_cmdline_opts "-device scsi-hd,drive=disk0" add_qemu_cmdline_opts "-drive if=none,id=disk0,format=qcow2,file=${IMAGE}"