diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-18 10:58:47 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-18 10:58:47 +0000 |
commit | 45b676a245020c41675e97fd6a5d5a629d110d0e (patch) | |
tree | 5351bb610bd772195d3f00cfc31dd8fe7c8b8819 /tools/blktap/lib | |
parent | 566fa0e0bfb4a864e1d52cafd9bb5d6412792863 (diff) | |
download | xen-45b676a245020c41675e97fd6a5d5a629d110d0e.tar.gz xen-45b676a245020c41675e97fd6a5d5a629d110d0e.tar.bz2 xen-45b676a245020c41675e97fd6a5d5a629d110d0e.zip |
Use ioemu block drivers through blktap.
Add support for a tap:ioemu pseudo driver. Devices using this driver
won't use tapdisk (containing the code duplication) any more, but will
connect to the qemu-dm of the domain. In this way no working
configuration should be broken right now as you can still choose to
use the tapdisk drivers.
Signed-off-by: Kevin Wolf <kwolf@suse.de>
Diffstat (limited to 'tools/blktap/lib')
-rw-r--r-- | tools/blktap/lib/blktaplib.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/blktap/lib/blktaplib.h b/tools/blktap/lib/blktaplib.h index d31a7fac92..77aca53651 100644 --- a/tools/blktap/lib/blktaplib.h +++ b/tools/blktap/lib/blktaplib.h @@ -221,15 +221,5 @@ int xs_fire_next_watch(struct xs_handle *h); ((_req) * BLKIF_MAX_SEGMENTS_PER_REQUEST * getpagesize()) + \ ((_seg) * getpagesize())) -/* Defines that are only used by library clients */ - -#ifndef __COMPILING_BLKTAP_LIB - -static char *blkif_op_name[] = { - [BLKIF_OP_READ] = "READ", - [BLKIF_OP_WRITE] = "WRITE", -}; - -#endif /* __COMPILING_BLKTAP_LIB */ #endif /* __BLKTAPLIB_H__ */ |