All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Xiongzi Ge <gexxx132@umn.edu>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] The first function called after migration for a block device
Date: Mon, 30 Jun 2014 16:35:53 +0200	[thread overview]
Message-ID: <53B175C9.3070806@redhat.com> (raw)
In-Reply-To: <CACtCCo85ftTWMPDVZ20Pdq_URKH2fTCeaeQ3TzKtN1-qsZotZA@mail.gmail.com>

Il 30/06/2014 16:03, Xiongzi Ge ha scritto:
> I tried. It invalidated the cache of the block device after migration.

It didn't invalidate anything in the guest, and there's *NO WAY* 
absolutely for QEMU to influence the cache in the guest.

Again: all you can do is use O_DIRECT in the guest.

> So, here, we can use a new cache for the block device after migration.

I don't understand what you mean.

> Is it right?  I can implement a simple block driver in block/ directory.

Probably not.

Paolo

  reply	other threads:[~2014-06-30 14:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-27 19:41 [Qemu-devel] The first function called after migration for a block device Xiongzi Ge
2014-06-27 21:49 ` Paolo Bonzini
2014-06-27 22:54   ` Xiongzi Ge
2014-06-30 10:48     ` Paolo Bonzini
2014-06-30 14:03       ` Xiongzi Ge
2014-06-30 14:35         ` Paolo Bonzini [this message]
2014-06-30 14:47           ` Xiongzi Ge
2014-06-30 15:13             ` Paolo Bonzini
2014-06-30 15:17               ` Xiongzi Ge

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=53B175C9.3070806@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=gexxx132@umn.edu \
    --cc=qemu-devel@nongnu.org \
    /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.