On Mon, Sep 23, 2013 at 09:02:44PM +0900, Peter Maydell wrote:
On 23 September 2013 11:14, Christoffer Dall christoffer.dall@linaro.org wrote:
On Sat, Sep 21, 2013 at 06:38:19PM +0900, Peter Maydell wrote: (2) How does the arm_gic_kvm.c code detect the underlying host CPU that the kernel read the register from when it returned the value of the register to do the proper translation? I don't even want to think about how this will work on Big.Little...
That's why the kernel does the translation, not userspace :-)
Ah yeah, I misread your previous mail as returning just the hardware state from the kernel. OK, I'll add this implementation definition of the register group to the kernel interface and to qemu's structure.
-Christoffer