WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Fix PV driver domains - xen stubs

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix PV driver domains - xen stubs
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 05:50:47 -0700
Delivery-date: Mon, 11 Aug 2008 05:52:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=