qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-1.5 0/4] virtio: fix bus command line compatibility.
@ 2013-04-29 15:12 fred.konrad
  2013-04-29 15:12 ` [Qemu-devel] [PATCH for-1.5 1/4] virtio-x-bus: force bus name to virtio-bus fred.konrad
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: fred.konrad @ 2013-04-29 15:12 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 series fix 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 series set the name of those bus before the virtio-device's init.

KONRAD Frederic (4):
  virtio-x-bus: force bus name to virtio-bus.
  virtio-serial: fix command line compatibility.
  scsi: add scsi_named_bus_new().
  virtio-scsi: fix the command line compatibility.

 hw/char/virtio-serial-bus.c       | 16 +++++++++++++++-
 hw/s390x/s390-virtio-bus.c        | 22 +++++++++++++++++++++-
 hw/s390x/virtio-ccw.c             | 22 +++++++++++++++++++++-
 hw/scsi/scsi-bus.c                | 12 +++++++++---
 hw/scsi/virtio-scsi.c             | 14 +++++++++++++-
 hw/virtio/virtio-pci.c            | 23 ++++++++++++++++++++++-
 include/hw/scsi/scsi.h            |  2 ++
 include/hw/virtio/virtio-scsi.h   |  7 +++++++
 include/hw/virtio/virtio-serial.h |  8 ++++++++
 9 files changed, 118 insertions(+), 8 deletions(-)

-- 
1.8.1.4

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

end of thread, other threads:[~2013-04-30 14:18 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29 15:12 [Qemu-devel] [PATCH for-1.5 0/4] virtio: fix bus command line compatibility fred.konrad
2013-04-29 15:12 ` [Qemu-devel] [PATCH for-1.5 1/4] virtio-x-bus: force bus name to virtio-bus fred.konrad
2013-04-29 15:12 ` [Qemu-devel] [PATCH for-1.5 2/4] virtio-serial: fix command line compatibility fred.konrad
2013-04-29 15:45   ` Paolo Bonzini
2013-04-29 15:12 ` [Qemu-devel] [PATCH for-1.5 3/4] scsi: add scsi_named_bus_new() fred.konrad
2013-04-29 15:40   ` Paolo Bonzini
2013-04-29 16:15     ` KONRAD Frédéric
2013-04-29 15:12 ` [Qemu-devel] [PATCH for-1.5 4/4] virtio-scsi: fix the command line compatibility fred.konrad
2013-04-29 15:44   ` Paolo Bonzini
2013-04-29 16:28     ` KONRAD Frédéric
2013-04-29 16:32       ` Paolo Bonzini
2013-04-29 17:39         ` KONRAD Frédéric
2013-04-29 17:55           ` Andreas Färber
2013-04-29 18:17             ` KONRAD Frédéric
2013-04-30 13:06     ` KONRAD Frédéric
2013-04-30 14:01       ` Paolo Bonzini
2013-04-30 14:15         ` KONRAD Frédéric
2013-04-30 14:17           ` Paolo Bonzini

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).