From 9cdbfef57080332d23ac3383290df9827493015b Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 24 Sep 2008 10:18:20 +0100 Subject: minios: blkfront should set protocol node From: Gerd Hoffmann Signed-off-by: Keir Fraser --- extras/mini-os/blkfront.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extras/mini-os/blkfront.c') diff --git a/extras/mini-os/blkfront.c b/extras/mini-os/blkfront.c index 4820a5f2dd..d4b0ea54ce 100644 --- a/extras/mini-os/blkfront.c +++ b/extras/mini-os/blkfront.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -141,6 +142,12 @@ again: 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; + } err = xenbus_printf(xbt, nodename, "state", "%u", 4); /* connected */ -- cgit v1.2.3