From dc79d14b1b37a15ad95909fa27f479f860392af5 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 2 Oct 2024 13:08:23 +0200 Subject: [PATCH 1/2] fix: Remove scsi parameter from virtio-blk-pci --- src/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.sh b/src/boot.sh index 3a11728..190ca14 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -81,7 +81,7 @@ if [ ! -f "$BOOT_DRIVE" ] || [ ! -s "$BOOT_DRIVE" ]; then echo "$BOOT_SIZE" > "$BOOT_VERSION" fi -DISK_OPTS+=" -device virtio-blk-pci,drive=${BOOT_DRIVE_ID},scsi=off,bus=pcie.0,addr=0x5,bootindex=$BOOT_INDEX" +DISK_OPTS+=" -device virtio-blk-pci,drive=${BOOT_DRIVE_ID},bus=pcie.0,addr=0x5,bootindex=$BOOT_INDEX" DISK_OPTS+=" -drive file=$BOOT_DRIVE,id=$BOOT_DRIVE_ID,format=raw,cache=unsafe,readonly=on,if=none" CPU_VENDOR=$(lscpu | awk '/Vendor ID/{print $3}') From 683d93e492dc98134c7f75ca7527509161c00bdf Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 2 Oct 2024 13:08:57 +0200 Subject: [PATCH 2/2] fix: Remove scsi parameter from virtio-blk-pci --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index cec9df6..1528f2a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -82,7 +82,7 @@ if [ "$VERSION" != "$STORED_VERSION" ]; then fi fi -DISK_OPTS="-device virtio-blk-pci,drive=${BASE_IMG_ID},scsi=off,bus=pcie.0,addr=0x6" +DISK_OPTS="-device virtio-blk-pci,drive=${BASE_IMG_ID},bus=pcie.0,addr=0x6" DISK_OPTS+=" -drive file=$BASE_IMG,id=$BASE_IMG_ID,format=dmg,cache=unsafe,readonly=on,if=none" return 0