diff options
author | Scott Wood <scottwood@freescale.com> | 2011-06-15 03:34:41 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-12 14:16:37 +0400 |
commit | a4cd8b23ac5786943202c0174c717956947db43c (patch) | |
tree | 46e1dc4646d6c2a27fc83944e24aad1c1fafb292 /Documentation/virtual/kvm/ppc-pv.txt | |
parent | 9973d54eeafcd1c3a2e89f0f59280c4c1e03e73b (diff) | |
download | linux-a4cd8b23ac5786943202c0174c717956947db43c.tar.xz |
KVM: PPC: e500: enable magic page
This is a shared page used for paravirtualization. It is always present
in the guest kernel's effective address space at the address indicated
by the hypercall that enables it.
The physical address specified by the hypercall is not used, as
e500 does not have real mode.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'Documentation/virtual/kvm/ppc-pv.txt')
-rw-r--r-- | Documentation/virtual/kvm/ppc-pv.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/virtual/kvm/ppc-pv.txt b/Documentation/virtual/kvm/ppc-pv.txt index 3ab969c59046..2b7ce190cde4 100644 --- a/Documentation/virtual/kvm/ppc-pv.txt +++ b/Documentation/virtual/kvm/ppc-pv.txt @@ -68,9 +68,11 @@ page that contains parts of supervisor visible register state. The guest can map this shared page using the KVM hypercall KVM_HC_PPC_MAP_MAGIC_PAGE. With this hypercall issued the guest always gets the magic page mapped at the -desired location in effective and physical address space. For now, we always -map the page to -4096. This way we can access it using absolute load and store -functions. The following instruction reads the first field of the magic page: +desired location. The first parameter indicates the effective address when the +MMU is enabled. The second parameter indicates the address in real mode, if +applicable to the target. For now, we always map the page to -4096. This way we +can access it using absolute load and store functions. The following +instruction reads the first field of the magic page: ld rX, -4096(0) |