On 16/11/26 19:06, Daniel P. Berrangé wrote:
On Mon, Nov 16, 2026 at 02:36:39PM +0100, Philippe Mathieu-Daudé wrote:
On 13/11/26 19:42, Daniel P. Berrangé wrote:
These are needed as a baseline feature for many virtualization use
cases on x86, PPC64 and s390x.
Acked-by: Marc-André Lureau <[email protected]>
Acked-by: Cornelia Huck <[email protected]> #sclpconsole(-lm)
Signed-off-by: Daniel P. Berrangé <[email protected]>
---
hw/char/debugcon.c | 1 +
hw/char/sclpconsole-lm.c | 1 +
hw/char/sclpconsole.c | 1 +
hw/char/serial-isa.c | 1 +
hw/char/serial-pci.c | 1 +
hw/char/serial.c | 1 +
hw/char/spapr_vty.c | 1 +
7 files changed, 7 insertions(+)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index a1b370b90be..f38ce7b765e 100644
--- a/hw/char/debugcon.c
+++ b/hw/char/debugcon.c
@@ -134,6 +134,7 @@ static const TypeInfo debugcon_isa_info = {
.parent = TYPE_ISA_DEVICE,
.instance_size = sizeof(ISADebugconState),
.class_init = debugcon_isa_class_initfn,
+ .secure = true,
};
What is the rationale for using the debug console in virtualization?
SeaBIOS/EFI are in the virtualization use and the debugcon is how
you get logs out of them to figure out what's gone wrong when they
break. IMHO that makes it worthwhile to include, and as a device,
it is simple enough that it isn't likely to give us a security
burden.
OK, fine then, thanks.