Kvm Made With Libvirt Not Persisting After Host Restart
I currently am making a ubuntu KVM with libvirt using the following code import libvirt conn = libvirt.open('qemu:///system') pool_name = 'VMPOOL' name = 'ubuntu0' pools = conn.l
Solution 1:
Let's start with... createLinux()
is deprecated; you should be using createXML()
instead. It takes identical arguments.
But, createXML()
only creates and starts transient VMs. To make a persistent VM, you need to call defineXML()
instead. This creates a persistent VM, but does not start it. You can start it yourself when ready with create()
.
Post a Comment for "Kvm Made With Libvirt Not Persisting After Host Restart"