minios: blkfront should set protocol node
PATCH 1/1 minios: blkfront should set protocol node
Hi,
$subject says all.
Should be applied to both 3.3 and devel trees.
thanks,
Gerd
extras/mini-os/blkfront.c +7 -0
@@ -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
[email protected]
http://lists.xensource.com/xen-devel