Lonely uq/master patch for 2014-02-24
Anthony, Peter,
The following changes since commit 7c08db30e6a43f7083a881eb07bfbc878e001e08:
target-i386: Move KVM default-vendor hack to instance_init (2014-02-03 17:33:55 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
Paolo
Alexander Graf (1):
KVM: Use return value for error print
kvm-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
[Qemu-devel] [PULL 1/1] KVM: Use return value for error print
From: Alexander Graf <[email protected]>
Commit 94ccff13 introduced a more verbose failure message and retry operations on KVM VM creation. However, it ended up using a variable for its failure message that hasn't been initialized yet.
Fix it to use the value it meant to set.
--- kvm-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kvm-all.c +1 -1
@@ -1427,7 +1427,7 @@ int kvm_init(void) }while (ret == -EINTR );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));#ifdef TARGET_S390X
Signature · 1 line
1.7.1
Re: [Qemu-devel] [Qemu-stable] [PULL 1/1] KVM: Use return value for error print
Quoting Paolo Bonzini (2014-02-25 04:44:56)
Quoted 11 lines
From: Alexander Graf <[email protected]>
Commit
94ccff13introduced a more verbose failure message and retry operations on KVM VM creation. However, it ended up using a variable for its failure message that hasn't been initialized yet.Fix it to use the value it meant to set.
Signed-off-by Alexander Graf <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>
Ping: last call for 1.7.1 (freeze today)
Quoted 19 lines
--- kvm-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)kvm-all.c +1
-1@@ -1427,7 +1427,7 @@ int kvm_init(void) }while (ret == -EINTR );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));#ifdef TARGET_S390X Signature · 1 line
1.7.1
Peter Maydell
AppliedQuoted 9 lines · Paolo Bonzini
Anthony, Peter,
The following changes since commit
7c08db30e6a43f7083a881eb07bfbc878e001e08:target-i386: Move KVM default-vendor hack to
instance_init(2014-02-03 17:33:55 +0100)are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gituq/master
Quoted 7 lines
Paolo
Alexander Graf (1):
KVM: Use return value for error printkvm-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks. (This didn't make it into my list of pull requests to process because it is missing the magic words "for you to fetch changes up to".)
-- PMM