aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-05 23:36:27 -0300
committerAvi Kivity <avi@qumranet.com>2008-06-12 15:55:11 +0300
commit5f1f6e840baafa06e0405f2c1d18da3a73709931 (patch)
treeef9c57d2e1ab3c150c7ec1ba07f1c8035dc5bbc3 /target-ia64
parentkvm: kvmtrace: kvmtrace_format for supporting big_endian (diff)
downloadqemu-kvm-5f1f6e840baafa06e0405f2c1d18da3a73709931.tar.gz
qemu-kvm-5f1f6e840baafa06e0405f2c1d18da3a73709931.tar.bz2
qemu-kvm-5f1f6e840baafa06e0405f2c1d18da3a73709931.zip
Remove env->ready_for_interrupt_injection
There's no need to polute the already poluted CPUState with "ready_for_interrupt_injection". We can compute it in the few times we use it, and be fine. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'target-ia64')
-rw-r--r--target-ia64/cpu.h2
-rw-r--r--target-ia64/op_helper.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/target-ia64/cpu.h b/target-ia64/cpu.h
index 97358eec9..f8e5e8aaf 100644
--- a/target-ia64/cpu.h
+++ b/target-ia64/cpu.h
@@ -51,8 +51,6 @@ typedef struct CPUIA64State {
int user_mode_only;
uint32_t hflags;
- uint8_t ready_for_interrupt_injection;
-
} CPUIA64State;
#define CPUState CPUIA64State
diff --git a/target-ia64/op_helper.c b/target-ia64/op_helper.c
index 4969ef75b..f582023f4 100644
--- a/target-ia64/op_helper.c
+++ b/target-ia64/op_helper.c
@@ -36,7 +36,6 @@ CPUState *cpu_ia64_init(char *cpu_model){
cpu_reset(env);
if (kvm_enabled()) {
kvm_qemu_init_env(env);
- env->ready_for_interrupt_injection = 1;
kvm_init_new_ap(env->cpu_index, env);
}
return env;