diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-04-01 15:15:21 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-04-01 18:34:55 +0200 |
commit | 4040ab72379f75fe171c03f93ceb75efb48c14a5 (patch) | |
tree | 0d7f11215e5032e24f10cca36d48aeff4d7b0edb /hw/spapr.h | |
parent | 9fdf0c2995d04a74a22ea4609b2931eef209e53d (diff) | |
download | qemu-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |