|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [patch] minios: blkfront should set protocol node
Hi, $subject says all. Should be applied to both 3.3 and devel trees. thanks, Gerd 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 <events.h>
#include <errno.h>
#include <xen/io/blkif.h>
+#include <xen/io/protocols.h>
#include <gnttab.h>
#include <xmalloc.h>
#include <time.h>
@@ -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;
}
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |