summary refs log tree commit diff stats
path: root/hw/misc/aspeed_sdmc.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-06-29 17:50:48 +0200
committerStefano Stabellini <sstabellini@kernel.org>2016-08-30 15:01:01 -0700
commit4ada797b05a52ac824a710c67216b37739026a64 (patch)
tree27be3109cb23d8f228b32ea6ae801d88ad02ddb7 /hw/misc/aspeed_sdmc.c
parent12d2c4184c5ab60be3428b2bdea5ae66e8d5d960 (diff)
downloadfocaccia-qemu-4ada797b05a52ac824a710c67216b37739026a64.tar.gz
focaccia-qemu-4ada797b05a52ac824a710c67216b37739026a64.zip
xen: use native disk xenbus protocol if possible
The qdisk implementation is using the native xenbus protocol only in
case of no protocol specified at all. As using the explicit 32- or
64-bit protocol is slower than the native one due to copying requests
not by memcpy but element for element, this is not optimal.

Correct this by using the native protocol in case word sizes of
frontend and backend match.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/misc/aspeed_sdmc.c')
0 files changed, 0 insertions, 0 deletions