aboutsummaryrefslogtreecommitdiff
path: root/include/hw/i386/apic_internal.h
diff options
context:
space:
mode:
authorPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>2017-01-26 15:34:29 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-01-27 18:07:30 +0100
commit07bfa354772f2de67008dc66c201b627acff0106 (patch)
tree1c4015102cae8c21729db36bcca0155ba780f940 /include/hw/i386/apic_internal.h
parent8499c8fca1ee9af86f1ad8d6daaddf053830aca2 (diff)
downloadqemu-07bfa354772f2de67008dc66c201b627acff0106.zip
qemu-07bfa354772f2de67008dc66c201b627acff0106.tar.gz
qemu-07bfa354772f2de67008dc66c201b627acff0106.tar.bz2
apic: save apic_delivered flag
This patch implements saving/restoring of static apic_delivered variable. v8: saving static variable only for one of the APICs Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-Id: <20170126123429.5412.94368.stgit@PASHA-ISP> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/i386/apic_internal.h')
-rw-r--r--include/hw/i386/apic_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i386/apic_internal.h b/include/hw/i386/apic_internal.h
index 1209eb4..20ad28c 100644
--- a/include/hw/i386/apic_internal.h
+++ b/include/hw/i386/apic_internal.h
@@ -189,6 +189,8 @@ struct APICCommonState {
DeviceState *vapic;
hwaddr vapic_paddr; /* note: persistence via kvmvapic */
bool legacy_instance_id;
+
+ int apic_irq_delivered; /* for saving static variable */
};
typedef struct VAPICState {