Revision 758e8e38 hw/virtio-pci.c
b/hw/virtio-pci.c | ||
---|---|---|
641 | 641 |
return 0; |
642 | 642 |
} |
643 | 643 |
|
644 |
#ifdef CONFIG_LINUX
|
|
644 |
#ifdef CONFIG_VIRTFS
|
|
645 | 645 |
static int virtio_9p_init_pci(PCIDevice *pci_dev) |
646 | 646 |
{ |
647 | 647 |
VirtIOPCIProxy *proxy = DO_UPCAST(VirtIOPCIProxy, pci_dev, pci_dev); |
... | ... | |
712 | 712 |
}, |
713 | 713 |
.qdev.reset = virtio_pci_reset, |
714 | 714 |
},{ |
715 |
#ifdef CONFIG_LINUX
|
|
715 |
#ifdef CONFIG_VIRTFS
|
|
716 | 716 |
.qdev.name = "virtio-9p-pci", |
717 | 717 |
.qdev.size = sizeof(VirtIOPCIProxy), |
718 | 718 |
.init = virtio_9p_init_pci, |
Also available in: Unified diff