pseries: Remove hcalls callback
commit1fc02533e73ad66f756f07efdf80fa9bef5afbc8
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 12 Dec 2011 18:24:28 +0000 (12 18:24 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 14:49:11 +0000 (3 15:49 +0100)
tree4b82e136708cf7facb574811e8d617ef67f4d016
parent157feeadbaec09fe4dca539a24f6f6d327d6eeb6
pseries: Remove hcalls callback

For forgotten historical reasons, PAPR hypercalls for specific virtual IO
devices (oh which there are quite a number) are registered via a callback
in the VIOsPAPRDeviceInfo structure.

This is kind of ugly, so this patch instead registers hypercalls from
device_init() functions for each device type.  This works just as well,
and is cleaner.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr_llan.c
hw/spapr_vio.c
hw/spapr_vio.h
hw/spapr_vty.c