<tt><span style=" font-size:10pt">Laine Stump <laine@laine.org>
wrote on 2021/07/17 00:01:36:<br><br>> From: Laine Stump <laine@laine.org></span></tt><br><tt><span style=" font-size:10pt">> To: Libvirt <libvir-list@redhat.com></span></tt><br><tt><span style=" font-size:10pt">> Cc: Motohiro Kawahito <JL25131@jp.ibm.com>,
"Daniel P. Berrangé" <br>> <berrange@redhat.com></span></tt><br><tt><span style=" font-size:10pt">> Date: 2021/07/17 00:01</span></tt><br><tt><span style=" font-size:10pt">> Subject: [EXTERNAL] Re: Question
about skipping virDomainDiskDefAssignAddress</span></tt><br><tt><span style=" font-size:10pt">> <br>> To expand on that, in the case of detaching a disk, you could 1) provide
<br>> the target dev in the XML you give to "virsh detach-device",
2) give the <br>> target dev name that you provided in the original XML when you call
<br>> "virsh detach-disk", or 3) you could specify a custom alias
in the <br>> original XML ("<alias name='ua-somename'/>" - note
that the leading <br>> "ua-" is *required* for a custom alias name) and then give
that same <br>> alias to "virsh detach-device-alias". All three will allow
you to <br>> reliably select the disk you want, and have the same result.<br>> <br></span></tt><br><span style=" font-size:10pt;font-family:sans-serif">Thank you very
much for the information. I didn't know how to use a custom alias. I'm
going to study about it.</span><BR>
<BR>