Most of the display adapters are emulating old hardware which is not relevant to virtualization use cases.
The clear exceptions are the generic, simple devices that should be considered secure: Bochs, RAMFB, VGA (PCI, not MMIO / ISA). Signed-off-by: Daniel P. Berrangé <[email protected]> --- hw/display/bochs-display.c | 1 + hw/display/ramfb-standalone.c | 1 + hw/display/vga-pci.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/hw/display/bochs-display.c b/hw/display/bochs-display.c index 64e669429c4..5f3ba80f990 100644 --- a/hw/display/bochs-display.c +++ b/hw/display/bochs-display.c @@ -374,6 +374,7 @@ static const TypeInfo bochs_display_type_info = { .instance_size = sizeof(BochsDisplayState), .instance_init = bochs_display_init, .class_init = bochs_display_class_init, + .secure = true, .interfaces = (const InterfaceInfo[]) { { INTERFACE_PCIE_DEVICE }, { INTERFACE_CONVENTIONAL_PCI_DEVICE }, diff --git a/hw/display/ramfb-standalone.c b/hw/display/ramfb-standalone.c index 8e8ba37514a..9427009acc8 100644 --- a/hw/display/ramfb-standalone.c +++ b/hw/display/ramfb-standalone.c @@ -85,6 +85,7 @@ static const TypeInfo ramfb_info = { .parent = TYPE_DYNAMIC_SYS_BUS_DEVICE, .instance_size = sizeof(RAMFBStandaloneState), .class_init = ramfb_class_initfn, + .secure = true, }; static void ramfb_register_types(void) diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index d089847bdae..8559d7aa8f0 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -407,6 +407,7 @@ static const TypeInfo vga_info = { .name = "VGA", .parent = TYPE_PCI_VGA, .class_init = vga_class_init, + .secure = true, }; static const TypeInfo secondary_info = { @@ -414,6 +415,7 @@ static const TypeInfo secondary_info = { .parent = TYPE_PCI_VGA, .instance_init = pci_secondary_vga_init, .class_init = secondary_class_init, + .secure = true, }; static void vga_register_types(void) -- 2.56.0
