diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-23 15:55:13 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-03-23 15:55:13 +0000 |
commit | 026bb0b5c01368de35ffcd2c10e2e2057a2fec6d (patch) | |
tree | d6d63130290507aba88eee1e60fb4e7e7e7f567a /tools/python | |
parent | 381c919a7c3019b376091c6ebdbdad7f33ee1e8d (diff) | |
download | xen-026bb0b5c01368de35ffcd2c10e2e2057a2fec6d.tar.gz xen-026bb0b5c01368de35ffcd2c10e2e2057a2fec6d.tar.bz2 xen-026bb0b5c01368de35ffcd2c10e2e2057a2fec6d.zip |
libxl: remove XS transaction from public API.
All external users pass 0 anyway so make the version of
libxl_domain_rename which takes a transaction internal and provide an
external facing function which does not expose a transaction.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/python')
-rw-r--r-- | tools/python/xen/lowlevel/xl/xl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/lowlevel/xl/xl.c b/tools/python/xen/lowlevel/xl/xl.c index 07c29d4a25..1a2ce8f8a9 100644 --- a/tools/python/xen/lowlevel/xl/xl.c +++ b/tools/python/xen/lowlevel/xl/xl.c @@ -1,6 +1,6 @@ /****************************************************************************** * xl.c - * + * * Copyright (c) 2010 Citrix Ltd. * Author: Gianni Tedesco * @@ -481,7 +481,7 @@ static PyObject *pyxl_domain_rename(XlObject *self, PyObject *args) int domid; if ( !PyArg_ParseTuple(args, "is|s", &domid, &new_name, &old_name) ) return NULL; - if ( libxl_domain_rename(&self->ctx, domid, old_name, new_name, 0) ) { + if ( libxl_domain_rename(&self->ctx, domid, old_name, new_name) ) { PyErr_SetString(xl_error_obj, "cannot rename domain"); return NULL; } |