diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-15 20:04:24 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-15 20:04:24 +0000 |
commit | feef310217d4935e41f5ff5751f7c43e8d6403d3 (patch) | |
tree | a9b755fd52eb6c11aacd63e03293e7962e72f591 /ioport.h | |
parent | 9a43dba0d6ae6d15b7344a073594a44f33a43721 (diff) | |
download | hqemu-feef310217d4935e41f5ff5751f7c43e8d6403d3.zip hqemu-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 'ioport.h')
0 files changed, 0 insertions, 0 deletions