On Tue, Jul 27, 2021 at 10:25:42AM +0200, David Hildenbrand wrote:
> We might not start at the beginning of the memory region. Let's
> calculate the offset into the memory region via the difference in the
> host addresses.
> 
> Acked-by: Stefan Berger <stef...@linux.ibm.com>
> Fixes: ffab1be70692 ("tpm: clear RAM when "memory overwrite" requested")
> Cc: Marc-André Lureau <marcandre.lur...@redhat.com>
> Cc: Paolo Bonzini <pbonz...@redhat.com>
> Cc: "Michael S. Tsirkin" <m...@redhat.com>
> Cc: Eduardo Habkost <ehabk...@redhat.com>
> Cc: Alex Williamson <alex.william...@redhat.com>
> Cc: Dr. David Alan Gilbert <dgilb...@redhat.com>
> Cc: Igor Mammedov <imamm...@redhat.com>
> Cc: Claudio Fontana <cfont...@suse.de>
> Cc: Thomas Huth <th...@redhat.com>
> Cc: "Alex Bennée" <alex.ben...@linaro.org>
> Cc: Peter Xu <pet...@redhat.com>
> Cc: Laurent Vivier <lviv...@redhat.com>
> Cc: Stefan Berger <stef...@linux.vnet.ibm.com>
> Signed-off-by: David Hildenbrand <da...@redhat.com>

Reviewed-by: Peter Xu <pet...@redhat.com>

-- 
Peter Xu


Reply via email to