[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Reset the cached state to XenbusStateInitialising on resume -- we're connecting
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID 19c55935580fda527f2d865919e51bfd6c2040e4 # Parent edefe24d78bd5e6e51bdd002f3ee7721d6dc2ce5 Reset the cached state to XenbusStateInitialising on resume -- we're connecting to a new backend, so the state value needs to be reset. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r edefe24d78bd -r 19c55935580f linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Tue Apr 11 11:51:48 2006 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Wed Apr 12 17:53:38 2006 @@ -825,6 +825,8 @@ return err; } + xdev->state = XenbusStateInitialising; + if (drv->resume) err = drv->resume(xdev); if (err) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |