summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorQiao Nuohan <qiaonuohan@cn.fujitsu.com>2013-05-30 17:07:54 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2013-05-31 09:02:31 -0400
commitbff63471ced94e3a6de76b1a7375a875178d6cdc (patch)
tree3f6f111d33fc6c5ce79d395a9d0dfbbe1709264b /scripts/qapi-types.py
parentfbc2ed9518efcdcdcbf0adb9539c17a65addd20a (diff)
downloadfocaccia-qemu-bff63471ced94e3a6de76b1a7375a875178d6cdc.tar.gz
focaccia-qemu-bff63471ced94e3a6de76b1a7375a875178d6cdc.zip
target-i386: Fix mask of pte index in memory mapping
Function walk_pte() needs pte index to calculate virtual address.
However, pte index of PAE paging or IA-32e paging is 9 bit, so the mask
should be 0x1ff.

Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
Reviewed-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions