summaryrefslogtreecommitdiff
path: root/hw/pci/trace-events
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2017-05-09 14:00:43 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2017-06-06 20:18:35 +0200
commit993b1f4b2ceb7b09a7153aa01d03bdf95972e61d (patch)
treea6f9836c7491131770b770f668558a94c3717ddd /hw/pci/trace-events
parent9ba35d0b865361f9838f830672ab229a569024eb (diff)
downloadqemu-993b1f4b2ceb7b09a7153aa01d03bdf95972e61d.tar.gz
msix: trace control bit write op
Meanwhile, abstract a function to detect msix masked bit. Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <1494309644-18743-3-git-send-email-peterx@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci/trace-events')
-rw-r--r--hw/pci/trace-events3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pci/trace-events b/hw/pci/trace-events
index 2b9cf24405..83c8f5ace7 100644
--- a/hw/pci/trace-events
+++ b/hw/pci/trace-events
@@ -7,3 +7,6 @@ pci_update_mappings_add(void *d, uint32_t bus, uint32_t slot, uint32_t func, int
# hw/pci/pci_host.c
pci_cfg_read(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x -> 0x%x"
pci_cfg_write(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x <- 0x%x"
+
+# hw/pci/msix.c
+msix_write_config(char *name, bool enabled, bool masked) "dev %s enabled %d masked %d"