summaryrefslogtreecommitdiff
path: root/hw/ide/isa.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-15 20:04:24 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-15 20:04:24 +0000
commitfeef310217d4935e41f5ff5751f7c43e8d6403d3 (patch)
treea9b755fd52eb6c11aacd63e03293e7962e72f591 /hw/ide/isa.c
parent9a43dba0d6ae6d15b7344a073594a44f33a43721 (diff)
downloadqemu-feef310217d4935e41f5ff5751f7c43e8d6403d3.tar.gz
ide/pci: convert to qdev.
With this patch applied ide drives (when attached to a pci adapter) can be created via -device, like this: -drive if=none,id=mydisk,file=/path/to/disk.img -device ide-drive,drive=mydisk,bus=ide.0,unit=0 Note that creating a master on ide1 doesn't work that way. That is a side effect of qemu creating a cdrom automagically even if you don't ask for it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ide/isa.c')
0 files changed, 0 insertions, 0 deletions