VBOX: When starting a VM, include its name and slot number in the stderr text.

This commit is contained in:
Rom Walton 2014-11-19 16:15:22 -05:00
parent b2c9ab132b
commit 715e0b2bb8
2 changed files with 7 additions and 3 deletions

View File

@ -1950,8 +1950,10 @@ int VBOX_VM::start() {
fprintf(
stderr,
"%s Starting VM.\n",
"%s Starting VM. (%s, slot#%d)\n",
vboxwrapper_msg_prefix(buf, sizeof(buf))
vm_name.c_str(),
aid.slot
);

View File

@ -359,7 +359,7 @@ int VBOX_VM::create_vm() {
fprintf(
stderr,
"%s Create VM. (%s, slot#%d) \n",
"%s Create VM. (%s, slot#%d)\n",
vboxwrapper_msg_prefix(buf, sizeof(buf)),
vm_name.c_str(),
aid.slot
@ -1159,8 +1159,10 @@ int VBOX_VM::start() {
fprintf(
stderr,
"%s Starting VM.\n",
"%s Starting VM. (%s, slot#%d)\n",
vboxwrapper_msg_prefix(buf, sizeof(buf))
vm_name.c_str(),
aid.slot
);
string command;