aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2011-04-01 15:15:21 +1100
committerAlexander Graf <agraf@suse.de>2011-04-01 18:34:55 +0200
commit4040ab72379f75fe171c03f93ceb75efb48c14a5 (patch)
tree0d7f11215e5032e24f10cca36d48aeff4d7b0edb /hw/spapr.h
parent9fdf0c2995d04a74a22ea4609b2931eef209e53d (diff)
downloadqemu-4040ab72379f75fe171c03f93ceb75efb48c14a5.zip
qemu-4040ab72379f75fe171c03f93ceb75efb48c14a5.tar.gz
qemu-4040ab72379f75fe171c03f93ceb75efb48c14a5.tar.bz2
Implement the bus structure for PAPR virtual IO
This extends the "pseries" (PAPR) machine to include a virtual IO bus supporting the PAPR defined hypercall based virtual IO mechanisms. So far only one VIO device is provided, the vty / vterm, providing a full console (polled only, for now). Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr.h')
-rw-r--r--hw/spapr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/spapr.h b/hw/spapr.h
index 685944b..06cca15 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -1,7 +1,10 @@
#if !defined(__HW_SPAPR_H__)
#define __HW_SPAPR_H__
+struct VIOsPAPRBus;
+
typedef struct sPAPREnvironment {
+ struct VIOsPAPRBus *vio_bus;
} sPAPREnvironment;
#define H_SUCCESS 0