mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
virtio-rng: add some trace events
Add some trace events to virtio-rng for easier debugging Signed-off-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
6db8b53866
commit
4ac4458076
2 changed files with 11 additions and 0 deletions
|
@ -41,6 +41,11 @@ virtio_irq(void *vq) "vq %p"
|
|||
virtio_notify(void *vdev, void *vq) "vdev %p vq %p"
|
||||
virtio_set_status(void *vdev, uint8_t val) "vdev %p val %u"
|
||||
|
||||
# hw/virtio/virtio-rng.c
|
||||
virtio_rng_guest_not_ready(void *rng) "rng %p: guest not ready"
|
||||
virtio_rng_pushed(void *rng, size_t len) "rng %p: %zd bytes pushed"
|
||||
virtio_rng_request(void *rng, size_t size, unsigned quota) "rng %p: %zd bytes requested, %u bytes quota left"
|
||||
|
||||
# hw/char/virtio-serial-bus.c
|
||||
virtio_serial_send_control_event(unsigned int port, uint16_t event, uint16_t value) "port %u, event %u, value %u"
|
||||
virtio_serial_throttle_port(unsigned int port, bool throttle) "port %u, throttle %d"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue