diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-11-06 19:39:24 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-17 08:49:37 -0600 |
commit | 0e607a80d323ba9f46dee71cd07380c4eb5c2b0a (patch) | |
tree | 6426919c8428631c5aa96e51e63bf06e6120f89d /target-i386/cpu.h | |
parent | caa5af0ff364a23a2783fed0d597cad120455da8 (diff) |
kvm: x86: Refactor use of interrupt_bitmap
Drop interrupt_bitmap from the cpustate and solely rely on the integer
interupt_injected. This prepares us for the new injected-interrupt
interface, which will deprecate the bitmap, while preserving
compatibility.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 5929d28139..eb9532aef3 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -691,8 +691,8 @@ typedef struct CPUX86State { MTRRVar mtrr_var[8]; /* For KVM */ - uint64_t interrupt_bitmap[256 / 64]; uint32_t mp_state; + int32_t interrupt_injected; /* in order to simplify APIC support, we leave this pointer to the user */ @@ -709,7 +709,6 @@ typedef struct CPUX86State { uint16_t fpus_vmstate; uint16_t fptag_vmstate; uint16_t fpregs_format_vmstate; - int32_t pending_irq_vmstate; } CPUX86State; CPUX86State *cpu_x86_init(const char *cpu_model); |