mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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>
This commit is contained in:
1 parent
e9167464c4
commit
4ffdeb2ddc
1 file changed
-1
@@ -597,7 +597,6 @@ static int xenfb_on_state_change(struct xenfb_device *dev)
|
||||
xenfb_switch_state(dev, state);
|
||||
break;
|
||||
case XenbusStateClosed:
|
||||
xs_unwatch(dev->xenfb->xsh, dev->otherend, "");
|
||||
xenfb_switch_state(dev, state);
|
||||
}
|
||||
return 0;
|
||||
|
||||