diff options
author | Peter Xu <peterx@redhat.com> | 2018-01-22 14:02:41 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-07 14:09:24 +0100 |
commit | 0750b060216de69ed1f14bc08181bf4ad27fc622 (patch) | |
tree | e0ef7e6b2cb58054e972333a305902ddc7a8f7e6 /hw/virtio/trace-events | |
parent | d83414e1fd1941ca8228b5cf6a06697bd1ff7f83 (diff) | |
download | qemu-0750b060216de69ed1f14bc08181bf4ad27fc622.zip qemu-0750b060216de69ed1f14bc08181bf4ad27fc622.tar.gz qemu-0750b060216de69ed1f14bc08181bf4ad27fc622.tar.bz2 |
vhost: add traces for memory listeners
Trace these operations on two memory listeners. It helps to verify the
new memory listener fix, and good to keep them there.
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180122060244.29368-2-peterx@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/virtio/trace-events')
-rw-r--r-- | hw/virtio/trace-events | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/virtio/trace-events b/hw/virtio/trace-events index 775461a..2b8f81e 100644 --- a/hw/virtio/trace-events +++ b/hw/virtio/trace-events @@ -25,3 +25,9 @@ virtio_balloon_handle_output(const char *name, uint64_t gpa) "section name: %s g virtio_balloon_get_config(uint32_t num_pages, uint32_t actual) "num_pages: %d actual: %d" virtio_balloon_set_config(uint32_t actual, uint32_t oldactual) "actual: %d oldactual: %d" virtio_balloon_to_target(uint64_t target, uint32_t num_pages) "balloon target: 0x%"PRIx64" num_pages: %d" + +# hw/virtio/vhost.c +vhost_region_add(void *p, const char *mr) "dev %p mr %s" +vhost_region_del(void *p, const char *mr) "dev %p mr %s" +vhost_iommu_region_add(void *p, const char *mr) "dev %p mr %s" +vhost_iommu_region_del(void *p, const char *mr) "dev %p mr %s" |