b6af8926fb
...and wire in the dataplane. This patch adds the remaining code to make the xen-block XenDevice functional. The parameters that a block frontend expects to find are populated in the backend xenstore area, and the 'ring-ref' and 'event-channel' values specified in the frontend xenstore area are mapped/bound and used to set up the dataplane. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Reviewed-by: Anthony Perard <anthony.perard@citrix.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
38 lines
2.2 KiB
Plaintext
38 lines
2.2 KiB
Plaintext
# See docs/devel/tracing.txt for syntax documentation.
|
|
|
|
# include/hw/xen/xen_common.h
|
|
xen_default_ioreq_server(void) ""
|
|
xen_ioreq_server_create(uint32_t id) "id: %u"
|
|
xen_ioreq_server_destroy(uint32_t id) "id: %u"
|
|
xen_ioreq_server_state(uint32_t id, bool enable) "id: %u: enable: %i"
|
|
xen_map_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
|
|
xen_unmap_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
|
|
xen_map_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
|
|
xen_unmap_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
|
|
xen_map_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
|
|
xen_unmap_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
|
|
xen_domid_restrict(int err) "err: %u"
|
|
|
|
# include/hw/xen/xen-bus.c
|
|
xen_bus_realize(void) ""
|
|
xen_bus_unrealize(void) ""
|
|
xen_bus_add_watch(const char *node, const char *key, char *token) "node: %s key: %s token: %s"
|
|
xen_bus_remove_watch(const char *node, const char *key, char *token) "node: %s key: %s token: %s"
|
|
xen_bus_watch(const char *token) "token: %s"
|
|
xen_device_realize(const char *type, char *name) "type: %s name: %s"
|
|
xen_device_unrealize(const char *type, char *name) "type: %s name: %s"
|
|
xen_device_backend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
|
|
xen_device_backend_online(const char *type, char *name, bool online) "type: %s name: %s -> %u"
|
|
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"
|
|
|
|
# include/hw/xen/xen-bus-helper.c
|
|
xs_node_create(const char *node) "%s"
|
|
xs_node_destroy(const char *node) "%s"
|
|
xs_node_vprintf(char *path, char *value) "%s %s"
|
|
xs_node_vscanf(char *path, char *value) "%s %s"
|
|
xs_node_watch(char *path) "%s"
|
|
xs_node_unwatch(char *path) "%s"
|