aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_types.idl
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2013-03-13 17:42:17 +0000
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-03-15 12:40:08 +0000
commite2abe690babf06fc49bdec49b08cb45dd3e09138 (patch)
tree7fcbb3b22bfb226e77c254ff2b6ecf48d84ee9ac /tools/libxl/libxl_types.idl
parent50ae2d0cb625a5c122f27ee69fc2f81479eee33e (diff)
downloadxen-e2abe690babf06fc49bdec49b08cb45dd3e09138.tar.gz
xen-e2abe690babf06fc49bdec49b08cb45dd3e09138.tar.bz2
xen-e2abe690babf06fc49bdec49b08cb45dd3e09138.zip
xl/libxl: add gatewaydev/netdev to vif specification
This option is used by the vif-route hotplug script. A new more descriptive name is used, "gatewaydev", but "netdev" is also supported as a deprecated backwards compatible option. This option was supported in the past, according to http://wiki.xen.org/wiki/Vif-route, so we should also support it in libxl. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Tested-by: Ulf Kreutzberg <ulf.kreutzberg@hosteurope.de> Cc: Ulf Kreutzberg <ulf.kreutzberg@hosteurope.de> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: George Dunlap <george.dunlap@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r--tools/libxl/libxl_types.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl
index 5b080ed548..f3c212bc8c 100644
--- a/tools/libxl/libxl_types.idl
+++ b/tools/libxl/libxl_types.idl
@@ -385,6 +385,7 @@ libxl_device_nic = Struct("device_nic", [
("nictype", libxl_nic_type),
("rate_bytes_per_interval", uint64),
("rate_interval_usecs", uint32),
+ ("gatewaydev", string),
])
libxl_device_pci = Struct("device_pci", [