On 29/10/2026 14.12, Daniel P. Berrangé wrote:
Most of the display adapters are emulating old hardware which is not
relevant to virtualization use cases. The previous commit added the
generic, simple devices.
This proposes two further devices based on their historical widespread
usage in virtualization use cases.
Cirrus (PCI, not ISA) was the recommended default for x86 for an
incredibly long time and while it is now discouraged, it is likely
to still be in common use.
QXL was the recommended default to be used with SPICE, which is designed
to service virtualization use cases and is still commonly shipped by
many distros and often used by default in mgmt apps still.
Signed-off-by: Daniel P. Berrangé <[email protected]>
---
hw/display/cirrus_vga.c | 1 +
hw/display/qxl.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c
index 0a8c74e1374..8232c5c4687 100644
--- a/hw/display/cirrus_vga.c
+++ b/hw/display/cirrus_vga.c
@@ -3013,6 +3013,7 @@ static const TypeInfo cirrus_vga_info = {
.parent = TYPE_PCI_DEVICE,
.instance_size = sizeof(PCICirrusVGAState),
.class_init = cirrus_vga_class_init,
+ .secure = true,
.interfaces = (const InterfaceInfo[]) {
{ INTERFACE_CONVENTIONAL_PCI_DEVICE },
{ },
Considering that the cirrus card also had a bunch of security-related bugs
already and nobody is really in the mood of maintaining this anymore, I'd
rather not mark this as secure. I'd recommend to rather drop this patch.
With regards to qxl, maybe better also omit this for now 'til we've got a
proper maintainer for this again.
Thomas