Hi all, this patch fixes the problem recently noticed with pv grub: few lines in shutdown_blkfront were removed by mistake. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- diff -r 61404d971c92 extras/mini-os/blkfront.c --- a/extras/mini-os/blkfront.c Thu May 21 04:31:47 2009 +0100 +++ b/extras/mini-os/blkfront.c Mon May 25 11:28:51 2009 +0100 @@ -244,6 +244,10 @@ xenbus_wait_for_value(path, "5", &dev->events); err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 6); + xenbus_wait_for_value(path, "6", &dev->events); + + err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 1); + xenbus_wait_for_value(path, "2", &dev->events); xenbus_unwatch_path(XBT_NIL, path); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Where this CS is supposed to go to xen-unstable.hg or to xen-3.4-testing.hg ? Boris. --- On Mon, 5/25/09, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote: From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Subject: [Xen-devel] [PATCH] xen 3.4.0 & pvgrub To: "xen-devel" <xen-devel@lists.xensource.com> Date: Monday, May 25, 2009, 6:31 AM Hi all, this patch fixes the problem recently noticed with pv grub: few lines in shutdown_blkfront were removed by mistake. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- diff -r 61404d971c92 extras/mini-os/blkfront.c --- a/extras/mini-os/blkfront.c Thu May 21 04:31:47 2009 +0100 +++ b/extras/mini-os/blkfront.c Mon May 25 11:28:51 2009 +0100 @@ -244,6 +244,10 @@ xenbus_wait_for_value(path, "5", &dev->events); err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 6); + xenbus_wait_for_value(path, "6", &dev->events); + + err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 1); + xenbus_wait_for_value(path, "2", &dev->events); xenbus_unwatch_path(XBT_NIL, path); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets, le Mon 25 May 2009 05:43:49 -0700, a écrit :> Where this CS is supposed to go to xen-unstable.hg or to xen-3.4-testing.hg ?Both. Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets wrote:> Where this CS is supposed to go to xen-unstable.hg or to > xen-3.4-testing.hg ? >both. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel