|
From: | Laurent Vivier |
Subject: | Re: [PATCH 2/2] tpm_crb: mark memory as protected |
Date: | Thu, 22 Jun 2023 15:39:12 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 6/22/23 15:12, Peter Maydell wrote:
On Tue, 20 Jun 2023 at 20:51, Laurent Vivier <lvivier@redhat.com> wrote:This memory is not correctly aligned and cannot be registered by vDPA and VFIO.Isn't this a vDPA/VFIO problem? There's no requirement for RAM MemoryRegions to be aligned in any way. Code that doesn't want to work with small or weirdly aligned regions should skip them if that's the right behaviour for that particular code IMHO.
Marc-André proposed to modify vDPA code to skip the region but Michal disagreed: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg03670.html No one wants the modification, so the problem cannot be fixed. Thanks, Laurent
[Prev in Thread] | Current Thread | [Next in Thread] |