aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr_vio.h
diff options
context:
space:
mode:
authorBen Herrenschmidt <benh@kernel.crashing.org>2011-04-01 15:15:31 +1100
committerAlexander Graf <agraf@suse.de>2011-04-01 18:34:57 +0200
commit6e270446d0e107b5227d8c51d2f85546f8811e99 (patch)
tree8ce4a148907b0266d1805d7ca5ff4b2a7a553c69 /hw/spapr_vio.h
parentb45d63b62f0c05eb54bba0fafaf29b9b3f4dd99a (diff)
downloadqemu-6e270446d0e107b5227d8c51d2f85546f8811e99.zip
qemu-6e270446d0e107b5227d8c51d2f85546f8811e99.tar.gz
qemu-6e270446d0e107b5227d8c51d2f85546f8811e99.tar.bz2
Implement PAPR virtual SCSI interface (ibmvscsi)
This patch implements the infrastructure and hypercalls necessary for the PAPR specified Virtual SCSI interface. This is the normal method for providing (virtual) disks to PAPR partitions. Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr_vio.h')
-rw-r--r--hw/spapr_vio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/spapr_vio.h b/hw/spapr_vio.h
index ba16795..b7d0daa 100644
--- a/hw/spapr_vio.h
+++ b/hw/spapr_vio.h
@@ -101,4 +101,7 @@ void spapr_vty_create(VIOsPAPRBus *bus,
void spapr_vlan_create(VIOsPAPRBus *bus, uint32_t reg, NICInfo *nd,
qemu_irq qirq, uint32_t vio_irq_num);
+void spapr_vscsi_create(VIOsPAPRBus *bus, uint32_t reg,
+ qemu_irq qirq, uint32_t vio_irq_num);
+
#endif /* _HW_SPAPR_VIO_H */