spapr: add rtas_st_buffer_direct() helper
commitab316865db8ee97c53cd70c91b1b160c474102f8
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 7 May 2015 05:33:47 +0000 (7 15:33 +1000)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:53 +0000 (3 23:56 +0200)
treecb1e738138ef294a35782833645c3620dc58ae13
parent886445a6ee808ee06533f9ecdf0f169c9ea83fbb
spapr: add rtas_st_buffer_direct() helper

This is similar to the existing rtas_st_buffer(), but for cases
where the guest is not expecting a length-encoded byte array.
Namely, for calls where a "work area" buffer is used to pass
around arbitrary fields/data.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/hw/ppc/spapr.h