libvirt version: 3.4.0 architecture: x86_64 ubuntu16.04-server hypervisor: kvm,qemu I call virDomainCreate create a transient vm, After a period of time ,I call virDomainDestroy, the vm configure is stil exist, the vm turn to persistent, I don't known the reason. Thanks
Peter Krempa
2017-Jul-25 09:22 UTC
Re: [libvirt-users] transient configure turn to persistent configure
On Tue, Jul 25, 2017 at 09:50:29 +0800, 露露 wrote:> libvirt > version: 3.4.0 > architecture: x86_64 ubuntu16.04-server > hypervisor: kvm,qemu > > I call virDomainCreate create a transient vm, After a period of time ,I call virDomainDestroy, the vm configure is stil exist, the vm turn to persistent, I don't known the reason.Did you mean virDomainCreateXML? virDomainCreate actually requires the domain to be persistent since the argument is a virDomainPtr. If you indeed meant virDomainCreateXML then from your description it's impossible to say why that happened. You need to provide information what you did when that happened.
Maybe Matching Threads
- About seclabel configure,Migrate error
- Bug? virGetLastError() returns NULL after virDomainCreate() if Domain running already
- Thread-safety issues with vbox driver ?
- how libvirt create virbr0
- [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.