From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk6As-000573-Ea for qemu-devel@nongnu.org; Wed, 14 Sep 2016 05:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bk6Ao-00021x-7v for qemu-devel@nongnu.org; Wed, 14 Sep 2016 05:08:10 -0400 Received: from 4.mo6.mail-out.ovh.net ([87.98.184.159]:55667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk6An-00021g-U6 for qemu-devel@nongnu.org; Wed, 14 Sep 2016 05:08:06 -0400 Received: from player776.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo6.mail-out.ovh.net (Postfix) with ESMTP id 309FAFFAB9D for ; Wed, 14 Sep 2016 11:08:05 +0200 (CEST) Date: Wed, 14 Sep 2016 11:07:59 +0200 From: Greg Kurz Message-ID: <20160914110759.7ae0fcbd@bahia> In-Reply-To: <20160914032337.GG15077@voom.fritz.box> References: <1473771165-23804-1-git-send-email-lvivier@redhat.com> <20160914032337.GG15077@voom.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/l/zj37GTCfpZ3vJHGGGzNsS"; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v8 0/3] tests: add RTAS protocol List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: Laurent Vivier , thuth@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org --Sig_/l/zj37GTCfpZ3vJHGGGzNsS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 14 Sep 2016 13:23:37 +1000 David Gibson wrote: > On Tue, Sep 13, 2016 at 02:52:42PM +0200, Laurent Vivier wrote: > > This series allows to call RTAS commands from the qtest framework, > > and defines a first test to call RTAS command "get-time-of-day" > > to validate the protocol and test RTAS. > >=20 > > RTAS command parameters are passed to the guest via the > > guest memory, so we also need to implement the guest memory > > management functions for SPAPR target. > >=20 > > RTAS commands will be needed later to test PCI from the qtest framework > > with SPAPR virtual machines: PCI configuration is read/written with > > RTAS commands "ibm,read-pci-config", "ibm,write-pci-config". =20 >=20 > I've applied the series to ppc-for-2.8, at least assuming no-one has > any objections to this coming through my tree. >=20 BTW, should the new files introduced by this patchset be added to MAINTAINERS ? > >=20 > > v8: > > - exit if RTAS is not started with qemu-system-ppc64 > >=20 > > v7: > > - don't allocate twice the memory for the RTAS call > > - add "-machine pseries" in rtas-test to be sure to use=20 > > the good machine type (with RTAS support). > >=20 > > v6: > > - rebase > > - remove useless include > >=20 > > v5: > > - replace "ppc64" by "spapr" > > - define and use qtest_spapr_vboot()/qtest_spapr_boot()/qtest_spapr_shu= tdown() > >=20 > > v4: > > - use qemu_strtoXXX() instead strtoXX(), > > add a patch in the series to change all strtoXX() in qtest.c > >=20 > > v3: > > - use mktimegm() instead of timegm() > >=20 > > v2: > > - remove useless parenthesis, inline > > - add a missing space in qrtas_call() prototype > >=20 > > Laurent Vivier (3): > > qtest: replace strtoXX() by qemu_strtoXX() > > libqos: define SPAPR libqos functions > > tests: add RTAS command in the protocol > >=20 > > hw/ppc/spapr_rtas.c | 19 ++++++++++++ > > include/hw/ppc/spapr_rtas.h | 10 +++++++ > > qtest.c | 66 ++++++++++++++++++++++++++-----------= ---- > > tests/Makefile.include | 5 ++++ > > tests/libqos/libqos-pc.c | 2 ++ > > tests/libqos/libqos-spapr.c | 30 +++++++++++++++++++ > > tests/libqos/libqos-spapr.h | 10 +++++++ > > tests/libqos/libqos.c | 1 - > > tests/libqos/malloc-spapr.c | 38 ++++++++++++++++++++++++ > > tests/libqos/malloc-spapr.h | 17 +++++++++++ > > tests/libqos/rtas.c | 71 +++++++++++++++++++++++++++++++++++++= ++++++++ > > tests/libqos/rtas.h | 11 +++++++ > > tests/libqtest.c | 10 +++++++ > > tests/libqtest.h | 15 ++++++++++ > > tests/rtas-test.c | 41 ++++++++++++++++++++++++++ > > 15 files changed, 322 insertions(+), 24 deletions(-) > > create mode 100644 include/hw/ppc/spapr_rtas.h > > create mode 100644 tests/libqos/libqos-spapr.c > > create mode 100644 tests/libqos/libqos-spapr.h > > create mode 100644 tests/libqos/malloc-spapr.c > > create mode 100644 tests/libqos/malloc-spapr.h > > create mode 100644 tests/libqos/rtas.c > > create mode 100644 tests/libqos/rtas.h > > create mode 100644 tests/rtas-test.c > > =20 >=20 --Sig_/l/zj37GTCfpZ3vJHGGGzNsS Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlfZE28ACgkQAvw66wEB28KuVQCgpZG8bHDWAQUePzr0RYgRnclT DL4An0NaIXfQBMcV2OqmEJ98htqi+IuU =LTMC -----END PGP SIGNATURE----- --Sig_/l/zj37GTCfpZ3vJHGGGzNsS--