[PATCH v3 00/16] KVM: arm64: GICv3 ITS emulation
From: Christoffer Dall <hidden>
Date: 2016-03-13 18:16:08
Also in:
kvm, kvmarm
From: Christoffer Dall <hidden>
Date: 2016-03-13 18:16:08
Also in:
kvm, kvmarm
On Wed, Mar 09, 2016 at 12:35:26PM +0100, Tomasz Nowicki wrote:
Hi Andre,
Forgive me if anybody already asked this question for previous
series versions.
The review is still pending so it is worth to ask. What is your idea
for saving and restoring vITS state? I notice device, itte and
collection linked lists which are essential for vITS state. Of
course it is not feasible to transfer these list to e.g. QEMU using
KVM_{GET|SET}_DEVICE_ATTR.If I recall correctly these items are the ones stored in memory on real hardware, and not in hardware registers. We had an idea where userspace asks the kernel vgic to flush its internal cache into the memory allocated by the guest driver for the vITS data structures and then the state would be transferred across to the new VM via the memory transfer mechanism. Only caveat there I think was that we had to decide on a storage format in those memory regions, to allow QEMU to understand the state and to ensure back/forwards compatibility between KVM versions. -Christoffer