Merge remote-tracking branch 'remotes/kvm/uq/master' into staging
* remotes/kvm/uq/master: KVM: Use return value for error print Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
9fbee91a13
@ -1435,7 +1435,7 @@ int kvm_init(void)
|
|||||||
} while (ret == -EINTR);
|
} while (ret == -EINTR);
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr, "ioctl(KVM_CREATE_VM) failed: %d %s\n", -s->vmfd,
|
fprintf(stderr, "ioctl(KVM_CREATE_VM) failed: %d %s\n", -ret,
|
||||||
strerror(-ret));
|
strerror(-ret));
|
||||||
|
|
||||||
#ifdef TARGET_S390X
|
#ifdef TARGET_S390X
|
||||||
|
Loading…
Reference in New Issue
Block a user