Re: [Qemu-devel] [RFC 13/14] vga: Add endian control register

2014-06-30 Thread Benjamin Herrenschmidt
On Mon, 2014-06-30 at 13:38 +0200, Gerd Hoffmann wrote: > Hi, > > > diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h > > index ae64321..894c6ab 100644 > > --- a/hw/display/vga_int.h > > +++ b/hw/display/vga_int.h > > @@ -47,6 +47,8 @@ > > #define VBE_DISPI_INDEX_Y_OFFSET0x9 > >

Re: [Qemu-devel] [RFC 13/14] vga: Add endian control register

2014-06-30 Thread Gerd Hoffmann
Hi, > diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h > index ae64321..894c6ab 100644 > --- a/hw/display/vga_int.h > +++ b/hw/display/vga_int.h > @@ -47,6 +47,8 @@ > #define VBE_DISPI_INDEX_Y_OFFSET0x9 > #define VBE_DISPI_INDEX_NB 0xa /* size of vbe_regs[] */ > #

Re: [Qemu-devel] [RFC 13/14] vga: Add endian control register

2014-06-23 Thread Benjamin Herrenschmidt
On Tue, 2014-06-24 at 09:11 +1000, Benjamin Herrenschmidt wrote: > Include the endian state in the migration stream as an optional > subsection which we only include when the endian isn't the default, > thus enabling backward compatibility of the common case. Note: This description is a bit too te

[Qemu-devel] [RFC 13/14] vga: Add endian control register

2014-06-23 Thread Benjamin Herrenschmidt
Include the endian state in the migration stream as an optional subsection which we only include when the endian isn't the default, thus enabling backward compatibility of the common case. Signed-off-by: Benjamin Herrenschmidt --- hw/display/vga.c | 55 +++