qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-1.5 v2 0/5] virtio: fix bus command line com


From: KONRAD Frédéric
Subject: Re: [Qemu-devel] [PATCH for-1.5 v2 0/5] virtio: fix bus command line compatibility.
Date: Thu, 02 May 2013 16:05:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 02/05/2013 15:40, Cornelia Huck wrote:
On Tue, 30 Apr 2013 16:08:46 +0200
address@hidden wrote:

From: KONRAD Frederic <address@hidden>

Cc: Libaiqing <address@hidden>
Cc: Michal Privoznik <address@hidden>

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
Seems to look sane on s390-virtio and virtio-ccw.

Tested-by: Cornelia Huck <address@hidden>

Thanks for that :).

Fred

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]