summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/fdc.c1
-rw-r--r--hw/ide/piix.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index 06f3a2cb99..d2bfa71d8f 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1997,6 +1997,7 @@ static ISADeviceInfo isa_fdc_info = {
     .init = isabus_fdc_init1,
     .qdev.name  = "isa-fdc",
     .qdev.size  = sizeof(fdctrl_isabus_t),
+    .qdev.no_user = 1,
     .qdev.vmsd  = &vmstate_fdc,
     .qdev.reset = fdctrl_external_reset_isa,
     .qdev.props = (Property[]) {
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index 8958d56a5c..a4756e0f27 100644
--- a/hw/ide/piix.c
+++ b/hw/ide/piix.c
@@ -179,10 +179,12 @@ static PCIDeviceInfo piix_ide_info[] = {
     {
         .qdev.name    = "PIIX3 IDE",
         .qdev.size    = sizeof(PCIIDEState),
+        .qdev.no_user = 1,
         .init         = pci_piix3_ide_initfn,
     },{
         .qdev.name    = "PIIX4 IDE",
         .qdev.size    = sizeof(PCIIDEState),
+        .qdev.no_user = 1,
         .init         = pci_piix4_ide_initfn,
     },{
         /* end of list */