From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: [patch] minios: blkfront should set protocol node Date: Tue, 23 Sep 2008 20:12:34 +0200 Message-ID: <48D93192.5090104@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030101060208000009050101" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030101060208000009050101 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, $subject says all. Should be applied to both 3.3 and devel trees. thanks, Gerd --------------030101060208000009050101 Content-Type: text/plain; name="xen-minios-blk-set-protocol.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-minios-blk-set-protocol.patch" diff -r 71a0bf42f9c1 extras/mini-os/blkfront.c --- a/extras/mini-os/blkfront.c Mon Sep 22 10:34:00 2008 +0100 +++ b/extras/mini-os/blkfront.c Tue Sep 23 20:10:32 2008 +0200 @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -139,6 +140,12 @@ "event-channel", "%u", dev->evtchn); if (err) { message = "writing event-channel"; + goto abort_transaction; + } + err = xenbus_printf(xbt, nodename, + "protocol", "%s", XEN_IO_PROTO_ABI_NATIVE); + if (err) { + message = "writing protocol"; goto abort_transaction; } --------------030101060208000009050101 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------030101060208000009050101--