Re: [Alacrityvm-devel] [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model for vbus_driver objects

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefan Hajnoczi
Date: Thursday, August 20, 2009 - 2:57 am

On Wed, Aug 19, 2009 at 10:05 PM, Hollis Blanchard<hollisb@us.ibm.com> wrote:

Cross-platform virtio works when endianness is known in advance.  For
a hypervisor and a guest:
1. virtio-pci I/O registers use PCI endianness
2. vring uses guest endianness (hypervisor must byteswap)
3. guest memory buffers use guest endianness (hypervisor must byteswap)

I know of no existing way when endianness is not known in advance.
Perhaps a transport bit could be added to mark the endianness of the
guest/driver side.  This can be negotiated because virtio-pci has a
known endianness.  After negotiation, the host knows whether or not
byteswapping is necessary for structures in guest memory.

Stefan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 0/6] AlacrityVM guest drivers, Gregory Haskins, (Fri Aug 14, 8:42 am)
[PATCH v3 1/6] shm-signal: shared-memory signals, Gregory Haskins, (Fri Aug 14, 8:42 am)
[PATCH v3 4/6] vbus-proxy: add a pci-to-vbus bridge, Gregory Haskins, (Fri Aug 14, 8:43 am)
[PATCH v3 5/6] ioq: add driver-side vbus helpers, Gregory Haskins, (Fri Aug 14, 8:43 am)
[PATCH v3 6/6] net: Add vbus_enet driver, Gregory Haskins, (Fri Aug 14, 8:43 am)
configfs/sysfs, Avi Kivity, (Wed Aug 19, 1:12 pm)
Re: configfs/sysfs, Ingo Molnar, (Wed Aug 19, 1:48 pm)
Re: configfs/sysfs, Avi Kivity, (Wed Aug 19, 1:53 pm)
Re: configfs/sysfs, Nicholas A. Bellinger, (Wed Aug 19, 2:19 pm)
Re: configfs/sysfs, Gregory Haskins, (Wed Aug 19, 3:15 pm)
Re: configfs/sysfs, Joel Becker, (Wed Aug 19, 3:16 pm)
Re: [Alacrityvm-devel] configfs/sysfs, Alex Tsariounov, (Wed Aug 19, 4:48 pm)
Re: configfs/sysfs, Nicholas A. Bellinger, (Wed Aug 19, 4:54 pm)
Re: configfs/sysfs, Avi Kivity, (Wed Aug 19, 11:09 pm)
Re: [Alacrityvm-devel] [PATCH v3 3/6] vbus: add a "vbus-pr ..., Stefan Hajnoczi, (Thu Aug 20, 2:57 am)
Re: configfs/sysfs, Joel Becker, (Thu Aug 20, 3:48 pm)
Re: configfs/sysfs, Avi Kivity, (Thu Aug 20, 9:14 pm)