On 01/08/2014 06:36 AM, Ján Tomko wrote:
On 01/08/2014 01:56 PM, kangta123 wrote:
> Hi,
>
> I'm a newbie to Libvirt, i want to know if i can change the vm definition xml
dynamically. like change cpu, network value.
You can't do that with hooks. You'll need to edit the domain definition before
you ask libvirt to start it.
There are _some_ things you can change on a running domain, such as
network devices, by means of hotplug operations. But you can't do a
wholesale change of the XML outside of hotplug except for an offline domain.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org