commit | 9c5b11728344e1085593f494ddc8838497e7ffde | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Fri Aug 03 15:43:51 2012 +0800 |
committer | Avi Kivity <avi@redhat.com> | Mon Aug 06 16:04:59 2012 +0300 |
tree | 0452dc0149bbc6ed01001b7807e902e9d2102148 | |
parent | 32cad84f44d186654492f1a50a1424c8906ccbd9 [diff] |
KVM: let the error pfn not depend on error code Currently, we use the error code as error pfn to indicat the error condition, it is not straightforward and it will not work on PAE 32-bit cpu with huge memory, since the valid physical address can be at most 52 bits For the normal pfn, the highest 12 bits should be zero, so we can mask these bits to indicate the error. Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>