Skip to contentSkip to conversation

Fix --disable-kvm build regression of commit 8c7d4cb

PATCH Applied Daniel Gollub 2 participants 2 messages Sep 9, 2009 – Sep 10, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix --disable-kvm build regression of commit 8c7d4cb

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

 qemu-kvm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
qemu-kvm.h +2 -0
index 4be6afd..11350f7 100644
@@ -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)

--

Signature · 8 lines
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: [email protected]          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