From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Tim Deegan <Tim.Deegan@eu.citrix.com>,
Daniel Castro <evil.dani@gmail.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"seabios@seabios.org" <seabios@seabios.org>,
Jan Beulich <JBeulich@novell.com>
Subject: Re: Ideas for PV on SeaBIOS - flush/barrier in QEMU
Date: Thu, 19 May 2011 13:00:36 -0400 [thread overview]
Message-ID: <20110519170036.GA14215@dumpdata.com> (raw)
In-Reply-To: <1305797813.20907.175.camel@zakaz.uk.xensource.com>
> As an aside we will also need to handle the case where the guest is not
> PV aware and hence uses the emulated devices and never triggers any of
> the above activities. So we need to ensure that the backends are sync'd
> even if none of the above takes place. The PV devices will remain open
> but that needn't be a problem if the guest never uses them.
>
> Possibly this means making sure all writes via this PV interface go
> straight to disk (using the appropriate barriers) or by having qemu do
>From an userspace perspective that is funneled via fdatasync. On
2.6.39 that becomes REQ_FLUSH|REQ_FUA which is correct-ish.
> the necessary flush when the emulated device is first used.
Hm, what is the HVM backend for 'phy' in QEMU mode? I've been
using 'file' which translates to qdisk (which does the proper
fdatasync on flush, thought not the proper flush on barrier
as the 2.6.39 fdatasync does not do the old-style barrier flush).
next prev parent reply other threads:[~2011-05-19 17:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 5:33 Ideas for PV on SeaBIOS Daniel Castro
2011-05-19 7:19 ` Keir Fraser
2011-05-19 8:01 ` [Xen-devel] " Ian Campbell
2011-05-21 7:39 ` Paolo Bonzini
2011-05-21 8:44 ` James Harper
2011-05-23 9:23 ` [Xen-devel] " Ian Campbell
2011-05-23 10:20 ` James Harper
2011-05-23 10:23 ` Ian Campbell
2011-05-19 7:44 ` James Harper
2011-05-19 8:08 ` Jan Beulich
2011-05-19 8:17 ` Juergen Gross
2011-05-19 8:20 ` Tim Deegan
2011-05-19 9:36 ` Ian Campbell
2011-05-19 15:02 ` Keir Fraser
2011-05-19 17:00 ` Konrad Rzeszutek Wilk [this message]
2011-05-19 9:32 ` James Harper
2011-05-21 13:38 ` [SeaBIOS] " Kevin O'Connor
2011-05-21 13:29 ` Kevin O'Connor
2011-05-23 5:24 ` Stefan Hajnoczi
2011-05-23 9:50 ` Ian Campbell
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=20110519170036.GA14215@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@novell.com \
--cc=Tim.Deegan@eu.citrix.com \
--cc=evil.dani@gmail.com \
--cc=seabios@seabios.org \
--cc=xen-devel@lists.xensource.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).