|
@@ -868,11 +868,11 @@ static int connect_ring(struct backend_info *be)
|
|
return err;
|
|
return err;
|
|
}
|
|
}
|
|
|
|
|
|
- be->blkif->blk_protocol = BLKIF_PROTOCOL_NATIVE;
|
|
|
|
|
|
+ be->blkif->blk_protocol = BLKIF_PROTOCOL_DEFAULT;
|
|
err = xenbus_gather(XBT_NIL, dev->otherend, "protocol",
|
|
err = xenbus_gather(XBT_NIL, dev->otherend, "protocol",
|
|
"%63s", protocol, NULL);
|
|
"%63s", protocol, NULL);
|
|
if (err)
|
|
if (err)
|
|
- strcpy(protocol, "unspecified, assuming native");
|
|
|
|
|
|
+ strcpy(protocol, "unspecified, assuming default");
|
|
else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_NATIVE))
|
|
else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_NATIVE))
|
|
be->blkif->blk_protocol = BLKIF_PROTOCOL_NATIVE;
|
|
be->blkif->blk_protocol = BLKIF_PROTOCOL_NATIVE;
|
|
else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_X86_32))
|
|
else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_X86_32))
|