[libvirt] [PATCH 08/14] qemu: Support usb-serial and pci-serial on pSeries

Pavel Hrdina phrdina at redhat.com
Thu Nov 16 13:23:14 UTC 2017


On Wed, Nov 15, 2017 at 12:50:11PM +0100, Andrea Bolognani wrote:
> The existing implementation set the address type for all serial
> devices to spapr-vio, which made it impossible to use other devices
> such as usb-serial and pci-serial; moreover, some decisions were
> made based on the address type rather than the device type.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1512934
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  src/qemu/qemu_command.c                            |  9 -------
>  src/qemu/qemu_domain_address.c                     |  3 ++-
>  .../qemuxml2argv-pseries-serial-pci.args           | 22 ++++++++++++++++
>  .../qemuxml2argv-pseries-serial-pci.xml            | 18 +++++++++++++
>  .../qemuxml2argv-pseries-serial-usb.args           | 23 +++++++++++++++++
>  .../qemuxml2argv-pseries-serial-usb.xml            | 21 +++++++++++++++
>  tests/qemuxml2argvtest.c                           |  7 +++++
>  .../qemuxml2xmlout-pseries-serial-pci.xml          | 29 +++++++++++++++++++++
>  .../qemuxml2xmlout-pseries-serial-usb.xml          | 30 ++++++++++++++++++++++
>  tests/qemuxml2xmltest.c                            |  7 +++++
>  10 files changed, 159 insertions(+), 10 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-pci.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-pci.xml
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-usb.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-serial-usb.xml
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-serial-pci.xml
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-serial-usb.xml

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171116/534f3cee/attachment-0001.sig>


More information about the libvir-list mailing list