aboutsummaryrefslogtreecommitdiffstats
path: root/tools/blktap2/include
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-08 08:03:41 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-08 08:03:41 +0100
commit7b4dea5546ccfc984b33ab0e184bc054c02bd9f2 (patch)
tree25a7e58fa856298b165b1d1d8bf4246ec3ecca6e /tools/blktap2/include
parentf867b85581b3722c211e8a6bd082e9d39c79b02c (diff)
downloadxen-7b4dea5546ccfc984b33ab0e184bc054c02bd9f2.tar.gz
xen-7b4dea5546ccfc984b33ab0e184bc054c02bd9f2.tar.bz2
xen-7b4dea5546ccfc984b33ab0e184bc054c02bd9f2.zip
blktap2: Fix tapdisk disktype issues.
Stop coercing drivers/disktype code into the tool stack. Make both blktapctrl and tap-ctl transfer type/path pairs as "<type>:<path>" strings. Remove the message.disktype integer altogether. Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com> Signed-off-by: Jake Wires <jake.wires@citrix.com>
Diffstat (limited to 'tools/blktap2/include')
-rw-r--r--tools/blktap2/include/tapdisk-message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/blktap2/include/tapdisk-message.h b/tools/blktap2/include/tapdisk-message.h
index 1a86dcb6a3..dc622bd71d 100644
--- a/tools/blktap2/include/tapdisk-message.h
+++ b/tools/blktap2/include/tapdisk-message.h
@@ -28,6 +28,7 @@
#define _TAPDISK_MESSAGE_H_
#include <inttypes.h>
+#include <sys/types.h>
#define TAPDISK_MESSAGE_MAX_PATH_LENGTH 256
#define TAPDISK_MESSAGE_STRING_LENGTH 256
@@ -67,7 +68,6 @@ struct tapdisk_message_string {
struct tapdisk_message {
uint16_t type;
uint16_t cookie;
- uint16_t drivertype;
union {
pid_t tapdisk_pid;