|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Fix xenconsole after aborted save
On 04/20/09 16:04, Jiri Denemark wrote:
On Mon, Apr 20, 2009 at 15:38:41 +0200, Gerd Hoffmann wrote:
On 04/20/09 15:23, Jiri Denemark wrote:
This patch modifies xenconsoled to check current status of open event channels
and rebind them if necessary.
close() + open() is the sledge hammer approach (will work though). Just
unbind(local_port) should be enough.
It doesn't close() and open(), it just calls xc_evtchn_bind_interdomain() in
case the event channel is unbound. The close() + open() combination was there
before... I haven't touched that code except for skipping it when only rebind
is required.
Oh, ok, got the logic wrong. The patch looks fine to me then.
cheers,
Gerd
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|