]> git.proxmox.com Git - qemu.git/commit
Support addr=... in option argument of -drive if=virtio
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 18 Jun 2009 13:14:10 +0000 (15:14 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Jun 2009 15:15:29 +0000 (10:15 -0500)
commitc2cc47a449c3e16f7dd4d19a536c649ec56a9ac9
tree77920d6d5fd89eb2d8513b49c1205a3656b28429
parent1f5f6638c063514f193ca447d49fa95f8a574a69
Support addr=... in option argument of -drive if=virtio

Make drive_init() accept addr=, put the value into struct DriveInfo.
Use it in all the places that create virtio-blk-pci devices:
pc_init1(), bamboo_init(), mpc8544ds_init().

Don't support addr= in third argument of monitor command pci_add and
second argument of drive_add, because that clashes with their first
arguments.  Admittedly unelegant.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
hw/pci-hotplug.c
hw/ppc440_bamboo.c
hw/ppce500_mpc8544ds.c
qemu-options.hx
sysemu.h
vl.c