提交 7e6b14df 编写于 作者: P Paolo Bonzini

virtio-9p: use CONFIG_VIRTFS, not CONFIG_LINUX

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 1559e0d4
...@@ -75,7 +75,7 @@ struct VirtIOPCIProxy { ...@@ -75,7 +75,7 @@ struct VirtIOPCIProxy {
VirtIOBlkConf blk; VirtIOBlkConf blk;
NICConf nic; NICConf nic;
uint32_t host_features; uint32_t host_features;
#ifdef CONFIG_LINUX #ifdef CONFIG_VIRTFS
V9fsConf fsconf; V9fsConf fsconf;
#endif #endif
virtio_serial_conf serial; virtio_serial_conf serial;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "qdev.h" #include "qdev.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "qemu/event_notifier.h" #include "qemu/event_notifier.h"
#ifdef CONFIG_LINUX #ifdef CONFIG_VIRTFS
#include "9p.h" #include "9p.h"
#endif #endif
...@@ -252,7 +252,7 @@ typedef struct VirtIOSCSIConf VirtIOSCSIConf; ...@@ -252,7 +252,7 @@ typedef struct VirtIOSCSIConf VirtIOSCSIConf;
VirtIODevice *virtio_scsi_init(DeviceState *dev, VirtIOSCSIConf *conf); VirtIODevice *virtio_scsi_init(DeviceState *dev, VirtIOSCSIConf *conf);
typedef struct VirtIORNGConf VirtIORNGConf; typedef struct VirtIORNGConf VirtIORNGConf;
VirtIODevice *virtio_rng_init(DeviceState *dev, VirtIORNGConf *conf); VirtIODevice *virtio_rng_init(DeviceState *dev, VirtIORNGConf *conf);
#ifdef CONFIG_LINUX #ifdef CONFIG_VIRTFS
VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf); VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部