[RFC PATCH] KVM: arm/arm64: Don't let userspace update CNTVOFF once guest is running

Peter Maydell peter.maydell at linaro.org
Thu Jun 25 02:10:04 PDT 2015


On 25 June 2015 at 09:59, Claudio Fontana <claudio.fontana at huawei.com> wrote:
> Once the VM is created, I think QEMU should not request kvm to
> change the virtual offset of the VM anymore: maybe an unexpected
> consequence of QEMU's target-arm/kvm64.c::kvm_arch_put_registers ?

Hmm. In general we assume that we can:
 * stop the VM
 * read all the guest system registers
 * write those values back again
 * restart the VM

if we need to. Is that what's happening here, or are we doing
something odder?

-- PMM



More information about the linux-arm-kernel mailing list