|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] Fix PV driver domains - xen stubs
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1218163088 -32400
# Node ID 36c274bbc5dffc7bea88cd1d18faca0ab2750e08
# Parent a39913db6e51d060e312c27ef46d1442390bbf67
[IA64] Fix PV driver domains - xen stubs
Stub out new hypercalls in the hypervisor. The only odd one here is
map/unmap_pirq. This seems to be for MSI support, which I don't believe
we currently support for driver domains, so this is actually similar to
the x86 code path. The tools code doesn't allow us to return -ENOSYS
here :(
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
xen/arch/ia64/xen/dom0_ops.c | 4 ++++
xen/arch/ia64/xen/hypercall.c | 10 ++++++++++
2 files changed, 14 insertions(+)
diff -r a39913db6e51 -r 36c274bbc5df xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c Thu Aug 07 11:57:34 2008 +0900
+++ b/xen/arch/ia64/xen/dom0_ops.c Fri Aug 08 11:38:08 2008 +0900
@@ -388,6 +388,10 @@ long arch_do_domctl(xen_domctl_t *op, XE
}
break;
+ case XEN_DOMCTL_assign_device:
+ ret = -ENOSYS;
+ break;
+
default:
printk("arch_do_domctl: unrecognized domctl: %d!!!\n",op->cmd);
ret = -ENOSYS;
diff -r a39913db6e51 -r 36c274bbc5df xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c Thu Aug 07 11:57:34 2008 +0900
+++ b/xen/arch/ia64/xen/hypercall.c Fri Aug 08 11:38:08 2008 +0900
@@ -426,6 +426,16 @@ long do_physdev_op(int cmd, XEN_GUEST_HA
break;
}
+ /*
+ * XXX We don't support MSI for PCI passthrough, so just return success
+ */
+ case PHYSDEVOP_map_pirq:
+ case PHYSDEVOP_unmap_pirq:
+ ret = 0;
+ break;
+
+ case PHYSDEVOP_manage_pci_add:
+ case PHYSDEVOP_manage_pci_remove:
default:
ret = -ENOSYS;
break;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] Fix PV driver domains - xen stubs,
Xen patchbot-unstable <=
|
|
|
|
|