Re: Why host device disappear in libvirt doman xml?

2022-09-29 Thread Michal Prívozník
[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 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

Re: Why host device disappear in libvirt doman xml?

2022-09-28 Thread Michal Prívozník
[Please, keep the list on CC for benefit of others] On 9/28/22 10:13, 陈新隆 wrote: > I'm using the `virsh dumpxml ` to check the xml. When I > first execute this command, there's two hostdev(GPU) in the xml, but > next time I execute the same command these two hostdev elements > disappeared. During

Re: Why host device disappear in libvirt doman xml?

2022-09-26 Thread Michal Prívozník
On 9/26/22 15:06, 陈新隆 wrote: > > > > I'm using Kubevirt to manage my virtual machine instances. When I using > Kubevirt to create a vm(with two GPUs), kubevirt will generate a libvirt > guest domain xml for this vm which includes two GPUs, the

Why host device disappear in libvirt doman xml?

2022-09-26 Thread 陈新隆
I'm using Kubevirt to manage my virtual machine instances. When I using Kubevirt to create a vm(with two GPUs), kubevirt will generate a libvirt guest domain xml for this vm which includes two GPUs, the domain xml as follow :