HyperV storage driver: use LUN as volume attachment point
The Azure API allows specifying a LUN (Logical Unit Number) when
attaching a volume to an instance, thus the LUN value can be used
in the disk driver to identify the volume attachment point.
@@ -732,7 +732,7 @@ closure_function(5, 0, void, storvsc_read_capacity_done,
block_io in = closure(s->general, storvsc_read, s);
block_io out = closure(s->general, storvsc_write, s);
- apply(bound(a), storage_init_req_handler(&s->req_handler, in, out), s->capacity, -1);
+ apply(bound(a), storage_init_req_handler(&s->req_handler, in, out), s->capacity, lun);
out:
closure_finish();
}
