diff options
author | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2011-03-16 16:44:25 +0000 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2011-03-16 16:44:25 +0000 |
commit | 169e4d99b1a5d84bf13e6dd6bbe4d44e246e675c (patch) | |
tree | 9b2321fc3ce346e29ae61f35ddb679d8c781b51b /xen/tools | |
parent | a63cc098560710c97ff62a797d4ad25ad7fa9a96 (diff) | |
download | xen-169e4d99b1a5d84bf13e6dd6bbe4d44e246e675c.tar.gz xen-169e4d99b1a5d84bf13e6dd6bbe4d44e246e675c.tar.bz2 xen-169e4d99b1a5d84bf13e6dd6bbe4d44e246e675c.zip |
libxl: provide full path to vif hotplug script script
This improves compatibility with xm style config files since xend does
this (see NetifController.getDeviceDetails() in
tools/python/xen/xend/server/netif.py) and
tools/hotplug/Linux/vif-setup expects an absolute path to the script.
This patch supports both absolute and relative paths in the
configuration. Also, if somehow nic->script==NULL, don't add write
the entry to xenstore at all (rather than crashing due to the new
check for absolute vs relative path).
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'xen/tools')
0 files changed, 0 insertions, 0 deletions