summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDavid Hildenbrand2021-07-27 10:25:42 +0200
committerPaolo Bonzini2021-10-02 08:43:21 +0200
commit45e576c74533c70b38ba00f0c298dcdbc1635163 (patch)
treef0b5594a0f4520c097de83848d6d34e3295cbc60 /python
parentmonitor: Rate-limit MEMORY_DEVICE_SIZE_CHANGE qapi events per device (diff)
downloadqemu-45e576c74533c70b38ba00f0c298dcdbc1635163.tar.gz
qemu-45e576c74533c70b38ba00f0c298dcdbc1635163.tar.xz
qemu-45e576c74533c70b38ba00f0c298dcdbc1635163.zip
tpm: mark correct memory region range dirty when clearing RAM
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 <stefanb@linux.ibm.com> Fixes: ffab1be70692 ("tpm: clear RAM when "memory overwrite" requested") Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Alex Williamson <alex.williamson@redhat.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: Claudio Fontana <cfontana@suse.de> Cc: Thomas Huth <thuth@redhat.com> Cc: "Alex Bennée" <alex.bennee@linaro.org> Cc: Peter Xu <peterx@redhat.com> Cc: Laurent Vivier <lvivier@redhat.com> Cc: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <20210727082545.17934-2-david@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions