Daniel P. Berrange wrote:
On Mon, Feb 22, 2010 at 02:50:07PM -0700, Jim Fehlig wrote:
> Disk devices can be referenced by name in Xen, e.g. when modifying
> their configuration or remvoving them. As such, don't search
> xenstore for a device ID corresponding to the disk device. Instead,
> search the disks contained in the domain definition and use the
> disk's target name if found.
>
> This approach allows removing a disk when domain is inactive. We
> obviously can't search xenstore when the domain is inactive.
>
This sounds reasonable, but I'm wondering if old XenD support the
lookup-based on name ?
Yes, I had thought about this as well. Guess it depends on how old we
are talking about. It exists in Xen 3.1.x and newer. I wonder if we
should even care about Xen 3.0.x. The upstream tree hasn't been touched
in 3 years.
Jim