How to customize the xml used in libvirt from GUI/opestack command line?

Evan Zhao tacingiht at gmail.com
Wed Mar 31 03:31:50 UTC 2021


Hi there,

I googled this question and found two major answers:
1. ssh to the compute node and use `virsh dumpxml` and `virsh
undefine/define`, etc.
2. edit nova/virt/libvrit/config.py directly.

However, it's trivial to ssh to each node and do the modification, and
I prefer not to touch the nova source code, is there any better ways
to achieve this?

I expect to edit the namespace of a certain element and append an
additional element <qemu:command> to the xml file.

Any information will be appreciated.



More information about the openstack-discuss mailing list