On Tue, Apr 21, 2020 at 12:21:00PM -0400, Peter Xu wrote:
> This is a continuous work of previous discussion on memory transactions [1].
> It should be helpful to fail QEMU far earlier if there's misuse of BQL against
> the QEMU memory model.
>
> One example is run_on_cpu() during memory commit. That'll work previously, but
> it'll fail with very strange errors (like KVM ioctl failure due to memslot
> already existed, and it's not guaranteed to trigger constantly). Now it'll
> directly fail when run_on_cpu() is called.
>
> Please have a look, thanks.
>
> [1] https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg03205.html
Still think it as something good to have... Any comments? Thanks,
--
Peter Xu