vga: Add endian to vmstate
commitc3b10605147f9113b8b157d7226d3e215184bc0e
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Jun 2014 03:57:41 +0000 (23 13:57 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Sep 2014 11:34:09 +0000 (30 13:34 +0200)
tree13fd6d901dea913027c27a480feb2dbd98e2a636
parent2c7d8736af209c7e5840c16a9167ad954774ce4c
vga: Add endian to vmstate

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 <benh@kernel.crashing.org>
Changes by kraxel:
 * Remove bochs dispi interface changes.  We'll do that in
   a different way to make sure we don't conflict with
   possible future bochs dispi interface changes.
 * keep live migration bits.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
hw/display/vga.c
hw/display/vga_int.h