[libvirt] [PATCHv3 0/3] S390: Finish support for native CCW bus

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Mon Feb 11 22:55:43 UTC 2013


Originally, QEMU did not implement a native I/O bus for s390.
The initial implementation had a machine type 's390-virtio'
featuring a fully paravirtualized I/O system with an artificial
bus type 'virtio-s390'.
This bus had a number of short-comings, like the need for a
non-standard device discovery mechanism, a limited number
of devices, limited hotplugging capabilites and the lack
of persistent device addresses.
To resolve these issues a new machine type 's390-ccw-virtio' 
has been recently added to QEMU which implementa the native
s390 CCW I/O bus.
Guests with arch='s390x' and machine='s390-ccw-virtio' can
now be defined with up to 262144 virtio devices.

This series adds the support for the s390-ccw-virtio
machine type and the CCW bus to libvirt. 

V2 Changes
 - use an attribute triple cssid, ssid, schid instead of devno
   to better represent the libvirt CCW address structure
 - rebase to current upstream, mainly address qemuCapsXXX rename

V3 Changes
 - skip already acked patches 1/5 and 2/5
 - revert machine-based capabilities
 - use machine definition from domain object

J.B. Joret (1):
  S390: Add hotplug support for s390 virtio devices

Viktor Mihajlovski (2):
  S390: QEMU driver support for CCW addresses
  S390: Testcases for virtio-ccw machines

 src/qemu/qemu_capabilities.c                       |    7 +-
 src/qemu/qemu_capabilities.h                       |    1 +
 src/qemu/qemu_command.c                            |  280 ++++++++++++++++++--
 src/qemu/qemu_command.h                            |    6 +
 src/qemu/qemu_domain.c                             |    1 +
 src/qemu/qemu_domain.h                             |    3 +
 src/qemu/qemu_driver.c                             |    6 +-
 src/qemu/qemu_hotplug.c                            |  154 +++++++----
 src/qemu/qemu_hotplug.h                            |   14 +-
 src/qemu/qemu_process.c                            |    3 +
 .../qemuxml2argv-console-virtio-ccw.args           |   10 +
 .../qemuxml2argv-console-virtio-ccw.xml            |   27 ++
 .../qemuxml2argv-console-virtio-s390.args          |    4 +-
 .../qemuxml2argv-console-virtio-s390.xml           |    2 +-
 .../qemuxml2argv-disk-virtio-ccw-many.args         |   12 +
 .../qemuxml2argv-disk-virtio-ccw-many.xml          |   40 +++
 .../qemuxml2argv-disk-virtio-ccw.args              |    8 +
 .../qemuxml2argv-disk-virtio-ccw.xml               |   30 +++
 .../qemuxml2argv-net-virtio-ccw.args               |    8 +
 .../qemuxml2argv-net-virtio-ccw.xml                |   30 +++
 tests/qemuxml2argvtest.c                           |   12 +-
 tests/testutilsqemu.c                              |    3 +-
 22 files changed, 578 insertions(+), 83 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-virtio-ccw.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-virtio-ccw.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw-many.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw-many.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-virtio-ccw.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-virtio-ccw.xml

-- 
1.7.9.5




More information about the libvir-list mailing list