From f2dd09649e31540996fa4e9497693d1b27bc88fe Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Tue, 30 Nov 2021 14:40:18 +0000 Subject: introduce device quiesce callback (#609) Signed-off-by: Thanos Makatos Reviewed-by: John Leon --- lib/pci_caps.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/pci_caps.h') diff --git a/lib/pci_caps.h b/lib/pci_caps.h index 4bef85d..f4b0ff2 100644 --- a/lib/pci_caps.h +++ b/lib/pci_caps.h @@ -72,6 +72,10 @@ ssize_t pci_cap_access(vfu_ctx_t *ctx, char *buf, size_t count, loff_t offset, bool is_write); +bool +access_is_pci_cap_exp(const vfu_ctx_t *vfu_ctx, size_t region_index, + uint64_t offset); + #endif /* LIB_VFIO_USER_PCI_CAPS_H */ /* ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.1