Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Suggestions > Topic : Pass QEMU command line arguments in plans/new virtual servers



Normal Mode | Print  

 Pass QEMU command line arguments in plans/new virtual servers (6 Replies, Read 25949 times)
m9shyamalan
Group: Member
Post Group: Newbie
Posts: 19
Status:
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
IP: --   


Threads
 m9shyamalan   Pass QEMU command line arguments in plans/new virtual servers (6 Replies, Read 25949 times)
    |--  jevingala   Hi, You can...   on July 26, 2019, 3:03 pm
    |--  m9shyamalan   Hi, You can...   on July 29, 2019, 6:44 am
    |--  m9shyamalan   Hi, You can...   on August 2, 2019, 1:39 am
    |--  chirag   Hi, Sir can...   on August 2, 2019, 9:04 am
    |--  m9shyamalan   Hey Guys, This...   on August 14, 2019, 6:45 am
    |--  chirag   Hi, Sir glad...   on August 14, 2019, 7:19 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 9:21 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.061