From 24aa7f8d11054b7b2e643cf3cd5c80a199764af0 Mon Sep 17 00:00:00 2001 From: Viktor Mihajlovski Date: Fri, 8 Feb 2013 18:32:20 +0100 Subject: [PATCH] S390: Documentation for CCW address type The native bus for s390 I/O is called CCW (channel command word). As QEMU has added basic support for the CCW bus, i.e. the ability to assign CCW devnos (bus addresses) to devices. Domains with the new machine type s390-ccw-virtio can use the CCW bus. Currently QEMU will only allow to define virtio devices on the CCW bus. Here we add the new machine type and the new device address to the schema definition and add a new paragraph to the domain XML documentation. Signed-off-by: Viktor Mihajlovski --- docs/formatdomain.html.in | 14 ++++++++++ docs/schemas/domaincommon.rng | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index c01f564eb3..ffcc33eb04 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -2018,6 +2018,20 @@ of the starting register). Since 0.9.9. +
type='ccw'
+
s390 guests with a machine value of + s390-ccw-virtio use the native CCW bus for I/O devices. + CCW bus addresses have the following additional attributes: + cssid (a hex value between 0 and 0xfe, inclusive), + ssid (a value between 0 and 3, inclusive) and + schid (a hex value between 0 and 0xffff, inclusive). + Partially specified bus addresses are not allowed. + If omitted, libvirt will assign a free bus address with + cssid=0xfe and ssid=0. Virtio devices for s390 must have their + cssid set to 0xfe in order to be recognized by the guest + operating system. + Since 1.0.3. +

Controllers

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 049f232e08..63be4aaebc 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -401,7 +401,10 @@ + s390 s390-virtio + s390-ccw + s390-ccw-virtio @@ -3037,6 +3040,19 @@ + + + + + + + + + + + + + @@ -3469,6 +3485,12 @@ + + + ccw + + + @@ -3856,4 +3878,34 @@ + + + + 0x[0-9a-eA-E][0-9a-fA-F]? + + + 0x[fF][0-9a-eA-E]? + + + 0 + 254 + + + + + + (0x)?[0-3] + + + + + + 0x[0-9a-fA-F]{1,4} + + + 0 + 65535 + + +