aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_physdev.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-05 17:58:59 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-05 17:58:59 +0000
commit9e11829aa9f1ce006bb26570e45920b261f87b51 (patch)
treea70e9ad91e6697ebd251e93d9972c6411e43d4f9 /tools/libxc/xc_physdev.c
parent11e4944eda7c4bdd9e63616424801702dfb43570 (diff)
downloadxen-9e11829aa9f1ce006bb26570e45920b261f87b51.tar.gz
xen-9e11829aa9f1ce006bb26570e45920b261f87b51.tar.bz2
xen-9e11829aa9f1ce006bb26570e45920b261f87b51.zip
bitkeeper revision 1.1389.5.21 (427a5ee3rBlRFupS4xBvv_nWVHQlsA)
Clean up IO-APIC handling in domain0, and the hypercall interface exported by Xen (inc. removal of PCI-related calls). This hopefully fixes acpi=off. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_physdev.c')
-rw-r--r--tools/libxc/xc_physdev.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/libxc/xc_physdev.c b/tools/libxc/xc_physdev.c
index ba5dd9ccdc..94fe34dc52 100644
--- a/tools/libxc/xc_physdev.c
+++ b/tools/libxc/xc_physdev.c
@@ -16,14 +16,6 @@ int xc_physdev_pci_access_modify(int xc_handle,
int func,
int enable)
{
- dom0_op_t op;
-
- op.cmd = DOM0_PCIDEV_ACCESS;
- op.u.pcidev_access.domain = (domid_t)domid;
- op.u.pcidev_access.bus = bus;
- op.u.pcidev_access.dev = dev;
- op.u.pcidev_access.func = func;
- op.u.pcidev_access.enable = enable;
-
- return do_dom0_op(xc_handle, &op);
+ errno = ENOSYS;
+ return -1;
}