qemu-e2k/include
Eric Auger cddafd8f35 hw/intc/arm_gicv3_its: Implement state save/restore
We need to handle both registers and ITS tables. While
register handling is standard, ITS table handling is more
challenging since the kernel API is devised so that the
tables are flushed into guest RAM and not in vmstate buffers.

Flushing the ITS tables on device pre_save() is too late
since the guest RAM is already saved at this point.

Table flushing needs to happen when we are sure the vcpus
are stopped and before the last dirty page saving. The
right point is RUN_STATE_FINISH_MIGRATE but sometimes the
VM gets stopped before migration launch so let's simply
flush the tables each time the VM gets stopped.

For regular ITS registers we just can use vmstate pre_save()
and post_load() callbacks.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 1497023553-18411-3-git-send-email-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-06-13 14:57:00 +01:00
..
block nbd/client.c: use errp instead of LOG 2017-06-06 20:18:36 +02:00
chardev char: fix alias devices regression 2017-06-08 17:57:36 +04:00
crypto
disas
exec tb-hash: improve tb_jmp_cache hash function in user mode 2017-06-05 09:25:42 -07:00
fpu
hw hw/intc/arm_gicv3_its: Implement state save/restore 2017-06-13 14:57:00 +01:00
io
libdecnumber
migration migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
monitor
net
qapi qapi: Document visit_type_any() issues with keyval input 2017-05-31 16:04:05 +02:00
qemu timer.h: Provide better monotonic time 2017-06-13 14:56:59 +01:00
qom numa: move numa_node from CPUState into target specific classes 2017-06-05 14:59:09 -03:00
standard-headers
sysemu kvm-all: Pass an error object to kvm_device_access 2017-06-13 14:57:00 +01:00
ui
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h