aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-04 15:32:02 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-03-01 13:57:33 +0100
commit7e6b14dfb575a687cb26be9995c96e5bbf5cba2e (patch)
treed82aa4fadedf4978143d20dd9cc73ee11e5d4c48 /hw/virtio.h
parent1559e0d4b54d1b0744983b57da893617ceae8b94 (diff)
virtio-9p: use CONFIG_VIRTFS, not CONFIG_LINUX
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/virtio.h')
-rw-r--r--hw/virtio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/virtio.h b/hw/virtio.h
index 1e206b8355..ae43d25193 100644
--- a/hw/virtio.h
+++ b/hw/virtio.h
@@ -19,7 +19,7 @@
#include "qdev.h"
#include "sysemu/sysemu.h"
#include "qemu/event_notifier.h"
-#ifdef CONFIG_LINUX
+#ifdef CONFIG_VIRTFS
#include "9p.h"
#endif
@@ -252,7 +252,7 @@ typedef struct VirtIOSCSIConf VirtIOSCSIConf;
VirtIODevice *virtio_scsi_init(DeviceState *dev, VirtIOSCSIConf *conf);
typedef struct VirtIORNGConf VirtIORNGConf;
VirtIODevice *virtio_rng_init(DeviceState *dev, VirtIORNGConf *conf);
-#ifdef CONFIG_LINUX
+#ifdef CONFIG_VIRTFS
VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf);
#endif