qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio_tswaps() vs virtio_ld/st_p()
@ 2015-01-19 11:35 Stefan Hajnoczi
  2015-01-19 11:45 ` Peter Maydell
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Hajnoczi @ 2015-01-19 11:35 UTC (permalink / raw)
  To: Greg Kurz; +Cc: qemu-devel

What is the difference between the virtio_tswaps() and
virtio_ld/st_p() families of functions?

Both seem to byteswap when necessary (i.e. host and device endianness
do not match).

Stefan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-19 13:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 11:35 [Qemu-devel] virtio_tswaps() vs virtio_ld/st_p() Stefan Hajnoczi
2015-01-19 11:45 ` Peter Maydell
2015-01-19 12:49   ` Greg Kurz
2015-01-19 12:53     ` Peter Maydell
2015-01-19 13:01       ` Paolo Bonzini
2015-01-19 13:10     ` Stefan Hajnoczi

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).