search for: virtual_devs

Displaying 1 result from an estimated 1 matches for "virtual_devs".

2010 Sep 01
1
[PATCH] Fix virtual disk name (virtio)
...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', '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....