How to automate addition of new feature to libvirt.xml?

asked 2020-05-20 05:53:47 -0500

anonymous user


I need to enable nested virtualization for IBM pseries. And to enable that I need to set "nested-hv" parameter in libvirt.xml( under features section: <features> <nested-hv state="on"> </nested-hv></features> From what I have understood is - ( this file creates libvirt.xml file for instances. And it doesn't have any support for nested-hv currently. So Inorder to add that feature I have to manually modify virsh xml file of instances. How to automate it?

edit retag flag offensive close merge delete