[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH]Fix a restored domain cannot use mouse and keyboard

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.

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

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.