Add filename to log

Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
This commit is contained in:
Rom Walton 2014-07-07 16:18:54 -04:00
parent acf54750a8
commit d252088210
1 changed files with 4 additions and 3 deletions

View File

@ -720,8 +720,9 @@ int VBOX_VM::create_vm() {
//
fprintf(
stderr,
"%s Adding virtual ISO 9660 disk drive to VM.\n",
vboxwrapper_msg_prefix(buf, sizeof(buf))
"%s Adding virtual ISO 9660 disk drive to VM. (%s)\n",
vboxwrapper_msg_prefix(buf, sizeof(buf)),
iso_image_filename.c_str()
);
command = "storageattach \"" + vm_name + "\" ";
command += "--storagectl \"Hard Disk Controller\" ";
@ -740,7 +741,7 @@ int VBOX_VM::create_vm() {
stderr,
"%s Adding virtual cache disk drive to VM. (%s)\n",
vboxwrapper_msg_prefix(buf, sizeof(buf)),
image_filename.c_str()
cache_disk_filename.c_str()
);
command = "storageattach \"" + vm_name + "\" ";
command += "--storagectl \"Hard Disk Controller\" ";