From: Hollis Blanchard <hollisb@us.ibm.com>
To: Avi Kivity <avi@qumranet.com>
Cc: kvm-devel <kvm-devel@lists.sourceforge.net>,
Christian Borntraeger <borntraeger@de.ibm.com>,
virtualization@lists.linux-foundation.org
Subject: Re: [kvm-devel] [RFC PATCH] virtio: change config to guest endian.
Date: Tue, 22 Apr 2008 11:21:21 -0500 [thread overview]
Message-ID: <200804221121.22179.hollisb@us.ibm.com> (raw)
In-Reply-To: <480DCA88.4010407@qumranet.com>
On Tuesday 22 April 2008 06:22:48 Avi Kivity wrote:
> Rusty Russell wrote:
> > [Christian, Hollis, how much is this ABI breakage going to hurt you?]
> >
> > A recent proposed feature addition to the virtio block driver revealed
> > some flaws in the API, in particular how easy it is to break big
> > endian machines.
> >
> > The virtio config space was originally chosen to be little-endian,
> > because we thought the config might be part of the PCI config space
> > for virtio_pci. It's actually a separate mmio region, so that
> > argument holds little water; as only x86 is currently using the virtio
> > mechanism, we can change this (but must do so now, before the
> > impending s390 and ppc merges).
>
> This will probably annoy Hollis which has guests that can go both ways.
Rusty and I have discussed it. Ultimately, this just takes us from a
cross-architecture endianness definition to a per-architecture definition.
Anyways, we've already fallen into this situation with the virtio ring data
itself, so we're really saying "same endianness as the ring".
--
Hollis Blanchard
IBM Linux Technology Center
next prev parent reply other threads:[~2008-04-22 16:21 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
2008-04-22 23:53 ` Hollis Blanchard
2008-04-22 16:21 ` Hollis Blanchard [this message]
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=200804221121.22179.hollisb@us.ibm.com \
--to=hollisb@us.ibm.com \
--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