diff options
Diffstat (limited to 'samples/server.c')
-rw-r--r-- | samples/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/server.c b/samples/server.c index 571e374..ba1ac67 100644 --- a/samples/server.c +++ b/samples/server.c @@ -411,7 +411,8 @@ int main(int argc, char *argv[]) } server_data.vfu_ctx = vfu_ctx = vfu_create_ctx(VFU_TRANS_SOCK, argv[optind], - 0, &server_data); + 0, &server_data, + VFU_DEV_TYPE_PCI); if (vfu_ctx == NULL) { err(EXIT_FAILURE, "failed to initialize device emulation\n"); } |