[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: Avi Kivity
Subject: [Qemu-devel] Re: kvm crashes with spice while loading qxl
Date: Tue, 08 Mar 2011 11:32:55 +0200
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 Thunderbird/3.1.7

On 03/08/2011 11:28 AM, Paolo Bonzini wrote:
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.

Right, I just want the lock to do it automatically instead of sprinkling it everywhere we take a write lock.

error compiling committee.c: too many arguments to function

reply via email to

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