Why host device disappear in libvirt doman xml?

Michal Prívozník mprivozn at redhat.com
Thu Sep 29 07:33:02 UTC 2022


[Once again, please keep the list on CC]
On 9/29/22 04:59, 陈新隆 wrote:
> Thanks for the detail explanation, it's very helpful. 
> 
> I guess :
> 1. virsh dumpxml <domain> outputs the live xml(or active xml) 

Yes, if domain is running then it outputs the live XML, otherwise it
outputs the inactive XML. For running domains you can use --inactive
flag to get the inactive XML.

> 2. virsh edit <domain> edits the inactive xml, so I should cold boot
> domain to take effect

Correct.

Michal



More information about the libvirt-users mailing list