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

2013-10-14 Thread Rusty Russell
Greg Kurz 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 Kurz Excellent!

[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 --- hw/virtio/virtio.c |5 + targ