diff --git a/configure.ac b/configure.ac index 010c7ce13f..c8035c95d2 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AC_SUBST([LIBBOINC_VERSION]) WRAPPER_RELEASE=26011 AC_SUBST([WRAPPER_RELEASE]) -VBOXWRAPPER_RELEASE=26098 +VBOXWRAPPER_RELEASE=26099 AC_SUBST([VBOXWRAPPER_RELEASE]) AC_CANONICAL_TARGET diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index ef792e0bd6..e984928bd7 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -436,7 +436,7 @@ int VBOX_VM::create_vm() { vboxwrapper_msg_prefix(buf, sizeof(buf)) ); vm_disk_controller_type = "sata"; - vm_disk_controller_model = "ICH6"; + vm_disk_controller_model = "AHCI"; } } @@ -509,7 +509,7 @@ int VBOX_VM::create_vm() { ); command = "modifyvm \"" + vm_name + "\" "; command += "--boot1 disk "; - command += "--boot2 none "; + command += "--boot2 dvd "; command += "--boot3 none "; command += "--boot4 none "; @@ -691,7 +691,11 @@ int VBOX_VM::create_vm() { command += "--controller \"" + vm_disk_controller_model + "\" "; command += "--hostiocache off "; if ((vm_disk_controller_type == "sata") || (vm_disk_controller_type == "SATA")) { - command += "--sataportcount 3"; + if (is_virtualbox_version_newer(4, 3, 0)) { + command += "--portcount 3"; + } else { + command += "--sataportcount 3"; + } } retval = vbm_popen(command, output, "add storage controller (fixed disk)"); @@ -720,7 +724,7 @@ int VBOX_VM::create_vm() { ); command = "storageattach \"" + vm_name + "\" "; command += "--storagectl \"Hard Disk Controller\" "; - command += "--port 1 "; + command += "--port 0 "; command += "--device 0 "; command += "--type dvddrive "; command += "--medium \"" + virtual_machine_slot_directory + "/" + iso_image_filename + "\" "; @@ -756,7 +760,7 @@ int VBOX_VM::create_vm() { ); command = "storageattach \"" + vm_name + "\" "; command += "--storagectl \"Hard Disk Controller\" "; - command += "--port 0 "; + command += "--port 1 "; command += "--device 0 "; command += "--type hdd "; command += "--setuuid \"\" "; diff --git a/version.h b/version.h index 4ba9681a24..d3121f3bcc 100644 --- a/version.h +++ b/version.h @@ -16,7 +16,7 @@ #define WRAPPER_RELEASE 26011 /* Release part of vboxwrapper version number */ -#define VBOXWRAPPER_RELEASE 26098 +#define VBOXWRAPPER_RELEASE 26099 /* String representation of BOINC version number */ #define BOINC_VERSION_STRING "7.5.0" diff --git a/win_build/vboxwrapper.vcxproj b/win_build/vboxwrapper.vcxproj index 39b270ea63..ad0075315d 100644 --- a/win_build/vboxwrapper.vcxproj +++ b/win_build/vboxwrapper.vcxproj @@ -129,12 +129,12 @@ libcmt.lib;libcpmt.lib;kernel32.lib;user32.lib;gdi32.lib;ole32.lib;wsock32.lib;psapi.lib;%(AdditionalDependencies) - .\Build\$(Platform)\$(Configuration)\vboxwrapper_26098_windows_intelx86.exe + .\Build\$(Platform)\$(Configuration)\vboxwrapper_26099_windows_intelx86.exe true true %(DelayLoadDLLs) true - .\Build\$(Platform)\$(Configuration)\vboxwrapper_26098_windows_intelx86.pdb + .\Build\$(Platform)\$(Configuration)\vboxwrapper_26099_windows_intelx86.pdb Windows MachineX86 @@ -179,12 +179,12 @@ libcmt.lib;libcpmt.lib;kernel32.lib;user32.lib;gdi32.lib;ole32.lib;wsock32.lib;psapi.lib;%(AdditionalDependencies) - .\Build\$(Platform)\$(Configuration)\vboxwrapper_26098_windows_x86_64.exe + .\Build\$(Platform)\$(Configuration)\vboxwrapper_26099_windows_x86_64.exe true true %(DelayLoadDLLs) true - .\Build\$(Platform)\$(Configuration)\vboxwrapper_26098_windows_x86_64.pdb + .\Build\$(Platform)\$(Configuration)\vboxwrapper_26099_windows_x86_64.pdb Windows MachineX64