Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-15 Thread Anthony Liguori
Paolo Bonzini writes: > Il 08/07/2013 20:39, Anthony Liguori ha scritto: >> Alexey Kardashevskiy writes: >> >>> From: David Gibson >>> >>> This patch adds the necessary VMStateDescription information to save the >>> state of PAPR TCE tables (that is, the PAPR specified IOMMU). >>> >>> Signed-o

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-15 Thread Paolo Bonzini
Il 08/07/2013 20:39, Anthony Liguori ha scritto: > Alexey Kardashevskiy writes: > >> From: David Gibson >> >> This patch adds the necessary VMStateDescription information to save the >> state of PAPR TCE tables (that is, the PAPR specified IOMMU). >> >> Signed-off-by: David Gibson >> Signed-off

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-10 Thread David Gibson
On Tue, Jul 09, 2013 at 10:22:39AM -0500, Anthony Liguori wrote: > David Gibson writes: > > > On Mon, Jul 08, 2013 at 01:39:26PM -0500, Anthony Liguori wrote: > >> Alexey Kardashevskiy writes: > >> > >> > From: David Gibson > >> > > >> > This patch adds the necessary VMStateDescription informa

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-09 Thread Anthony Liguori
David Gibson writes: > On Mon, Jul 08, 2013 at 01:39:26PM -0500, Anthony Liguori wrote: >> Alexey Kardashevskiy writes: >> >> > From: David Gibson >> > >> > This patch adds the necessary VMStateDescription information to save the >> > state of PAPR TCE tables (that is, the PAPR specified IOMMU

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-09 Thread Anthony Liguori
David Gibson writes: > On Mon, Jul 08, 2013 at 01:39:26PM -0500, Anthony Liguori wrote: >> Alexey Kardashevskiy writes: >> >> > From: David Gibson >> > >> > This patch adds the necessary VMStateDescription information to save the >> > state of PAPR TCE tables (that is, the PAPR specified IOMMU

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-09 Thread David Gibson
On Mon, Jul 08, 2013 at 01:39:26PM -0500, Anthony Liguori wrote: > Alexey Kardashevskiy writes: > > > From: David Gibson > > > > This patch adds the necessary VMStateDescription information to save the > > state of PAPR TCE tables (that is, the PAPR specified IOMMU). > > > > Signed-off-by: David

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-08 Thread Benjamin Herrenschmidt
On Mon, 2013-07-08 at 17:15 -0500, Anthony Liguori wrote: > Hypercall arguments are passed in CPU endianness so what's being stored > in the tce table is CPU endianness. > > Since VBUFFER just does a blind write() of the full array of uint64s, > what goes on the wire will be CPU endianness. > >

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-08 Thread Anthony Liguori
Benjamin Herrenschmidt writes: > On Mon, 2013-07-08 at 13:39 -0500, Anthony Liguori wrote: >> > +.fields = (VMStateField []) { >> > +/* Sanity check */ >> > +VMSTATE_UINT32_EQUAL(liobn, sPAPRTCETable), >> > +VMSTATE_UINT32_EQUAL(window_size, sPAPRTCETable), >> > +

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-08 Thread Benjamin Herrenschmidt
On Mon, 2013-07-08 at 13:39 -0500, Anthony Liguori wrote: > > +.fields = (VMStateField []) { > > +/* Sanity check */ > > +VMSTATE_UINT32_EQUAL(liobn, sPAPRTCETable), > > +VMSTATE_UINT32_EQUAL(window_size, sPAPRTCETable), > > + > > +/* IOMMU state */ > > +

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-08 Thread Anthony Liguori
Alexey Kardashevskiy writes: > From: David Gibson > > This patch adds the necessary VMStateDescription information to save the > state of PAPR TCE tables (that is, the PAPR specified IOMMU). > > Signed-off-by: David Gibson > Signed-off-by: Alexey Kardashevskiy > --- > hw/ppc/spapr_iommu.c |

[Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-06-26 Thread Alexey Kardashevskiy
From: David Gibson This patch adds the necessary VMStateDescription information to save the state of PAPR TCE tables (that is, the PAPR specified IOMMU). Signed-off-by: David Gibson Signed-off-by: Alexey Kardashevskiy --- hw/ppc/spapr_iommu.c | 25 + 1 file changed,