diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-09-13 14:52:45 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-09-23 10:29:40 +1000 |
commit | eeddd59f59626302cdb7db2602140ac9a076dec9 (patch) | |
tree | e9fb34851f9bc721687c42525552ff1c8119a0ef /include/hw/ppc | |
parent | 8d6ef7c9fe880c710dd55cfe7a0f076be475bede (diff) | |
download | qemu-eeddd59f59626302cdb7db2602140ac9a076dec9.tar.gz qemu-eeddd59f59626302cdb7db2602140ac9a076dec9.tar.bz2 qemu-eeddd59f59626302cdb7db2602140ac9a076dec9.zip |
tests: add RTAS command in the protocol
Add a first test to validate the protocol:
- rtas/get-time-of-day compares the time
from the guest with the time from the host.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/spapr_rtas.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_rtas.h b/include/hw/ppc/spapr_rtas.h new file mode 100644 index 0000000000..383611f10f --- /dev/null +++ b/include/hw/ppc/spapr_rtas.h @@ -0,0 +1,10 @@ +#ifndef HW_SPAPR_RTAS_H +#define HW_SPAPR_RTAS_H +/* + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. + */ + +uint64_t qtest_rtas_call(char *cmd, uint32_t nargs, uint64_t args, + uint32_t nret, uint64_t rets); +#endif /* HW_SPAPR_RTAS_H */ |