* [PATCH] kvm: update document of gfns
@ 2010-05-07 8:47 Lai Jiangshan
2010-05-10 8:49 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Lai Jiangshan @ 2010-05-07 8:47 UTC (permalink / raw)
To: Avi Kivity, Marcelo Tosatti, LKML, kvm
When don't use ->gfns when role.direct=1, update document for it.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Requested-by: Avi Kivity <avi@redhat.com>
---
diff --git a/Documentation/kvm/mmu.txt b/Documentation/kvm/mmu.txt
index da04671..aec19ae 100644
--- a/Documentation/kvm/mmu.txt
+++ b/Documentation/kvm/mmu.txt
@@ -178,7 +178,9 @@ Shadow pages contain the following information:
guest pages as leaves.
gfns:
An array of 512 guest frame numbers, one for each present pte. Used to
- perform a reverse map from a pte to a gfn.
+ perform a reverse map from a pte to a gfn. When role.direct is set, any
+ element of this array can be calculated from the gfn field when used, in
+ this case, the array of gfns is not allocated. See role.direct and gfn.
slot_bitmap:
A bitmap containing one bit per memory slot. If the page contains a pte
mapping a page from memory slot n, then bit n of slot_bitmap will be set
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm: update document of gfns
2010-05-07 8:47 [PATCH] kvm: update document of gfns Lai Jiangshan
@ 2010-05-10 8:49 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-05-10 8:49 UTC (permalink / raw)
To: Lai Jiangshan; +Cc: Marcelo Tosatti, LKML, kvm
On 05/07/2010 11:47 AM, Lai Jiangshan wrote:
> When don't use ->gfns when role.direct=1, update document for it.
>
>
Please fold into the patch that does the change.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-10 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 8:47 [PATCH] kvm: update document of gfns Lai Jiangshan
2010-05-10 8:49 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).