mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-23 15:34:28 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user