[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] Move mp_state to CPU_COMMON
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 1/4] Move mp_state to CPU_COMMON |
Date: |
Sat, 25 Jul 2009 01:16:43 +0200 |
MP State is implemented in the generic code, so let's move the variable
it accesses to generic code as well.
Unbreaks PPC w/ KVM.
Signed-off-by: Alexander Graf <address@hidden>
---
cpu-defs.h | 3 ++-
target-i386/cpu.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpu-defs.h b/cpu-defs.h
index d73ec0a..2482398 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -195,6 +195,7 @@ typedef struct CPUWatchpoint {
const char *cpu_model_str; \
struct KVMState *kvm_state; \
struct kvm_run *kvm_run; \
- int kvm_fd;
+ int kvm_fd; \
+ int mp_state;
#endif
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 08200ed..ce3fbc1 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -689,7 +689,6 @@ typedef struct CPUX86State {
/* For KVM */
uint64_t interrupt_bitmap[256 / 64];
- uint32_t mp_state;
/* in order to simplify APIC support, we leave this pointer to the
user */
--
1.6.0.2
- [Qemu-devel] [PATCH 0/4] PPC KVM bringup patches round 2 v2, Alexander Graf, 2009/07/24
- [Qemu-devel] [PATCH 1/4] Move mp_state to CPU_COMMON,
Alexander Graf <=
- [Qemu-devel] [PATCH 2/4] Use 64bit pointer for dirty log, Alexander Graf, 2009/07/24
- [Qemu-devel] [PATCH 3/4] PPC: Round VGA BIOS size to page boundary, Alexander Graf, 2009/07/24
- [Qemu-devel] [PATCH 4/4] Give the kernel more room, Alexander Graf, 2009/07/24
- Re: [Qemu-devel] [PATCH 3/4] PPC: Round VGA BIOS size to page boundary, Blue Swirl, 2009/07/25
- Re: [Qemu-devel] [PATCH 3/4] PPC: Round VGA BIOS size to page boundary, Alexander Graf, 2009/07/25
- Re: [Qemu-devel] [PATCH 3/4] PPC: Round VGA BIOS size to page boundary, Blue Swirl, 2009/07/27
Re: [Qemu-devel] [PATCH 1/4] Move mp_state to CPU_COMMON, Anthony Liguori, 2009/07/27