From nobody Sat Jun 08 04:43:30 2024 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vx56q0Xc7z5NKkD for ; Sat, 08 Jun 2024 04:43:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vx56p6C9qz4D57 for ; Sat, 8 Jun 2024 04:43:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717821810; a=rsa-sha256; cv=none; b=t+vVaS//Yy0nxgkumoHS6l9mtc19wzbjbUNlU4fp4Xqxdsz/x7cNpgq123DkTKDP+E0p4k +/ZVc5OGN+hnGmnJm63FTw3vmyNs/uju0mmC17avTyn1hIzEWQussAPWydFEQn2Xcee9jw FwrHfEtIvxnmkkCQE1Au+YxoDjBlFkB7b70cFw/vWojvbSk4V24eBKfkpsUd/qQsbMgfbs +JIZXG2tjkE0cY3xnxWrxocQlaHo1jMHSfLedC51Akpxz1P0ro3qd020NFhk+XI1ScrPjE PUkP270tm4q8UbXLHhiWE21O/tESjBn3reAbrtVzSZ75VEa6Lfav+R0jh457QQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717821810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=46D5wm8kwUz844G3kCrLcib2CCji+ms9NWG2+2FcK4g=; b=K4OuC+INa/lKX6E5cfjrdV2gNeAlbbhXQEVLIKjqSLCatnBZBEur58vo9yXXLUokBUPVEB CnBVyTc9hHmVXSQzAM7NzX2qBPJN5tkjWNQvlo2T0HljLTaUMY8T1qJ3m3anfQ0SyxQuEL nWwrgxx1v+9BzIoqlkhIlQwCBNjGilnnGDI82JftOmnD2n2dfCKjI+ucgesd/Zieg68Srq jY/r+UHMK9HVF80l38F6Q7DTF1DXtD0qYLR5U64aF8M+m5cVQ9cGOup2OXRQh51TGOh5Ik Rplk/qOI/PQI7VIQdM2+HS3bf8RVLPPGZRuRyaqgi5OB+Bgq/rdn/nBv9S0WEw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vx56p5lKmzkVm for ; Sat, 8 Jun 2024 04:43:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4584hUwK005803 for ; Sat, 8 Jun 2024 04:43:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4584hUnV005802 for virtualization@FreeBSD.org; Sat, 8 Jun 2024 04:43:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 279584] UEFI-booted VM does not support read-only storage with virtio-blk Date: Sat, 08 Jun 2024 04:43:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: editor@callfortesting.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279584 Bug ID: 279584 Summary: UEFI-booted VM does not support read-only storage with virtio-blk Product: Base System Version: 14.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: editor@callfortesting.org A UEFI-GOP/bhyve-firmware booted VM will not support a boot drive. Scenario one: -s 2,virtio-blk,/freebsd.raw,ro Scenario two: freebsd.raw is on a ZFS dataset and the dataset is set to 'readonly=3Don'. Output in both cases: BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0): Not Found Works: -s 2,virtio-blk,FreeBSD-14.0-RELEASE-amd64-disc1.iso Fails: -s 2,virtio-blk,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro Work on writable underlying storage: -s 2,ahci-cd,FreeBSD-14.0-RELEASE-amd64-disc1.iso -s 2,ahci-cd,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro -s 2,ahci-hd,FreeBSD-14.0-RELEASE-amd64-disc1.iso -s 2,ahci-hd,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro -s 2,nvme,FreeBSD-14.0-RELEASE-amd64-disc1.iso Fails on writable underlying storage (for what it's worth): -s 2,nvme,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro Work on read-only underlying storage: -s 2,ahci-cd,FreeBSD-14.0-RELEASE-amd64-disc1.iso -s 2,ahci-cd,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro -s 2,ahci-hd,FreeBSD-14.0-RELEASE-amd64-disc1.iso -s 2,ahci-hd,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro Fail on read-only underlying storage (for what it's worth): -s 2,nvme,FreeBSD-14.0-RELEASE-amd64-disc1.iso -s 2,nvme,FreeBSD-14.0-RELEASE-amd64-disc1.iso,ro This behavior appears to be limited to the virtio-blk back-end. Reported by: Chris M from the bhyve Production User Call --=20 You are receiving this mail because: You are the assignee for the bug.=