[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO |
Date: |
Fri, 10 Sep 2010 03:34:12 +0200 |
Hi,
On 16 August 2010 22:26, Janne Huttunen <address@hidden> wrote:
> Yes, your version works (both on paper and in practice). I'm not
> quite sure I like the way it breaches the apparent abstraction
> of the FIFO handling routines (if you can call it that) or the
> way it first gives FIFO slots back to the guest but then rewinds
> them back. Not that either of those concerns necessarily matter
> much.
Since the incomplete commands are expected to be very rare compared to
normal handling, I think the rewinding makes more sense logically. We
also save some cycles this way.
>
> BTW, now that I look at it, if either HW_FILL_ACCEL or HW_RECT_ACCEL
> is not set 'badcmd' will be called, but args won't be set (as far
> as I can see). Isn't that wrong? Although I think the bug was there
> even before your changes.
Yeah, you're right. I added the missing args = 0; for those two cases
and pushed the change.
Cheers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO,
andrzej zaborowski <=