]> git.proxmox.com Git - qemu.git/commit - hw/virtio.c
trace: add virtio_set_status() trace event
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 13 Sep 2011 12:34:37 +0000 (13:34 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Sep 2011 15:14:24 +0000 (15:14 +0000)
commit4e1837f855b88fdced2941b17509e13b0c8fa518
tree55a661085c835405fed67c2d2731b62417d8addf
parent689d7e2fadb27d696528eb1f86eb3e3e19e07761
trace: add virtio_set_status() trace event

The virtio device lifecycle can be observed by looking at the sequence
of set status operations.  This is especially important for catching the
reset operation (status value 0), which resets the device and all
virtqueues.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/virtio.c
hw/virtio.h
trace-events