diff options
Diffstat (limited to 'tools/python')
-rw-r--r-- | tools/python/xen/lowlevel/xl/xl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/python/xen/lowlevel/xl/xl.c b/tools/python/xen/lowlevel/xl/xl.c index 553fc58871..0551c7636f 100644 --- a/tools/python/xen/lowlevel/xl/xl.c +++ b/tools/python/xen/lowlevel/xl/xl.c @@ -497,7 +497,7 @@ static PyObject *pyxl_pci_add(XlObject *self, PyObject *args) return NULL; } pci = (Py_device_pci *)obj; - if ( libxl_device_pci_add(self->ctx, domid, &pci->obj) ) { + if ( libxl_device_pci_add(self->ctx, domid, &pci->obj, 0) ) { PyErr_SetString(xl_error_obj, "cannot add pci device"); return NULL; } @@ -519,12 +519,12 @@ static PyObject *pyxl_pci_del(XlObject *self, PyObject *args) } pci = (Py_device_pci *)obj; if ( force ) { - if ( libxl_device_pci_destroy(self->ctx, domid, &pci->obj) ) { + if ( libxl_device_pci_destroy(self->ctx, domid, &pci->obj, 0) ) { PyErr_SetString(xl_error_obj, "cannot remove pci device"); return NULL; } } else { - if ( libxl_device_pci_remove(self->ctx, domid, &pci->obj) ) { + if ( libxl_device_pci_remove(self->ctx, domid, &pci->obj, 0) ) { PyErr_SetString(xl_error_obj, "cannot remove pci device"); return NULL; } |