diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2013-06-07 16:51:24 +0800 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-06-27 14:18:15 +0300 |
commit | f2fd125d32822ee32779551a70d256a7c27dbe40 (patch) | |
tree | 76c09c50170f32db0587b3e5883f8e1b1b4f245e /net/ipv4/ipmr.c | |
parent | 885032b91042288f98d3888c2aaf3a108d348d5c (diff) | |
download | linux-f2fd125d32822ee32779551a70d256a7c27dbe40.tar.gz linux-f2fd125d32822ee32779551a70d256a7c27dbe40.tar.bz2 linux-f2fd125d32822ee32779551a70d256a7c27dbe40.zip |
KVM: MMU: store generation-number into mmio spte
Store the generation-number into bit3 ~ bit11 and bit52 ~ bit61, totally
19 bits can be used, it should be enough for nearly all most common cases
In this patch, the generation-number is always 0, it will be changed in
the later patch
[Gleb: masking generation bits from spte in get_mmio_spte_gfn() and
get_mmio_spte_access()]
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/ipv4/ipmr.c')
0 files changed, 0 insertions, 0 deletions