kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm-devel <kvm@vger.kernel.org>, Dor Laor <dlaor@redhat.com>,
	Yaniv Kamay <yaniv@redhat.com>
Subject: Re: kvm: qemu: stop/start cpus before/after devices
Date: Thu, 26 Mar 2009 20:45:58 +0200	[thread overview]
Message-ID: <49CBCD66.7080805@redhat.com> (raw)
In-Reply-To: <20090326163640.GA9927@amt.cnet>

Marcelo Tosatti wrote:
> You're right, they can't. But its not bad to make it explicit, instead
> of relying on the locking behaviour?
>   

You could say that we should depend on proper locking instead the order 
of things shutting down and starting up :)

It's not just a cpu that can access a device; another device could dma 
into it, so we need to quiesce the system first (including vcpus) and 
then pause all devices.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


      reply	other threads:[~2009-03-26 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 17:16 kvm: qemu: stop/start cpus before/after devices Marcelo Tosatti
2009-03-25 11:45 ` Avi Kivity
2009-03-25 14:26   ` Marcelo Tosatti
2009-03-25 14:39     ` Marcelo Tosatti
2009-03-25 14:52       ` Avi Kivity
2009-03-26 10:03       ` Avi Kivity
2009-03-26 16:36         ` Marcelo Tosatti
2009-03-26 18:45           ` Avi Kivity [this message]

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=49CBCD66.7080805@redhat.com \
    --to=avi@redhat.com \
    --cc=dlaor@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=yaniv@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).