From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 1334F953E3 for ; Wed, 1 Mar 2023 10:13:18 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E973DFBC3 for ; Wed, 1 Mar 2023 10:12:47 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 1 Mar 2023 10:12:46 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 6C1E748D3E for ; Wed, 1 Mar 2023 10:12:46 +0100 (CET) From: Leo Nunner To: pve-devel@lists.proxmox.com Date: Wed, 1 Mar 2023 10:12:28 +0100 Message-Id: <20230301091229.53505-4-l.nunner@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230301091229.53505-1-l.nunner@proxmox.com> References: <20230301091229.53505-1-l.nunner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.135 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH docs] fix #4068: document fw_cfg parameter X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2023 09:13:18 -0000 Signed-off-by: Leo Nunner --- qm.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/qm.adoc b/qm.adoc index bd535a2..0c587ad 100644 --- a/qm.adoc +++ b/qm.adoc @@ -1139,6 +1139,24 @@ http://localhost:9843 in a browser in the guest. It can help to restart the SPICE session. +[[qm_fw_cfg]] +QEMU Firmware Configuration +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +QEMU allows passing values to the guest via the 'fw_cfg' parameter. Settings +are defined on a key/value basis, where the key follows a directory-like structure: + +---- +opt/com.proxmox/test1=local:snippets/config.txt +opt/com.proxmox/test2=foobar +---- + +These settings can be edited in the GUI via 'Options' -> 'QEMU Firmware Configuration'. +User-supplied keys *must* be prefixed with `opt/` and are recommended to start with a +reverse fully qualified domain name. `opt/ovmf/` and `opt/org.qemu/` are reserved for +internal use by QEMU and should not be set. Setting a value in the format +`storage:snippets/file` causes the contents of the file to be included for the key. + [[qm_migration]] Migration --------- -- 2.30.2