diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-06-23 15:46:31 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-06-30 09:34:57 +0200 |
commit | fa8b0ca5d1b69975b715a259d3586cadf7a5280f (patch) | |
tree | cceb712e11b2c158f334cadf2d12cdf2f0e5053b /target-alpha | |
parent | d2966f804d70a244f5dde395fc5d22a50ed3e74e (diff) |
virtio-ccw: complete handling of guest-initiated resets
For a guest-initiated reset, we need to not only reset the virtio device,
but also reset the VirtioCcwDevice into a clean state. This includes
resetting the indicators, or else a guest will not be able to e.g.
switch from classic interrupts to adapter interrupts.
Split off this routine into a new function virtio_ccw_reset_virtio()
to make the distinction between resetting the virtio-related devices
and the base subchannel device clear.
CC: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-alpha')
0 files changed, 0 insertions, 0 deletions