On Wed, 3 Feb 2021 at 19:00, Richard Henderson <[email protected]> wrote: > > We're currently open-coding the range check in access_ok; > use guest_range_valid when size != 0. > > Signed-off-by: Richard Henderson <[email protected]> > --- > linux-user/qemu.h | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/linux-user/qemu.h b/linux-user/qemu.h > index 9fbc5edc4b..ba122a7903 100644 > --- a/linux-user/qemu.h > +++ b/linux-user/qemu.h > @@ -493,12 +493,9 @@ extern unsigned long guest_stack_size; > Reviewed-by: Peter Maydell <[email protected]>
thanks -- PMM
