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

Takuya Yoshikawa
2010-10-26T06:36:53Z

(2010/10/25 21:05), Michael S. Tsirkin wrote:
> On Mon, Oct 25, 2010 at 11:07:13AM +0200, Jan Kiszka wrote:
>> Cool, seems to be the key to the corruptions I've seen. Applying your
>> patch make them disappear.
>
> Yes, works for me as well.
>

I did some tests on my laptop:
- kvm.git + mst's patch
- qemu.git (upstream qemu)
and still got graphics curruption.

Corruption:
On usual Desktop environment, I opened two terminals on different
workspaces. Then as Jan did, I did "find /" loop on both of them.

During these heavy updates, I tried to switch between these
workspaces some times. Then, at some turn, some part of old
workspace's images like terminals and mouse cursor remained
in the new workspace.

I could refresh these by moving mouse over the problematic parts.
But without doing so, the images remained still.

Refresh is not working on virtual machines as I expect?

Thanks,
Takuya