aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_types_internal.idl
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-10-18 13:36:42 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-10-18 13:36:42 +0100
commit08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3 (patch)
tree7ffd721f9f905a47e5a3b7cfd6a1f3f22d36a32b /tools/libxl/libxl_types_internal.idl
parent391419266cb6799d6e2c8174403984ce8e566206 (diff)
downloadxen-08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3.tar.gz
xen-08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3.tar.bz2
xen-08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3.zip
libxl: use IDL to define device front- and back-end kinds
I'd like to use the from_string functionality... Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_types_internal.idl')
-rw-r--r--tools/libxl/libxl_types_internal.idl12
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/libxl/libxl_types_internal.idl b/tools/libxl/libxl_types_internal.idl
index 20236a6b78..71e13a523d 100644
--- a/tools/libxl/libxl_types_internal.idl
+++ b/tools/libxl/libxl_types_internal.idl
@@ -1,9 +1,19 @@
namespace("libxl__")
-libxl__qmp_message_type = Enumeration("qmp_message_type", [
+libxl__qmp_message_type = Enumeration("qmp_message_type", [
(1, "QMP"),
(2, "return"),
(3, "error"),
(4, "event"),
(5, "invalid"),
])
+
+libxl__device_kind = Enumeration("device_kind", [
+ (1, "VIF"),
+ (2, "VBD"),
+ (3, "QDISK"),
+ (4, "PCI"),
+ (5, "VFB"),
+ (6, "VKBD"),
+ (7, "CONSOLE"),
+ ])