cpu: assert host pointer offset within block
commitfd5f3b636788f79843d42188ed843c0416643326
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 12 Nov 2014 09:44:44 +0000 (12 11:44 +0200)
committerAmit Shah <amit.shah@redhat.com>
Tue, 16 Dec 2014 12:17:35 +0000 (16 17:47 +0530)
treeb9a249e3497b3140ec53143703341dcffa031931
parent1240be24357ee292f8d05aa2abfdba75dd0ca25d
cpu: assert host pointer offset within block

Make accesses safer in case we missed some
check somewhere.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
include/exec/cpu-all.h