[Qemu-devel] [PULL 4/6] vmsvga: shadow fifo registers

2016-06-06 Thread Gerd Hoffmann
The fifo is normal ram. So kvm vcpu threads and qemu iothread can access the fifo in parallel without syncronization. Which in turn implies we can't use the fifo pointers in-place because the guest can try changing them underneath us. So add shadows for them, to make sure the guest can't modify

[Qemu-devel] [PULL 4/6] vmsvga: shadow fifo registers

2016-06-03 Thread Gerd Hoffmann
The fifo is normal ram. So kvm vcpu threads and qemu iothread can access the fifo in parallel without syncronization. Which in turn implies we can't use the fifo pointers in-place because the guest can try changing them underneath us. So add shadows for them, to make sure the guest can't modify