aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-08-05 08:55:43 +0200
committerCédric Le Goater <clg@redhat.com>2025-08-09 00:06:48 +0200
commitd9f4b45713e4e000a42ed1f33cb06b806173b559 (patch)
treeb21319706cdd6b0409db932c192c34bf3e08f325
parent322ee16824dc3d301477812a5dacb0249e1efe8c (diff)
downloadqemu-d9f4b45713e4e000a42ed1f33cb06b806173b559.zip
qemu-d9f4b45713e4e000a42ed1f33cb06b806173b559.tar.gz
qemu-d9f4b45713e4e000a42ed1f33cb06b806173b559.tar.bz2
vfio: Document 'use-legacy-x86-rom' property
Commit 350785d41d8b ("ramfb: Add property to control if load the romfile") introduced the `use-legacy-x86-rom` property for the `vfio-pci-nohotplug` device. Add documentation for the property. Fixes: d5fcf0d960d8 ("hw/i386: Add the ramfb romfile compatibility") Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Link: https://lore.kernel.org/qemu-devel/20250805065543.120091-1-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r--hw/vfio/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index d5ea4a5..07257d0 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -3901,6 +3901,9 @@ static void vfio_pci_nohotplug_dev_class_init(ObjectClass *klass,
"x-ramfb-migrate",
"Override default migration support for ramfb support "
"(DEBUG)");
+ object_class_property_set_description(klass, /* 10.1 */
+ "use-legacy-x86-rom",
+ "Controls loading of a legacy VGA BIOS ROM");
}
static const TypeInfo vfio_pci_nohotplug_dev_info = {