[Qemu-devel] [RFC 1/2] hw/qxl: ignore guest from guestbug until reset

2012-05-21 Thread Alon Levy
reset only by a guest QXL_IO_RESET Signed-off-by: Alon Levy --- hw/qxl.c |9 - hw/qxl.h |2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hw/qxl.c b/hw/qxl.c index 6c11e70..a9a7778 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -141,6 +141,7 @@ static void qxl_ring_s

Re: [Qemu-devel] [RFC 1/2] hw/qxl: ignore guest from guestbug until reset

2012-05-21 Thread Gerd Hoffmann
On 05/21/12 11:04, Alon Levy wrote: > reset only by a guest QXL_IO_RESET Looks sensible. I guess you want clear guest_bug in the "guest touched vga registers" code path too. cheers, Gerd

Re: [Qemu-devel] [RFC 1/2] hw/qxl: ignore guest from guestbug until reset

2012-05-21 Thread Alon Levy
On Mon, May 21, 2012 at 11:12:35AM +0200, Gerd Hoffmann wrote: > On 05/21/12 11:04, Alon Levy wrote: > > reset only by a guest QXL_IO_RESET > > Looks sensible. I guess you want clear guest_bug in the "guest touched > vga registers" code path too. good point, will fix for v2. > > cheers, > Ge