ia64/xen-unstable

changeset 12739:d57b0e2834d7

[PVFB][TOOLS] Don't unwatch the framebuffer frontend's state node just
because it want to state Closed. Otherwise, we don't notice when
the node gets deleted, and can't reliably shut the backend down.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
author Steven Smith <ssmith@xensource.com>
date Fri Dec 01 13:11:53 2006 +0000 (2006-12-01)
parents 2a6a793a2f68
children dfaf8493a211
files tools/xenfb/xenfb.c
line diff
     1.1 --- a/tools/xenfb/xenfb.c	Fri Dec 01 12:38:41 2006 +0000
     1.2 +++ b/tools/xenfb/xenfb.c	Fri Dec 01 13:11:53 2006 +0000
     1.3 @@ -597,7 +597,6 @@ static int xenfb_on_state_change(struct 
     1.4  		xenfb_switch_state(dev, state);
     1.5  		break;
     1.6  	case XenbusStateClosed:
     1.7 -		xs_unwatch(dev->xenfb->xsh, dev->otherend, "");
     1.8  		xenfb_switch_state(dev, state);
     1.9  	}
    1.10  	return 0;