qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 3/4] Add mp_state to PPC CPU struct


From: Alexander Graf
Subject: [Qemu-devel] Re: [PATCH 3/4] Add mp_state to PPC CPU struct
Date: Thu, 16 Jul 2009 19:20:59 +0200


On 16.07.2009, at 19:14, Juan Quintela wrote:

Alexander Graf <address@hidden> wrote:
Some generic code tries to access env->mp_state. Let's just make
it happy and provide it.
---
configure        |    2 ++
target-ppc/cpu.h |    4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index d832d17..1909591 100755
--- a/configure
+++ b/configure
@@ -1993,6 +1993,7 @@ case "$target_arch2" in
      echo "CONFIG_KVM=y" >> $config_mak
      echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
      echo "#define CONFIG_KVM 1" >> $config_h
+      echo "#define CONFIG_KVM_MP 1" >> $config_h
    fi
    if test "$xen" = "yes" -a "$target_softmmu" = "yes";
    then
@@ -2015,6 +2016,7 @@ case "$target_arch2" in
      echo "CONFIG_KVM=y" >> $config_mak
      echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
      echo "#define CONFIG_KVM 1" >> $config_h
+      echo "#define CONFIG_KVM_MP 1" >> $config_h
    fi
    if test "$xen" = "yes" -a "$target_softmmu" = "yes"
    then
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 59d47d2..5582a39 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -660,6 +660,10 @@ struct CPUPPCState {
    target_ulong hreset_vector;
#endif

+#ifdef CONFIG_KVM

Do you mean CONFIG_KVM_MP, right? or it is more subtle?

Ugh. Yeah I forgot to remove the CONFIG_KVM_MP stuff from the patch :)

Thanks for the catch

Alex





reply via email to

[Prev in Thread] Current Thread [Next in Thread]