On 6/25/20 9:20 AM, Peter Maydell wrote:
> On Fri, 5 Jun 2020 at 05:17, Richard Henderson
>> @@ -787,9 +788,11 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong
>> old_size,
>> new_addr = -1;
>> } else {
>> new_addr = h2g(host_addr);
>> + /* FIXME: Move page flags and target_data for each page. */
>
> Is this something we're going to address later in the patchset?
I've removed the comment.
The mremap system call is not as general as I think it should be. It only
applies to MAP_SHARED vmas and returns EINVAL on MAP_PRIVATE. Therefore, at
least for the MTE usage of target_data, there cannot be any.
r~