xen: backend driver core (Gerd Hoffmann)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 22 Apr 2009 15:19:15 +0000 (15:19 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 22 Apr 2009 15:19:15 +0000 (15:19 +0000)
commitd94f94862015f5f2416a99f2a56583951eee1453
tree34cacfd88a305067abeb16c64b3620e95305d8e8
parente37630ca4f5142a6830654d9801b473600417d5c
xen: backend driver core (Gerd Hoffmann)

This patch adds infrastructure for xen backend drivers living in qemu,
so drivers don't need to implement common stuff on their own.  It's
mostly xenbus management stuff: some functions to access xentore,
setting up xenstore watches, callbacks on device discovery and state
changes, handle event channel, ...

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7220 c046a42c-6fe2-441c-8c8c-71466251a162
Makefile.target
hw/xen_backend.c [new file with mode: 0644]
hw/xen_backend.h [new file with mode: 0644]
hw/xen_common.h [new file with mode: 0644]
hw/xen_machine_pv.c