virtio-ccw: common reset handler
commit0c53057adb04d254bc09511880670c92ab185fc6
authorCornelia Huck <cohuck@redhat.com>
Mon, 7 May 2018 13:05:42 +0000 (7 15:05 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 14 May 2018 15:10:02 +0000 (14 17:10 +0200)
treea580a0e67ad80fca9371807387c853773a38e4a7
parenta6e4385dea94850d7b06b0542e7960c1063fdabd
virtio-ccw: common reset handler

All the different virtio ccw devices use the same reset handler,
so let's move setting it into the base virtio ccw device class.

CC: qemu-stable@nongnu.org
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/virtio-ccw.c