]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.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)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Sep 2013 16:11:37 +0000 (18:11 +0200)
commit88266249701032211c1d7449460d063fbc01bf12
tree117a640abbe2a15148c54035cf423d44c19dfac3
parent098178f2749a63fbbb1a626dcc7d939d5cb2bde7
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>
exec.c