kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix --disable-kvm build regression of commit 8c7d4cb
@ 2009-09-09 23:10 Daniel Gollub
  2009-09-10  9:43 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Gollub @ 2009-09-09 23:10 UTC (permalink / raw)
  To: avi; +Cc: kvm, Gleb Natapov

qemu-kvm --disable-kvm build regression of commit 8c7d4cb spotted by
qemu-kvm buildbot:

http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_i386_debian_5_0/builds/44
http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_x86_64_debian_5_0/builds/42

Signed-off-by: Daniel Gollub <gollub@b1-systems.de>

 qemu-kvm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qemu-kvm.h b/qemu-kvm.h
index 4be6afd..11350f7 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -1157,7 +1157,9 @@ static inline void kvm_arch_get_registers(CPUState *env)
 {
     kvm_arch_save_regs(env);
     kvm_arch_save_mpstate(env);
+#ifdef KVM_CAP_MP_STATE
     env->halted = (env->mp_state == KVM_MP_STATE_HALTED);
+#endif
 }
 
 static inline void kvm_arch_put_registers(CPUState *env)
--

-- 
Daniel Gollub                        Geschaeftsfuehrer: Ralph Dehner
FOSS Developer                       Unternehmenssitz:  Vohburg
B1 Systems GmbH                      Amtsgericht:       Ingolstadt
Mobil: +49-(0)-160 47 73 970         Handelsregister:   HRB 3537
EMail: gollub@b1-systems.de          http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix --disable-kvm build regression of commit 8c7d4cb
  2009-09-09 23:10 [PATCH] Fix --disable-kvm build regression of commit 8c7d4cb Daniel Gollub
@ 2009-09-10  9:43 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-09-10  9:43 UTC (permalink / raw)
  To: Daniel Gollub; +Cc: kvm, Gleb Natapov

On 09/10/2009 02:10 AM, Daniel Gollub wrote:
> qemu-kvm --disable-kvm build regression of commit 8c7d4cb spotted by
> qemu-kvm buildbot:
>
> http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_i386_debian_5_0/builds/44
> http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_x86_64_debian_5_0/builds/42
>
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-10  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 23:10 [PATCH] Fix --disable-kvm build regression of commit 8c7d4cb Daniel Gollub
2009-09-10  9:43 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).