On Fri, May 21, 2021 at 08:59:17PM +0400, Marc-André Lureau wrote:
> What about my earlier suggestion to add a new
> "qemu_chr_be_disable_handlers()" (until update_read_handlers is called
> again to enable them and the set a different context)?

Yes this sounds both clean and easy indeed (while the other "wait BH run"
approach might be unclean from that pov as we need to do it manually with a
semaphore or something in both the BH and the main thread..).

-- 
Peter Xu


  • A bug of Monit... Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
    • Re: A bug... Marc-André Lureau
      • Re: A... Daniel P . Berrangé
        • R... Markus Armbruster
          • ... Peter Xu
            • ... Daniel P . Berrangé
              • ... Daniel P . Berrangé
                • ... Marc-André Lureau
                • ... Daniel P . Berrangé
                • ... Peter Xu
                • ... Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
                • ... Peter Xu
                • ... Daniel P . Berrangé

Reply via email to