mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
8d6ef7c9fe
commit
eeddd59f59
9 changed files with 197 additions and 0 deletions
10
include/hw/ppc/spapr_rtas.h
Normal file
10
include/hw/ppc/spapr_rtas.h
Normal file
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue