On Tue, 2014-06-17 at 07:36 +0200, Paolo Bonzini wrote: > Il 17/06/2014 06:59, Benjamin Herrenschmidt ha scritto: > > Thanks. I've tried the other approach of adding new functions which > > means no overhead (hopefully) for the non-swap case and less invasive > > changes to vga_template.c. > > > > Patch below. What do you think ? This or the previous approach ? Then we > > can discuss how we actually trigger the endian change and where we store > > the state :-) > > This is definitely more readable. Anyway Gerd is the VGA guy. :)
Allright, let's wait for his opinion. Cheers, Ben.