From: Hollis Blanchard <hollisb@us.ibm.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: kvm-devel <kvm-devel@lists.sourceforge.net>,
Christian Borntraeger <borntraeger@de.ibm.com>,
Avi Kivity <avi@qumranet.com>,
virtualization@lists.linux-foundation.org
Subject: Re: [RFC PATCH] virtio: change config to guest endian.
Date: Tue, 22 Apr 2008 17:33:52 -0500 [thread overview]
Message-ID: <200804221733.53386.hollisb@us.ibm.com> (raw)
In-Reply-To: <480E62ED.2090004@codemonkey.ws>
On Tuesday 22 April 2008 17:13:01 Anthony Liguori wrote:
> Hollis Blanchard wrote:
> > On Tuesday 22 April 2008 16:05:38 Rusty Russell wrote:
> >
> >> On Wednesday 23 April 2008 06:29:14 Hollis Blanchard wrote:
> >>
> >>> On Tuesday 22 April 2008 09:31:35 Rusty Russell wrote:
> >>>
> >>>> We may still regret not doing *everything* little-endian, but this
> >>>> doesn't make it worse.
> >>>>
> >>> Hmm, why *don't* we just do everything LE, including the ring?
> >>>
> >> Mainly because when requirements are in doubt, simplicity wins, I think.
> >>
> >
> > Well, I think the definition of simplicity is up for debate in this
> > case... "LE everywhere" is much simpler than "it depends", IMHO.
>
> You couldn't use the vringfd direct ring mapping optimization in KVM for
> PPC without teaching the kernel to access a vring in LE format. I'm
> pretty sure the later would get rejected on LKML anyway for vringfd as a
> generic mechanism.
You mean vringfd for use cases other than virtual IO drivers? I have a poor
imagination; can you give some examples?
Even then, it should be possible to have VIO drivers use a different set of
accessors, just like there are swapping and non-swapping accessors for real
IO, so I still don't see the problem.
--
Hollis Blanchard
IBM Linux Technology Center
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
next prev parent reply other threads:[~2008-04-22 22:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 3:57 [RFC PATCH] virtio: change config to guest endian Rusty Russell
2008-04-22 7:44 ` Christian Borntraeger
2008-04-22 14:40 ` Rusty Russell
2008-04-22 11:22 ` Avi Kivity
2008-04-22 14:31 ` Rusty Russell
2008-04-22 20:29 ` [kvm-devel] " Hollis Blanchard
2008-04-22 21:05 ` Rusty Russell
2008-04-22 22:08 ` Hollis Blanchard
2008-04-22 22:13 ` Anthony Liguori
2008-04-22 22:33 ` Hollis Blanchard [this message]
2008-04-22 23:53 ` Hollis Blanchard
2008-04-22 16:21 ` [kvm-devel] " Hollis Blanchard
2008-04-23 10:55 ` Christian Borntraeger
2008-04-23 12:38 ` Avi Kivity
2008-04-23 12:47 ` Christian Borntraeger
2008-04-23 15:53 ` [kvm-devel] " Rusty Russell
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=200804221733.53386.hollisb@us.ibm.com \
--to=hollisb@us.ibm.com \
--cc=anthony@codemonkey.ws \
--cc=avi@qumranet.com \
--cc=borntraeger@de.ibm.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=virtualization@lists.linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox