Hi Guys,
I have recently run into a situation where for some of our VM's require us to pass QEMU command line arguments to get functionality from our Virtual Servers that aren't achievable from the Virtualizor interface. To do this we are using 'virsh edit', but the issue is that these changes:
a) Can't be applied until after the Virtual Server has already been created
b) Have to be done manually for each Virtual Server, with no API support
c) Are reverted if the Virtualizor Interface/API is ever used to edit the Virtual Server
Currently our edits are just the following:
Change the top line of the XML from
PHP Code <domain type='kvm' id='2'>
to
PHP Code <domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
After </devices> in the xml, we are adding the following section:
PHP Code <qemu:commandline>
<command line arguements/>
</qemu:commandline>
Would it be possible for plans and new virtual server pages to have a tickbox for QEMU Command Line Arguments, which would unhide a free text box to add these command line options to, or even a standard KVM template to which we could add these changes?
Alternatively, if someone can suggest an existing method to add QEMU command line arguments automatically to new Virtual Servers/Plans, I would love to hear it!
Thanks
|