[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: kvm crashes with spice while loading qxl

From: Paolo Bonzini
Subject: [Qemu-devel] Re: kvm crashes with spice while loading qxl
Date: Tue, 08 Mar 2011 10:28:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 03/08/2011 10:17 AM, Avi Kivity wrote:
Memory map can be protected by a read-write lock initially, so that vcpu
thread holds it for read. Later can be converted to URCU.

rwlock is insufficient, need a way to force the vcpu off so a writer can
actually do something.

So we need some kind of priority rwlock where a reader lets the lock
know how it can force it off in case a writer comes along.

If the reader is the VCPU thread, the VCPU thread can always be bounced via qemu_cpu_kick.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]