]> git.proxmox.com Git - qemu.git/commit
exec: check offset_within_address_space for register subpage
authorHu Tao <hutao@cn.fujitsu.com>
Thu, 29 Aug 2013 10:21:16 +0000 (18:21 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 03:37:49 +0000 (22:37 -0500)
commit1110014801d368388bca2ed7c28aa695560c4991
treed12c0d313a7db1c657aa31a988fdca694b5e7954
parent2a93d3dd32386c3522cfa2ee60c9e06a298d1f52
exec: check offset_within_address_space for register subpage

If offset_within_address_space falls in a page, then we register a
subpage. So check offset_within_address_space rather than
offset_within_region.

Cc: qemu-stable@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 88266249701032211c1d7449460d063fbc01bf12)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c