mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
8499c8fca1
commit
07bfa35477
2 changed files with 35 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue