Re: [Qemu-devel] [PATCH 2/2] virtio: refresh registers at reset time

2013-10-15 Thread Rusty Russell
Greg Kurz gk...@linux.vnet.ibm.com writes: We need to support the guest endianness as soon as a virtio device shows up. Alex suggested this can achieved by calling cpu_synchronize_state(). To have it working on PowerPC, we need to add LPCR in the sync register functions. Signed-off-by: Greg

[Qemu-devel] [PATCH 2/2] virtio: refresh registers at reset time

2013-10-07 Thread Greg Kurz
We need to support the guest endianness as soon as a virtio device shows up. Alex suggested this can achieved by calling cpu_synchronize_state(). To have it working on PowerPC, we need to add LPCR in the sync register functions. Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com ---