xemu/hw/tpm
Anthony PERARD e37a0ef460 tpm_crb: mark command buffer as dirty on request completion
At the moment, there doesn't seems to be any way to know that QEMU
made modification to the command buffer. This is potentially an issue
on Xen while migrating a guest, as modification to the buffer after
the migration as started could be ignored and not transfered to the
destination.

Mark the memory region of the command buffer as dirty once a request
is completed.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20220411144749.47185-1-anthony.perard@citrix.com
2022-06-07 20:37:25 -04:00
..
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
meson.build meson: convert hw/tpm 2020-08-21 06:30:27 -04:00
tpm_crb.c tpm_crb: mark command buffer as dirty on request completion 2022-06-07 20:37:25 -04:00
tpm_ppi.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
tpm_ppi.h hw/tpm: Clean includes 2022-02-21 10:18:06 +01:00
tpm_prop.h qdev: Move qdev_prop_tpm declaration to tpm_prop.h 2020-12-18 15:20:17 -05:00
tpm_spapr.c tpm: tpm_spapr: Remove unused tracepoint 2021-01-25 20:56:38 -05:00
tpm_tis_common.c hw/tpm/tpm_tis_common.c: Assert that locty is in range 2022-06-01 16:49:35 -04:00
tpm_tis_isa.c hw/isa: Inline and remove one-line isa_init_irq() 2022-03-08 19:38:17 +01:00
tpm_tis_sysbus.c tpm: put some tpm devices into the correct category 2021-02-20 12:36:19 +01:00
tpm_tis.h hw/tpm: Do not include 'qemu/osdep.h' in header 2020-06-19 07:24:59 -04:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00