summary refs log tree commit diff stats
path: root/hw/mips_r4k.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/mips_r4k.c
parent9a43dba0d6ae6d15b7344a073594a44f33a43721 (diff)
downloadfocaccia-qemu-feef310217d4935e41f5ff5751f7c43e8d6403d3.tar.gz
focaccia-qemu-feef310217d4935e41f5ff5751f7c43e8d6403d3.zip
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/mips_r4k.c')
0 files changed, 0 insertions, 0 deletions