qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-1.5 v2 0/5] virtio: fix bus command line compatibility.
@ 2013-04-30 14:08 fred.konrad
  2013-04-30 14:08 ` [Qemu-devel] [PATCH for-1.5 v2 1/5] virtio-x-bus: force bus name to virtio-bus fred.konrad
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: fred.konrad @ 2013-04-30 14:08 UTC (permalink / raw)
  To: aliguori, qemu-devel
  Cc: peter.maydell, Libaiqing, Michal Privoznik, mark.burton, agraf,
	amit.shah, cornelia.huck, pbonzini, afaerber, fred.konrad

From: KONRAD Frederic <fred.konrad@greensocs.com>

Cc: Libaiqing <libaiqing@huawei.com>
Cc: Michal Privoznik <mprivozn@redhat.com>

This fixes the bus name for virtio-serial-device and virtio-scsi-device.

The bus name for virtio-serial-device and virtio-scsi-device is not "id.0" as it
was the case before the refactoring.

This trigger the error:

qemu-system-xxx -device virtio-serial-pci,id=virtio-serial0
                -device virtserialport,bus=virtio-serial0.0

Bus 'virtio-serial0.0' is full
Bus 'virtio-serial0.0' not found

So this sets the name of those bus before the virtio-device's init.

KONRAD Frederic (5):
  virtio-x-bus: force bus name to virtio-bus.
  virtio: add virtio_device_set_child_bus_name.
  scsi: add bus_name parameter to scsi_bus_new.
  virtio-serial: fix command line compatibility.
  virtio-scsi: fix the command line compatibility.

 hw/char/virtio-serial-bus.c     |  3 ++-
 hw/s390x/s390-virtio-bus.c      | 28 +++++++++++++++++++++++++++-
 hw/s390x/virtio-ccw.c           | 28 +++++++++++++++++++++++++++-
 hw/scsi/esp-pci.c               |  2 +-
 hw/scsi/esp.c                   |  2 +-
 hw/scsi/lsi53c895a.c            |  2 +-
 hw/scsi/megasas.c               |  2 +-
 hw/scsi/scsi-bus.c              |  5 +++--
 hw/scsi/spapr_vscsi.c           |  2 +-
 hw/scsi/virtio-scsi.c           |  3 ++-
 hw/scsi/vmw_pvscsi.c            |  2 +-
 hw/usb/dev-storage.c            |  4 ++--
 hw/usb/dev-uas.c                |  2 +-
 hw/virtio/virtio-pci.c          | 29 ++++++++++++++++++++++++++++-
 hw/virtio/virtio.c              | 24 ++++++++++++++++++++++++
 include/hw/scsi/scsi.h          |  3 ++-
 include/hw/virtio/virtio-scsi.h |  1 -
 include/hw/virtio/virtio.h      |  4 ++++
 18 files changed, 128 insertions(+), 18 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-03 19:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-30 14:08 [Qemu-devel] [PATCH for-1.5 v2 0/5] virtio: fix bus command line compatibility fred.konrad
2013-04-30 14:08 ` [Qemu-devel] [PATCH for-1.5 v2 1/5] virtio-x-bus: force bus name to virtio-bus fred.konrad
2013-04-30 14:08 ` [Qemu-devel] [PATCH for-1.5 v2 2/5] virtio: add virtio_device_set_child_bus_name fred.konrad
2013-04-30 14:08 ` [Qemu-devel] [PATCH for-1.5 v2 3/5] scsi: add bus_name parameter to scsi_bus_new fred.konrad
2013-04-30 14:13   ` Paolo Bonzini
2013-04-30 14:08 ` [Qemu-devel] [PATCH for-1.5 v2 4/5] virtio-serial: fix command line compatibility fred.konrad
2013-04-30 14:08 ` [Qemu-devel] [PATCH for-1.5 v2 5/5] virtio-scsi: fix the " fred.konrad
2013-05-02 13:40 ` [Qemu-devel] [PATCH for-1.5 v2 0/5] virtio: fix bus " Cornelia Huck
2013-05-02 14:05   ` KONRAD Frédéric
2013-05-03 18:59 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).