<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, 26 Dec 2018 at 16:26, b f31415 <<a href="mailto:bf31415@gmail.com">bf31415@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="font-size:11pt">If not, is there a way with one of
the virt command line tools to create the XML (with the PCI addresses
specified) so that I can process that XML and re-write the PCI addressing
values?  Right now the only way I’ve been
able to get that detailed XML file is to 1) virt-install and let the VM begin the
boot process and then do a 2) virsh dumpxml and then 3) virsh destroy/undefine
that VM, 4) modify the XML and then 5) virsh create ./modified.xml.  Is there a cleaner way to do this?</span></div></blockquote><div><br></div><div>
<div dir="ltr"><div>It won't do everything you want, 
but check out virt-install --print-step --dry-run.  This should at least
 allow you to get at the XML for the intermediate steps and remove the 
brittleness of defining, destroying, undefining the VM.</div><div><br></div><div>Cheers,</div><div><br></div><div>- Peter<br></div></div></div></div></div>