diff options
author | David Woodhouse | 2022-12-26 12:03:19 +0000 |
---|---|---|
committer | Paolo Bonzini | 2022-12-27 06:01:49 -0500 |
commit | b0305c1e0e27ad91187bc6d5ac3d502799faf239 (patch) | |
tree | 101f1249d52601a669caf2c5d946d8c8f4a8fa35 /arch/openrisc | |
parent | 1c14faa5087db0a098c3ab1e183f2b5df4b0d3f2 (diff) |
KVM: x86/xen: Add KVM_XEN_INVALID_GPA and KVM_XEN_INVALID_GFN to uapi
These are (uint64_t)-1 magic values are a userspace ABI, allowing the
shared info pages and other enlightenments to be disabled. This isn't
a Xen ABI because Xen doesn't let the guest turn these off except with
the full SHUTDOWN_soft_reset mechanism. Under KVM, the userspace VMM is
expected to handle soft reset, and tear down the kernel parts of the
enlightenments accordingly.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20221226120320.1125390-5-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions