Quick Updates

svn path=/trunk/boinc/; revision=24181
This commit is contained in:
Rom Walton 2011-09-13 20:59:01 +00:00
parent 0ebb45cc14
commit 26fdc9b1f7
1 changed files with 10 additions and 0 deletions

View File

@ -745,6 +745,11 @@ int VBOX_VM::startvm() {
char buf[256];
int retval;
fprintf(
stderr,
"%s Starting virtual machine.\n",
boinc_msg_prefix(buf, sizeof(buf))
);
command = "startvm \"" + vm_name + "\" --type headless";
retval = vbm_popen(command, output);
if (retval) {
@ -768,6 +773,11 @@ int VBOX_VM::stop() {
char buf[256];
int retval;
fprintf(
stderr,
"%s Stopping virtual machine.\n",
boinc_msg_prefix(buf, sizeof(buf))
);
command = "controlvm \"" + vm_name + "\" savestate";
retval = vbm_popen(command, output);
if (retval) {