diff options
author | Paul Durrant | 2019-09-13 10:21:57 +0200 |
---|---|---|
committer | Anthony PERARD | 2019-09-24 13:18:47 +0200 |
commit | d198b711f9ff9032d7270d78d5b5b17abf740e75 (patch) | |
tree | 22ff2e81fff1bb813e007e90cc86016aa4ea880c /hw/xen/trace-events | |
parent | xen / notify: introduce a new XenWatchList abstraction (diff) | |
download | qemu-d198b711f9ff9032d7270d78d5b5b17abf740e75.tar.gz qemu-d198b711f9ff9032d7270d78d5b5b17abf740e75.tar.xz qemu-d198b711f9ff9032d7270d78d5b5b17abf740e75.zip |
xen: introduce separate XenWatchList for XenDevice objects
This patch uses the XenWatchList abstraction to add a separate watch list
for each device. This is more scalable than walking a single notifier
list for all watches and is also necessary to implement a bug-fix in a
subsequent patch.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony Perard <anthony.perard@citrix.com>
Message-Id: <20190913082159.31338-3-paul.durrant@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/xen/trace-events')
-rw-r--r-- | hw/xen/trace-events | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xen/trace-events b/hw/xen/trace-events index ac8d9c20d2..80ce3dafad 100644 --- a/hw/xen/trace-events +++ b/hw/xen/trace-events @@ -29,6 +29,8 @@ xen_device_backend_changed(const char *type, char *name) "type: %s name: %s" xen_device_frontend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s" xen_device_frontend_changed(const char *type, char *name) "type: %s name: %s" xen_device_unplug(const char *type, char *name) "type: %s name: %s" +xen_device_add_watch(const char *type, char *name, const char *node, const char *key) "type: %s name: %s node: %s key: %s" +xen_device_remove_watch(const char *type, char *name, const char *node, const char *key) "type: %s name: %s node: %s key: %s" # xen-bus-helper.c xs_node_create(const char *node) "%s" |