These have a long history of usage in virtualization scenarios on x86, for OS which lack modern virtio drivers for storage, and thus must be considered secure.
Reviewed-by: Thomas Huth <[email protected]> Acked-by: Marc-André Lureau <[email protected]> Signed-off-by: Daniel P. Berrangé <[email protected]> --- hw/ide/ich.c | 1 + hw/ide/ide-dev.c | 2 ++ hw/ide/piix.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/hw/ide/ich.c b/hw/ide/ich.c index b00987f08d4..c7d50a15c1a 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -198,6 +198,7 @@ static const TypeInfo ich_ahci_info = { .instance_size = sizeof(AHCIPCIState), .instance_init = pci_ich9_ahci_init, .class_init = ich_ahci_class_init, + .secure = true, .interfaces = (const InterfaceInfo[]) { { INTERFACE_CONVENTIONAL_PCI_DEVICE }, { }, diff --git a/hw/ide/ide-dev.c b/hw/ide/ide-dev.c index 94b91478928..3e9ca6e340f 100644 --- a/hw/ide/ide-dev.c +++ b/hw/ide/ide-dev.c @@ -215,6 +215,7 @@ static const TypeInfo ide_hd_info = { .parent = TYPE_IDE_DEVICE, .instance_size = sizeof(IDEDrive), .class_init = ide_hd_class_init, + .secure = true, }; static const Property ide_cd_properties[] = { @@ -237,6 +238,7 @@ static const TypeInfo ide_cd_info = { .parent = TYPE_IDE_DEVICE, .instance_size = sizeof(IDEDrive), .class_init = ide_cd_class_init, + .secure = true, }; static void ide_device_class_init(ObjectClass *klass, const void *data) diff --git a/hw/ide/piix.c b/hw/ide/piix.c index a8472f3e581..9b7b5e98c8c 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -198,6 +198,7 @@ static const TypeInfo piix3_ide_info = { .name = TYPE_PIIX3_IDE, .parent = TYPE_PCI_IDE, .class_init = piix3_ide_class_init, + .secure = true, }; /* NOTE: for the PIIX4, the IRQs and IOports are hardcoded */ @@ -221,6 +222,7 @@ static const TypeInfo piix4_ide_info = { .name = TYPE_PIIX4_IDE, .parent = TYPE_PCI_IDE, .class_init = piix4_ide_class_init, + .secure = true, }; static void piix_ide_register_types(void) -- 2.56.1
