RE: Question about skipping virDomainDiskDefAssignAddress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Laine Stump <laine@xxxxxxxxx> wrote on 2021/07/17 00:01:36:

> From: Laine Stump <laine@xxxxxxxxx>

> To: Libvirt <libvir-list@xxxxxxxxxx>
> Cc: Motohiro Kawahito <JL25131@xxxxxxxxxx>, "Daniel P. Berrangé"
> <berrange@xxxxxxxxxx>

> Date: 2021/07/17 00:01
> Subject: [EXTERNAL] Re: Question about skipping virDomainDiskDefAssignAddress
>
> To expand on that, in the case of detaching a disk, you could 1) provide
> the target dev in the XML you give to "virsh detach-device", 2) give the
> target dev name that you provided in the original XML when you call
> "virsh detach-disk", or 3) you could specify a custom alias in the
> original XML ("<alias name='ua-somename'/>" - note that the leading
> "ua-" is *required* for a custom alias name) and then give that same
> alias to "virsh detach-device-alias". All three will allow you to
> reliably select the disk you want, and have the same result.
>

Thank you very much for the information. I didn't know how to use a custom alias. I'm going to study about it.


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux