Hello, In my system a VM with a given domain name is defined and started. At a certain point I will define and start a new VM, with a different name. I then want to dispose of the old VM and rename the new one to the old one. Unfortunately I didn't find any API to do the last step. Is it possible to change the domain name of a running VM? Thanks, Roberto -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111024/b255520f/attachment.htm>
On 10/24/2011 11:31 AM, Roberto Attias (rattias) wrote:> Hello, > > In my system a VM with a given domain name is defined and started. At a > certain point I will define and start a new VM, with a different name. I > then want to dispose of the old VM and rename the new one to the old > one. Unfortunately I didn't find any API to do the last step. Is it > possible to change the domain name of a running VM?Not currently, short of migrating the VM twice and using the rename-on-migration feature (which ends up creating a new qemu process, rather than reusing the existing one). But the request has been made in the past, and if someone were willing to write patches, they would likely be accepted. -- Eric Blake eblake at redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Maybe Matching Threads
- undefining and redefining a Domain
- [PATCH v8 4/6] security: Allow all LSMs to provide xattrs for inode_init_security hook
- Login to domain.
- [PATCH v7 6/6] evm: Support multiple LSMs providing an xattr
- [PATCH v7 0/6] evm: Do HMAC of multiple per LSM xattrs for new inodes