aboutsummaryrefslogtreecommitdiff
path: root/samples/server.c
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-11-20 06:43:42 -0500
committerThanos <tmakatos@gmail.com>2020-11-20 12:41:06 +0000
commitc57301efe8460aadedabf05d24cbce336c984b59 (patch)
tree469343548d84e18e9a292107f34283c15a017f08 /samples/server.c
parentdfb0a9b4e2e86f840daf843b5f68f4fdf94ca536 (diff)
downloadlibvfio-user-c57301efe8460aadedabf05d24cbce336c984b59.zip
libvfio-user-c57301efe8460aadedabf05d24cbce336c984b59.tar.gz
libvfio-user-c57301efe8460aadedabf05d24cbce336c984b59.tar.bz2
drop pci_info from lm_ctx
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'samples/server.c')
-rw-r--r--samples/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/server.c b/samples/server.c
index 7020821..1b11eaa 100644
--- a/samples/server.c
+++ b/samples/server.c
@@ -418,6 +418,9 @@ int main(int argc, char *argv[])
.log = verbose ? _log : NULL,
.log_lvl = LM_DBG,
.pci_info = {
+ .id.raw = 0xdeadbeef,
+ .ss.raw = 0xcafebabe,
+ .cc = {.pi = 0xab, .scc = 0xcd, .bcc = 0xef},
.reg_info[LM_DEV_BAR0_REG_IDX] = {
.flags = LM_REG_FLAG_RW,
.size = sizeof(time_t),