[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/8] memory: Sanity checks memory transaction when releasing
From: |
Peter Xu |
Subject: |
Re: [PATCH 0/8] memory: Sanity checks memory transaction when releasing BQL |
Date: |
Sat, 23 May 2020 16:30:18 -0400 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 0/8] memory: Sanity checks memory transaction when releasing BQL,
Peter Xu <=