Re: [PATCH RFC] kvm: write protect memory after slot swap

Avi Kivity
2010-10-25T11:50:59Z

On 10/25/2010 01:40 PM, Jan Kiszka wrote:
> >
> > Excellent catch, I stared at this code for a while and didn't see the
> > bug. Patch applied.
> >
>
> BTW, while this was an annoying one for graphic emulation, wasn't it
> potentially lethal for live migration?

Deadly. Yes autofs passed it happily.

We need a unit test that bangs on pages and the bitmap with tighter timing.

> The issue looks like is was introduced with the switch to SRCU, so every
> kernel since 2.6.34 should be affected, correct?

Yes.

--
error compiling committee.c: too many arguments to function