diff options
author | Alexander Graf | 2010-04-01 18:42:40 +0200 |
---|---|---|
committer | Aurelien Jarno | 2010-04-09 22:06:22 +0200 |
commit | baf0b55a9e57b909b1f8b0f732c0b10242867418 (patch) | |
tree | a700a4fea9c5a50eacea8a0052c4211c135720d6 /hw/s390-virtio-bus.h | |
parent | Always notify consumers of char devices if they're open (diff) | |
download | qemu-baf0b55a9e57b909b1f8b0f732c0b10242867418.tar.gz qemu-baf0b55a9e57b909b1f8b0f732c0b10242867418.tar.xz qemu-baf0b55a9e57b909b1f8b0f732c0b10242867418.zip |
Implement virtio reset
The guest may issue a RESET command for virtio. So far we didn't bother
to implement it, but with my new bootloader we actually need it for Linux
to get back to a safe state.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/s390-virtio-bus.h')
-rw-r--r-- | hw/s390-virtio-bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390-virtio-bus.h b/hw/s390-virtio-bus.h index 0ea8f54745..333fea8963 100644 --- a/hw/s390-virtio-bus.h +++ b/hw/s390-virtio-bus.h @@ -65,3 +65,4 @@ extern VirtIOS390Device *s390_virtio_bus_find_vring(VirtIOS390Bus *bus, int *vq_num); extern VirtIOS390Device *s390_virtio_bus_find_mem(VirtIOS390Bus *bus, ram_addr_t mem); +extern void s390_virtio_device_sync(VirtIOS390Device *dev); |