diff options
author | Sascha Silbe <silbe@linux.vnet.ibm.com> | 2016-06-15 17:16:05 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-07-11 09:48:05 +0200 |
commit | cf2499350aa4f2b6bdd30792cdf0b7f264fbcb36 (patch) | |
tree | 6ec0ac8db8d6298389ad35af3cf354a40dc21c0d /hw/s390x/virtio-ccw.h | |
parent | bb0995468a39f14077ceaa8ed5afdca849f00c7c (diff) |
s390x/css: factor out some generic code from virtio_ccw_device_realize()
A lot of what virtio_ccw_device_realize() does isn't specific to
virtio; it would apply to emulated CCW as well. Factor it out to make
it easier to implement emulated CCW devices later on.
Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.h')
-rw-r--r-- | hw/s390x/virtio-ccw.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/s390x/virtio-ccw.h b/hw/s390x/virtio-ccw.h index 0bfb5d93c6..7243fb08be 100644 --- a/hw/s390x/virtio-ccw.h +++ b/hw/s390x/virtio-ccw.h @@ -27,8 +27,6 @@ #include <hw/s390x/s390_flic.h> #include <hw/s390x/css.h> -#define VIRTUAL_CSSID 0xfe - #define VIRTIO_CCW_CU_TYPE 0x3832 #define VIRTIO_CCW_CHPID_TYPE 0x32 |