|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH]Fix a restored domain cannot use mouse and keyboa
SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx> writes:
> Hi all,
>
> I found a bug that a restored domain could not use mouse and
> keyboard, when the mouse is moved while saving the domain.
>
> The following patch fixes it.
>
> Thanks.
> KAZ
You didn't tell us what exactly went wrong, so I can only guess. I
guess that when the ring buffer fills up completely during save, then
xenkbd_resume() finds it full, and as long as it remains full, no
further events go in, and no notifications go to the event channel.
As long as the (new) backend doesn't get a notification on its event
channel, it doesn't take out anything, so the ring buffer remains
full. Deadlock.
Is that correct?
The fix loses the contents of the ring buffer. I guess that's
tolerable.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|