aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-10-27 13:52:13 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-09 08:43:02 -0600
commit39a51dfda835a75c0ebbfd92705b96e4de77f795 (patch)
treee2715046d40d9c354980cb1a404759c8b7625bfe /hw/ide
parentc79662f7f765a0e6cb7aa26902cc8d61f9022dd5 (diff)
downloadqemu-39a51dfda835a75c0ebbfd92705b96e4de77f795.zip
qemu-39a51dfda835a75c0ebbfd92705b96e4de77f795.tar.gz
qemu-39a51dfda835a75c0ebbfd92705b96e4de77f795.tar.bz2
qdev: Tag isa-fdc, PIIX3 IDE and PIIX4 IDE as no-user
These devices are created automatically, and attempting to create another one with -device fails with "qemu: hardware error: register_ioport_write: invalid opaque". Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/piix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index 8958d56..a4756e0 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 */