Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2023 15:59:32 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 27e1fad46a82 - stable/13 - CI: update QEMU command line to avoid deprecated option format
Message-ID:  <202303211559.32LFxWHe075404@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=27e1fad46a82b1888d69f32655e7599e09a31807

commit 27e1fad46a82b1888d69f32655e7599e09a31807
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-03-07 16:38:01 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-03-21 15:58:40 +0000

    CI: update QEMU command line to avoid deprecated option format
    
    > warning: short-form boolean option 'readonly' deprecated
    > Please use readonly=on instead
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit a2de35e1a460126b99f63b6cdc3759157cc15860)
---
 tools/boot/ci-qemu-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/boot/ci-qemu-test.sh b/tools/boot/ci-qemu-test.sh
index b730e9725014..9548c6a1289e 100755
--- a/tools/boot/ci-qemu-test.sh
+++ b/tools/boot/ci-qemu-test.sh
@@ -85,7 +85,7 @@ amd64)
 	if [ ! -r "${OVMF}" ]; then
 		die "Cannot read UEFI firmware file ${OVMF}"
 	fi
-	QEMU="qemu-system-x86_64 -drive if=pflash,format=raw,readonly,file=${OVMF}"
+	QEMU="qemu-system-x86_64 -drive if=pflash,format=raw,readonly=on,file=${OVMF}"
 	EFIBOOT=BOOTx64.EFI
 	ROOTDEV=ada0s1
 	;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303211559.32LFxWHe075404>