All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, Maxim Levitsky <mlevitsk@redhat.com>
Subject: Re: Question about scsi device hotplug (e.g scsi-hd)
Date: Fri, 03 Apr 2020 15:45:45 +0200	[thread overview]
Message-ID: <87a73s4r92.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20200403124145.GC146016@stefanha-x1.localdomain> (Stefan Hajnoczi's message of "Fri, 3 Apr 2020 13:41:45 +0100")

Stefan Hajnoczi <stefanha@gmail.com> writes:

[...]
> It would be nice to have a general solution in qdev core that makes
> thread-safe hotplug easy for all devices.

Excuse my ignorance / confusion...

The "realize" concept exists to enable

    create device
    configure / wire up step by step without impact on the guest
    realize, device becomes "real" atomically

How and why does this break down with threads?



  reply	other threads:[~2020-04-03 13:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31 16:16 Question about scsi device hotplug (e.g scsi-hd) Maxim Levitsky
2020-04-01 15:09 ` Stefan Hajnoczi
2020-04-01 16:36   ` Paolo Bonzini
2020-04-02  5:37     ` Markus Armbruster
2020-04-02  8:49       ` Paolo Bonzini
2020-04-02  8:46     ` Maxim Levitsky
2020-04-03 12:41       ` Stefan Hajnoczi
2020-04-03 13:45         ` Markus Armbruster [this message]
2020-04-03 13:51           ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a73s4r92.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=mlevitsk@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.