From fbf60ea4886b97143995531f8ab2999eac0be236 Mon Sep 17 00:00:00 2001 From: rusty Date: Wed, 25 Sep 2013 04:43:00 +0000 Subject: 2.3.3 virtio-ccw: Add secondary indicators. Ported from draft commit e945661b40bcfd29efc35dfa73465bcc960bd20b. Issue VIRTIO-29, approved OASIS meeting 2013-09-24. Signed-off-by: Cornelia Huck git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@42 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- virtio-v1.0-wd01-part1-specification.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/virtio-v1.0-wd01-part1-specification.txt b/virtio-v1.0-wd01-part1-specification.txt index 21928ec..73bef98 100644 --- a/virtio-v1.0-wd01-part1-specification.txt +++ b/virtio-v1.0-wd01-part1-specification.txt @@ -1165,6 +1165,7 @@ virtio: #define CCW_CMD_SET_VQ 0x13 #define CCW_CMD_VDEV_RESET 0x33 #define CCW_CMD_SET_IND 0x43 +#define CCW_CMD_SET_CONF_IND 0x53 #define CCW_CMD_READ_FEAT 0x12 #define CCW_CMD_WRITE_FEAT 0x11 #define CCW_CMD_READ_CONF 0x22 @@ -1262,6 +1263,11 @@ To communicate the location of the indicator bits for host->guest notification, the guest uses the CCW_CMD_SET_IND command which sends the guest address of the indicators in a 64 bit value. +For the indicator bits used in the configuration change +host->guest notification, the CCW_CMD_SET_CONF_IND command is +used analogously. + + 2.3.3.3. Device Operation ------------------------- @@ -1273,6 +1279,10 @@ corresponding bit in the guest-provided indicators. If an interrupt is not already pending for the subchannel, the host generates an unsolicited I/O interrupt. +If the host wants to notify the guest about configuration +changes, it sets bit 0 in the configuration indicators and +generates an unsolicited I/O interrupt, if needed. + 2.3.3.3.2. Guest->Host Notification ----------------------------------- -- cgit v1.2.3