tests: add RTAS command in the protocol
authorLaurent Vivier <lvivier@redhat.com>
Tue, 13 Sep 2016 12:52:45 +0000 (14:52 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Sep 2016 00:29:40 +0000 (10:29 +1000)
commiteeddd59f59626302cdb7db2602140ac9a076dec9
treee9fb34851f9bc721687c42525552ff1c8119a0ef
parent8d6ef7c9fe880c710dd55cfe7a0f076be475bede
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>
hw/ppc/spapr_rtas.c
include/hw/ppc/spapr_rtas.h [new file with mode: 0644]
qtest.c
tests/Makefile.include
tests/libqos/rtas.c [new file with mode: 0644]
tests/libqos/rtas.h [new file with mode: 0644]
tests/libqtest.c
tests/libqtest.h
tests/rtas-test.c [new file with mode: 0644]