commit | ac04527f7947020c5890090b2ac87af4e98d977e | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Jun 08 15:52:39 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Wed Jun 10 15:17:58 2009 +0300 |
tree | 679e5c4773386d4543ef990c108d950594c20862 | |
parent | a0861c02a981c943573478ea13b29b1fb958ee5b [diff] |
KVM: Disable large pages on misaligned memory slots If a slots guest physical address and host virtual address unequal (mod large page size), then we would erronously try to back guest large pages with host large pages. Detect this misalignment and diable large page support for the trouble slot. Cc: stable@kernel.org Signed-off-by: Avi Kivity <avi@redhat.com>