]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
S390: QEMU driver support for CCW addresses
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Tue, 5 Mar 2013 15:44:21 +0000 (16:44 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 13 Mar 2013 23:14:38 +0000 (17:14 -0600)
commit608512b24a89d9865e402905b2dbbfd1c8a0e83e
treec3acbdaed7db194358ea31a7eadf45d961a49ba4
parente50a1bae9babd611b0d004ae63273b3a794f4a73
S390: QEMU driver support for CCW addresses

This commit adds the QEMU driver support for CCW addresses. The
current QEMU only allows virtio devices to be attached to the
CCW bus. We named the new capability indicating that support
QEMU_CAPS_VIRTIO_CCW accordingly.

The fact that CCW devices can only be assigned to domains with a
machine type of s390-ccw-virtio requires a few extra checks for
machine type in qemu_command.c on top of querying
QEMU_CAPS_VIRTIO_{CCW|S390}.

The majority of the new functions deals with CCW address generation
and management.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c