From 0773a6e830f805cc288a3f542daa67be400be1cd Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Tue, 15 May 2012 16:28:15 +0100 Subject: libxl: Rename pci_list_assignable to pci_assignable_list ...to prepare for a consistent "pci_assignable_*" naming scheme. Also move the man page entry into the PCI PASS-THROUGH section, rather than the XEN HOST section. No functional changes. Signed-off-by: George Dunlap Acked-by: Ian Campbell Committed-by: Ian Campbell --- tools/python/xen/lowlevel/xl/xl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/python') diff --git a/tools/python/xen/lowlevel/xl/xl.c b/tools/python/xen/lowlevel/xl/xl.c index c4f7c52714..a729e040ac 100644 --- a/tools/python/xen/lowlevel/xl/xl.c +++ b/tools/python/xen/lowlevel/xl/xl.c @@ -566,13 +566,13 @@ static PyObject *pyxl_pci_parse(XlObject *self, PyObject *args) return (PyObject *)pci; } -static PyObject *pyxl_pci_list_assignable(XlObject *self, PyObject *args) +static PyObject *pyxl_pci_assignable_list(XlObject *self, PyObject *args) { libxl_device_pci *dev; PyObject *list; int nr_dev, i; - dev = libxl_device_pci_list_assignable(self->ctx, &nr_dev); + dev = libxl_device_pci_assignable_list(self->ctx, &nr_dev); if ( dev == NULL ) { PyErr_SetString(xl_error_obj, "Cannot list assignable devices"); return NULL; @@ -662,8 +662,8 @@ static PyMethodDef pyxl_methods[] = { "Parse pass-through PCI device spec (BDF)"}, {"device_pci_list", (PyCFunction)pyxl_pci_list, METH_VARARGS, "List PCI devices assigned to a domain"}, - {"device_pci_list_assignable", - (PyCFunction)pyxl_pci_list_assignable, METH_NOARGS, + {"device_pci_assignable_list", + (PyCFunction)pyxl_pci_assignable_list, METH_NOARGS, "List assignable PCI devices"}, { NULL, NULL, 0, NULL } }; -- cgit v1.2.3