Wei Liu writes ("Re: [Xen-devel] [PATCH RFC] libxl: set disk defaults in 
remove/destroy functions"):
> FWIW xl block-detach calls libxl_vdev_to_device_disk to convert a vdev
> to disk. That function reads xenstore to get the actual backend of that
> specific vdev. Don't know how useful it is to libvirt though.
> 
> Maybe we should look up disk's backend in libxl_device_disk_remove? Not
> sure what's the best approach.

libxl_device_disk_remove should definitely not require the caller to
do what xl currently does.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to