spapr_hcall: Split h_set_mode()
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 4 Jun 2014 12:51:04 +0000 (22:51 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:45 +0000 (13:24 +0200)
commitc4015bbd502d670d88e5689e1143e36ea097c76f
treec9d03f7798a4f98672c67104fae3df9e447095d4
parentcd9adfdd7755f053aea1ffc8e1df7b9b022174ff
spapr_hcall: Split h_set_mode()

This moves H_SET_MODE_RESOURCE_LE handler to a separate function
as there are other "resources" coming and this is going to become ugly.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_hcall.c