diff options
author | Jagannathan Raman <jag.raman@oracle.com> | 2022-06-13 16:26:32 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2022-06-15 16:43:42 +0100 |
commit | 3123f93d6b85b69ab77f409456fac8ded895efed (patch) | |
tree | f304392b715ebdb4b37947ee9db9f42392bffbf2 /hw/remote/trace-events | |
parent | 15ccf9bee7804bfd969c171fc15ddc25f18431e3 (diff) | |
download | qemu-3123f93d6b85b69ab77f409456fac8ded895efed.zip qemu-3123f93d6b85b69ab77f409456fac8ded895efed.tar.gz qemu-3123f93d6b85b69ab77f409456fac8ded895efed.tar.bz2 |
vfio-user: handle PCI BAR accesses
Determine the BARs used by the PCI device and register handlers to
manage the access to the same.
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 3373e10b5be5f42846f0632d4382466e1698c505.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/remote/trace-events')
-rw-r--r-- | hw/remote/trace-events | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/remote/trace-events b/hw/remote/trace-events index f945c7e..847d50d 100644 --- a/hw/remote/trace-events +++ b/hw/remote/trace-events @@ -9,3 +9,6 @@ vfu_cfg_read(uint32_t offset, uint32_t val) "vfu: cfg: 0x%u -> 0x%x" vfu_cfg_write(uint32_t offset, uint32_t val) "vfu: cfg: 0x%u <- 0x%x" vfu_dma_register(uint64_t gpa, size_t len) "vfu: registering GPA 0x%"PRIx64", %zu bytes" vfu_dma_unregister(uint64_t gpa) "vfu: unregistering GPA 0x%"PRIx64"" +vfu_bar_register(int i, uint64_t addr, uint64_t size) "vfu: BAR %d: addr 0x%"PRIx64" size 0x%"PRIx64"" +vfu_bar_rw_enter(const char *op, uint64_t addr) "vfu: %s request for BAR address 0x%"PRIx64"" +vfu_bar_rw_exit(const char *op, uint64_t addr) "vfu: Finished %s of BAR address 0x%"PRIx64"" |