Re: [PATCH 0/2] vhost-vdpa: skip TPM CRB memory section

2023-06-21 Thread Peter Xu
On Tue, Jun 20, 2023 at 09:50:52PM +0200, Laurent Vivier wrote: > An error is reported for vhost-vdpa case: > qemu-kvm: vhost_vdpa_listener_region_add received unaligned region > > Marc-André has proposed a fix to this problem by skipping > the memory region owned by the TPM CRB but it seems more

[PATCH 0/2] vhost-vdpa: skip TPM CRB memory section

2023-06-20 Thread Laurent Vivier
An error is reported for vhost-vdpa case: qemu-kvm: vhost_vdpa_listener_region_add received unaligned region Marc-André has proposed a fix to this problem by skipping the memory region owned by the TPM CRB but it seems more generic to skip not DMA-able memory. We have a memory flag for that, RAM_