Thread (50 messages) 50 messages, 7 authors, 2016-03-18
STALE3741d
Revisions (5)
  1. v3 [diff vs current]
  2. v3 current
  3. v3 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]

[PATCH v3 00/16] KVM: arm64: GICv3 ITS emulation

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help