aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMichael Roth <michael.roth@amd.com>2024-05-30 06:16:40 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-05 11:01:06 +0200
commitfc7a69e177e4ba26d11fcf47b853f85115b35a11 (patch)
tree14522fe69343ebc53cad6209e7d0df3b5202b5f4 /system
parent413a67450750e0459efeffc3db3ba9759c3e381c (diff)
downloadqemu-fc7a69e177e4ba26d11fcf47b853f85115b35a11.zip
qemu-fc7a69e177e4ba26d11fcf47b853f85115b35a11.tar.gz
qemu-fc7a69e177e4ba26d11fcf47b853f85115b35a11.tar.bz2
hw/i386: Add support for loading BIOS using guest_memfd
When guest_memfd is enabled, the BIOS is generally part of the initial encrypted guest image and will be accessed as private guest memory. Add the necessary changes to set up the associated RAM region with a guest_memfd backend to allow for this. Current support centers around using -bios to load the BIOS data. Support for loading the BIOS via pflash requires additional enablement since those interfaces rely on the use of ROM memory regions which make use of the KVM_MEM_READONLY memslot flag, which is not supported for guest_memfd-backed memslots. Signed-off-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Pankaj Gupta <pankaj.gupta@amd.com> Message-ID: <20240530111643.1091816-29-pankaj.gupta@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions