diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2024-11-08 15:42:05 +0800 |
|---|---|---|
| committer | Bibo Mao <maobibo@loongson.cn> | 2024-12-19 15:23:30 +0800 |
| commit | ff09444a88af9f5d55b9e315aa16d3ace1f25211 (patch) | |
| tree | 5abe13bf4fe12844555f1b479ced99e7610b91e3 /include/hw | |
| parent | 272c467a48815e77db89b69dcd251b9f5b22203e (diff) | |
| download | focaccia-qemu-ff09444a88af9f5d55b9e315aa16d3ace1f25211.tar.gz focaccia-qemu-ff09444a88af9f5d55b9e315aa16d3ace1f25211.zip | |
hw/intc/loongarch_extioi: Add pre_save interface
Add vmstate pre_save interface, which can be used extioi kvm driver in future. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/intc/loongarch_extioi_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/intc/loongarch_extioi_common.h b/include/hw/intc/loongarch_extioi_common.h index d45caa45f2..f6bc778a85 100644 --- a/include/hw/intc/loongarch_extioi_common.h +++ b/include/hw/intc/loongarch_extioi_common.h @@ -92,6 +92,7 @@ struct LoongArchExtIOICommonClass { SysBusDeviceClass parent_class; DeviceRealize parent_realize; + int (*pre_save)(void *s); int (*post_load)(void *s, int version_id); }; #endif /* LOONGARCH_EXTIOI_H */ |