mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
virtio-9p: use CONFIG_VIRTFS, not CONFIG_LINUX
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1559e0d4b5
commit
7e6b14dfb5
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue