This will be handled by the driver domain itself, since the toolstack
does not have access to the physical device because it is in a
different domain.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* responsible for this since the block device may not
* exist yet.
*/
- if (!disk->script) {
+ if (!disk->script &&
+ disk->backend_domid == LIBXL_TOOLSTACK_DOMID) {
int major, minor;
libxl__device_physdisk_major_minor(dev, &major, &minor);
flexarray_append_pair(back, "physical-device",