diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2018-06-29 10:54:50 -0400 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2023-03-01 08:22:49 +0000 |
commit | c345104cd1d17e1e801b99a216fa3654cdcbce35 (patch) | |
tree | cd754acc9b9545e864970e05615b0fc86b49d10b /hw/timer | |
parent | d70bd6a485d54ff60a6dd708c51b5c0ba679056f (diff) | |
download | qemu-c345104cd1d17e1e801b99a216fa3654cdcbce35.zip qemu-c345104cd1d17e1e801b99a216fa3654cdcbce35.tar.gz qemu-c345104cd1d17e1e801b99a216fa3654cdcbce35.tar.bz2 |
i386/xen: handle VCPUOP_register_vcpu_info
Handle the hypercall to set a per vcpu info, and also wire up the default
vcpu_info in the shared_info page for the first 32 vCPUs.
To avoid deadlock within KVM a vCPU thread must set its *own* vcpu_info
rather than it being set from the context in which the hypercall is
invoked.
Add the vcpu_info (and default) GPA to the vmstate_x86_cpu for migration,
and restore it in kvm_arch_put_registers() appropriately.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions