commit | feef310217d4935e41f5ff5751f7c43e8d6403d3 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Tue Sep 15 20:04:24 2009 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Tue Sep 15 20:04:24 2009 +0000 |
tree | a9b755fd52eb6c11aacd63e03293e7962e72f591 | |
parent | 9a43dba0d6ae6d15b7344a073594a44f33a43721 [diff] |
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>