It seem's so.... (you will have to use xml format for the driver, it does not make any check and delegates all template processing to the vmm driver...)
onevm show 0 VIRTUAL MACHINE 0 INFORMATION ID : 0 NAME : arch STATE : PENDING LCM_STATE : LCM_INIT START TIME : 03/28 00:18:14 END TIME : - DEPLOY ID: : - VIRTUAL MACHINE MONITORING USED MEMORY : 0 USED CPU : 0 NET_TX : 0 NET_RX : 0 VIRTUAL MACHINE TEMPLATE CPU=0.50 DISK=[ DISK_ID=0, SIZE=1024, TARGET=hdd, TYPE=swap ] FEATURES=[ ACPI=yes ] GRAPHICS=[ KEYMAP=es, LISTEN=127.0.0.1, PORT=5900, TYPE=vnc ] INPUT=[ BUS=usb, TYPE=tablet ] MEMORY=[ KMEMSIZE=14372700:14790164, LOCKEDPAGES=2048:2048, OOMGUARPAGES=26112:unlimited, PHYSPAGES=0:unlimited, PRIVVMPAGES=65536:69632, SHMPAGES=21504:21504, VMGUARPAGES=33792:unlimited ] NAME=arch NIC=[ BRIDGE=vbr0, IP=10.0.0.27, MAC=02:00:0a:00:00:1b, NETWORK=private, NETWORK_ID=0 ] VMID=0 On Fri, Mar 25, 2011 at 10:56 AM, <[email protected]> wrote: > Dear all, > > is it possible to change ONE VM template format in case of OpenVZ hypervisor > and would it be enough to take those changes into account in OvzDriver.cc > only? Or ONE VM template format is robust and the changes in other files are > required as well (if yes then in which files?)? > For example, I'd like to write MEMORY parameter for OpenVZ VM as > MEMORY = [ KMEMSIZE="14372700:14790164", > LOCKEDPAGES="2048:2048", > PRIVVMPAGES="65536:69632", > SHMPAGES="21504:21504", > PHYSPAGES="0:unlimited", > VMGUARPAGES="33792:unlimited", > OOMGUARPAGES="26112:unlimited" ] > > whereas for xen now it looks like > > MEMORY = 256. > > Nikolay. > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Dr. Ruben Santiago Montero Associate Professor (Profesor Titular), Complutense University of Madrid URL: http://dsa-research.org/doku.php?id=people:ruben Weblog: http://blog.dsa-research.org/?author=7 _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
