1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Bug #510: added virtio disk BUS option to the KVM wizard.

This commit is contained in:
Hector Sanjuan 2011-03-08 15:49:15 +01:00 committed by Jaime Melis
parent 93e2980457
commit 394fe78bb7

View File

@ -1258,6 +1258,9 @@ function createVMachineDialog(){
$('select#boot_method option').removeAttr("selected");
$('.kernel, .bootloader', $('div#os_boot_opts')).hide();
$('div#disks select#BUS').append(
'<option id="virtio" value="virtio">virtio</option>');
$('input#TYPE', section_raw).val("kvm");
$(section_inputs).show();
@ -1281,6 +1284,7 @@ function createVMachineDialog(){
$('select#boot_method option#no_boot').html("Please choose");
$('.kernel, .bootloader', $('div#os_boot_opts')).hide();
$('div#disks select#BUS option#virtio').remove();
$('input#TYPE', section_raw).val("kvm");
$(section_inputs).hide(); //not present for xen