]> git.proxmox.com Git - qemu.git/blobdiff - fsdev/qemu-fsdev.c
hw/9pfs: Improve portability to older systems
[qemu.git] / fsdev / qemu-fsdev.c
index 7fd2aa7793172eab37796a8afe7998018c212ad2..6684f7ea90f886aac26902f507c1a8993bcc1f67 100644 (file)
@@ -23,7 +23,9 @@ static QTAILQ_HEAD(FsDriverEntry_head, FsDriverListEntry) fsdriver_entries =
 
 static FsDriverTable FsDrivers[] = {
     { .name = "local", .ops = &local_ops},
+#ifdef CONFIG_OPEN_BY_HANDLE
     { .name = "handle", .ops = &handle_ops},
+#endif
     { .name = "synth", .ops = &synth_ops},
 };