diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2018-06-15 21:17:14 -0400 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2021-02-04 14:19:38 +0000 |
commit | 13ffb97a3b11998450d51457b6b3617781953f7c (patch) | |
tree | 9a0f9c256b9e3474a1396eec41c0d5a6045ac0e8 /arch/x86/include | |
parent | 1ea9f2ed81c4b058a3dc73b75d684a1f451ce714 (diff) | |
download | linux-13ffb97a3b11998450d51457b6b3617781953f7c.tar.gz linux-13ffb97a3b11998450d51457b6b3617781953f7c.tar.bz2 linux-13ffb97a3b11998450d51457b6b3617781953f7c.zip |
KVM: x86/xen: register shared_info page
Add KVM_XEN_ATTR_TYPE_SHARED_INFO to allow hypervisor to know where the
guest's shared info page is.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 016a005cc2ad..00d1233cfd55 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -908,6 +908,8 @@ struct msr_bitmap_range { /* Xen emulation context */ struct kvm_xen { bool long_mode; + bool shinfo_set; + struct gfn_to_hva_cache shinfo_cache; }; enum kvm_irqchip_mode { |