pseries: Implement hcall-bulk hypervisor interface
commita3d0abaecaa2981ad8c0036b6caf0ff1324fa57d
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 31 Aug 2011 15:50:50 +0000 (31 15:50 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:48:04 +0000 (6 09:48 +0200)
tree146b92a1d8bad51ddfce55d0f1b36d9a63c2975a
parent697ab892786d47008807a49f57b2fd86adfcd098
pseries: Implement hcall-bulk hypervisor interface

This patch adds support for the H_REMOVE_BULK hypercall on the pseries
machine.  Strictly speaking this isn't necessarym since the kernel will
only attempt to use this if hcall-bulk is advertised in the device tree,
which previously it was not.

Adding this support may give a marginal performance increase, but more
importantly it reduces the differences between the emulated machine and
an existing PowerVM or kvm system, both of which already implement
hcall-bulk.

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