mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
c79662f7f7
commit
39a51dfda8
2 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue