diff options
author | Alexander Graf <agraf@suse.de> | 2010-08-30 22:25:39 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 04:52:22 -0400 |
commit | d1e87c7ee65a20b10faf7e59dbe2cc934c32473b (patch) | |
tree | 8f28ef6f662e391e0c7b4dcc387927eb2aba2979 /Documentation | |
parent | 344941beb9926418663e171a347d1a31d727fe45 (diff) |
KVM: PPC: Add documentation for magic page enhancements
This documents how to detect additional features inside the magic
page when a guest maps it.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kvm/ppc-pv.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/kvm/ppc-pv.txt b/Documentation/kvm/ppc-pv.txt index 922cf954bd99..a7f2244b3be9 100644 --- a/Documentation/kvm/ppc-pv.txt +++ b/Documentation/kvm/ppc-pv.txt | |||
@@ -102,6 +102,20 @@ struct kvm_vcpu_arch_shared { | |||
102 | Additions to the page must only occur at the end. Struct fields are always 32 | 102 | Additions to the page must only occur at the end. Struct fields are always 32 |
103 | or 64 bit aligned, depending on them being 32 or 64 bit wide respectively. | 103 | or 64 bit aligned, depending on them being 32 or 64 bit wide respectively. |
104 | 104 | ||
105 | Magic page features | ||
106 | =================== | ||
107 | |||
108 | When mapping the magic page using the KVM hypercall KVM_HC_PPC_MAP_MAGIC_PAGE, | ||
109 | a second return value is passed to the guest. This second return value contains | ||
110 | a bitmap of available features inside the magic page. | ||
111 | |||
112 | The following enhancements to the magic page are currently available: | ||
113 | |||
114 | KVM_MAGIC_FEAT_SR Maps SR registers r/w in the magic page | ||
115 | |||
116 | For enhanced features in the magic page, please check for the existence of the | ||
117 | feature before using them! | ||
118 | |||
105 | MSR bits | 119 | MSR bits |
106 | ======== | 120 | ======== |
107 | 121 | ||