On Tue, 2014-06-17 at 13:40 +0200, Greg Kurz wrote: > This conclusion was reached while discussing dump support where we > use LPCR_ILE, and I wanted to add a common helper to be used by > virtio. Please find the thread in the link below: > > https://lists.nongnu.org/archive/html/qemu-devel/2014-05/msg00415.html > > Can you elaborate on the "less sense" opinion please ?
I can't fathom how the endianness of a specific CPU at the point of the reset makes any sense vs. the overall endianness of the system. But this is all very theorical, fact is they will always match on powerpc, so I don't care that much :) In any case, for VGA, the right long term approach is a register in the adapter. Though we might want to keep the trick of forcing it when a PAPR guest does the H_SET_MODE hcall for general compatibility with existing guests, after all it's a paravirt interface, we can have side effects like that.... Cheers, Ben.