Merge pull request #54 from jodh-intel/show-qemu-path-on-launch

qemu: Show full path to qemu binary at launch time
This commit is contained in:
Rob Bradford 2018-10-03 16:48:47 +01:00 committed by GitHub
commit 53c0c33bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1740,11 +1740,11 @@ func LaunchCustomQemu(ctx context.Context, path string, params []string, fds []*
var stderr bytes.Buffer
cmd.Stderr = &stderr
logger.Infof("launching qemu with: %v", params)
logger.Infof("launching %s with: %v", path, params)
err := cmd.Run()
if err != nil {
logger.Errorf("Unable to launch qemu: %v", err)
logger.Errorf("Unable to launch %s: %v", path, err)
errStr = stderr.String()
logger.Errorf("%s", errStr)
}