search for: create_vm_xml

Displaying 7 results from an estimated 7 matches for "create_vm_xml".

2010 Aug 25
2
[PATCH] Virtio support
...0px; +} + .vm_network_config_net select, .vm_network_config_mac input, .vm_network_config_ip input { diff --git a/src/task-omatic/task_vm.rb b/src/task-omatic/task_vm.rb index dd71747..cc2071f 100644 --- a/src/task-omatic/task_vm.rb +++ b/src/task-omatic/task_vm.rb @@ -35,7 +35,7 @@ end def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, - net_interfaces, diskDevices) + virtio, net_interfaces, diskDevices) doc = Document.new doc.add_element("domain", {"type" => "kvm"}) @@ -78,6 +78,10 @@ def create_vm_xml...
2010 Sep 01
1
[PATCH] Fix virtual disk name (virtio)
...gora.com> --- src/task-omatic/task_vm.rb | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/task-omatic/task_vm.rb b/src/task-omatic/task_vm.rb index 3a197f9..cf84ea2 100644 --- a/src/task-omatic/task_vm.rb +++ b/src/task-omatic/task_vm.rb @@ -66,7 +66,9 @@ def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, doc.root.elements["devices"].add_element("emulator").add_text("/usr/bin/qemu-kvm") devs = ['hda', 'hdb', 'hdc', 'hdd'] + virtual_devs = ['vda', 'vdb', 'vd...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
...o }) } + # network_always indicates that the boot device is "network" and will not change + # upon reboot. + if db_vm.boot_device == "network_always" + boot_device = "network" + else + boot_device = db_vm.boot_device + end + xml = create_vm_xml(db_vm.description, db_vm.uuid, db_vm.memory_allocated, - db_vm.memory_used, db_vm.num_vcpus_allocated, db_vm.boot_device, + db_vm.memory_used, db_vm.num_vcpus_allocated, boot_device, db_vm.virtio, net_interfaces, storagedevs) @logger.debug("XML D...
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server frontend, backend, and tests components, permitting vms to be associated with multiple networks and vice versa. Also included are two patches which are required for the frontend bits; a patch adding collapsable sections to the vm form, which in itself depends on the second patch that provides default values for the cpu and memory vm table fields
2010 Sep 21
1
[PATCH] Introduce ability to select any kind of nic model, not just default or virtio.
...33CC; padding-top: 5px; padding-left: 5px; } + .vm_network_config_remove:hover { cursor: pointer; } diff --git a/src/task-omatic/task_vm.rb b/src/task-omatic/task_vm.rb index 9efda1c..a3391c0 100644 --- a/src/task-omatic/task_vm.rb +++ b/src/task-omatic/task_vm.rb @@ -99,10 +99,7 @@ def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, interface.add_attribute("type", "bridge") interface.add_element("mac", {"address" => nic[:mac]}) interface.add_element("source", {"bridge" => nic[:interface]}) - -...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...k img, #vm_storage_section_link img, #vm_network_section_link img{ float: left; padding-top: 2px; diff --git a/src/task-omatic/task_vm.rb b/src/task-omatic/task_vm.rb index a448d30..dd71747 100644 --- a/src/task-omatic/task_vm.rb +++ b/src/task-omatic/task_vm.rb @@ -35,7 +35,7 @@ end def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, - macAddr, bridge, diskDevices) + net_interfaces, diskDevices) doc = Document.new doc.add_element("domain", {"type" => "kvm"}) @@ -87,11 +87,13 @@ def create_vm_xml(name,...