[PATCH] KVM: riscv: Only fast-path dirty-log write faults on host-writable leaves

SeungJu Cheon suunj1331 at gmail.com
Fri Nov 6 01:53:57 PST 2026


On Fri, Oct 23, 2026 at 8:57 PM Jinyu Tang <jinyu.tang at linux.dev> wrote:
> Tested on QEMU 10.2.1 with a private memfd mapping and dirty logging.
> A guest read followed by a write corrupts the shared backing without
> this fix; and with it, CoW occurs and the backing stays unchanged.
>
> Reviewed-by: Jinyu Tang <jinyu.tang at linux.dev>
>
> Thanks,
> Jinyu

Thanks for testing this with a private memfd mapping and for the
review.

I'll include the additional fix pointed out by Sashiko and Inochi
in v2 and carry your Reviewed-by, unless you'd rather take another
look.

Thanks,
SeungJu



More information about the kvm-riscv mailing list