]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Make xen-blkfront write its protocol ABI to xenstore
authorMarkus Armbruster <armbru@redhat.com>
Wed, 2 Apr 2008 17:54:02 +0000 (10:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:57:32 +0000 (23:57 +0200)
commitc6767b984c72c084f16335663abccce2544f8b88
treecbe48c21488b81652c3feb179a7d6584e7b5278c
parentdb548adb6619b9a9f4df36301ff800a8efc7f61b
xen: Make xen-blkfront write its protocol ABI to xenstore

Frontends are expected to write their protocol ABI to xenstore.  Since
the protocol ABI defaults to the backend's native ABI, things work
fine without that as long as the frontend's native ABI is identical to
the backend's native ABI.  This is not the case for xen-blkfront
running 32-on-64, because its ABI differs between 32 and 64 bit, and
thus needs this fix.

Based on http://xenbits.xensource.com/xen-unstable.hg?rev/c545932a18f3
and http://xenbits.xensource.com/xen-unstable.hg?rev/ffe52263b430 by
Gerd Hoffmann <kraxel@suse.de>

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/block/xen-blkfront.c
include/xen/interface/io/protocols.h [new file with mode: 0644]