search for: which_device

Displaying 5 results from an estimated 5 matches for "which_device".

2010 Sep 01
1
[PATCH] Fix virtual disk name (virtio)
...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', 'vdc', 'vdd'] which_device = 0 + which_virtual_device = 0 diskDevices.each do |disk| is_cdrom = (disk =~ /\.iso/) ? true : false @@ -78,17 +80,18 @@ def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, diskdev.add_element("readonly") diskdev.add_element("source"...
2010 Aug 25
2
[PATCH] Virtio support
...uot;}) @@ -78,6 +78,10 @@ def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, diskdev.add_element("readonly") diskdev.add_element("source", {"file" => disk}) diskdev.add_element("target", {"dev" => devs[which_device], "bus" => "ide"}) + elsif virtio + diskdev.add_element("driver", {"name" => "qemu", "type" => "raw"}) + diskdev.add_element("source", {"dev" => disk}) + diskdev.add_element(&quot...
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
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...- macAddr, bridge, diskDevices) + net_interfaces, diskDevices) doc = Document.new doc.add_element("domain", {"type" => "kvm"}) @@ -87,11 +87,13 @@ def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, which_device += 1 end - unless macAddr.nil? || bridge.nil? || macAddr == "" || bridge == "" - doc.root.elements["devices"].add_element("interface", {"type" => "bridge"}) - doc.root.elements["devices"].elements["interface&q...