qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 03/13] char: chardevice hotswap


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v5 03/13] char: chardevice hotswap
Date: Wed, 5 Jul 2017 17:39:59 -0400 (EDT)

> So instead we'll need to use proper locks in each of the front-ends?

Hi,

the only front-end actually writing from multiple threads is the monitor.
You can skip everything else, as it will be locked on the "big QEMU lock".

Paolo

> Or do you mean that it can be skipped for the most of them? I don't know
> about all possible threading cases.
> e.g. for serial/virtio-serial? Will they always share the same thread
> with hmp/qmp driven chardev-change command? And won't yield and hotswap
> in the middle of some write handler?
> 
> /Anton
> 



reply via email to

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