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] Fix build after I removed test_assign_dev

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix build after I removed test_assign_device from domctl union.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Dec 2007 13:50:24 -0800
Delivery-date: Wed, 12 Dec 2007 13:51:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197455894 0
# Node ID 23febc32fc1b8fbf1753dbec3abb003357267ab5
# Parent  ef83b50fc4a43368bf9531f88edfab3906549395
Fix build after I removed test_assign_device from domctl union.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/libxc/xc_domain.c |    2 +-
 xen/arch/x86/domctl.c   |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r ef83b50fc4a4 -r 23febc32fc1b tools/libxc/xc_domain.c
--- a/tools/libxc/xc_domain.c   Wed Dec 12 10:29:35 2007 +0000
+++ b/tools/libxc/xc_domain.c   Wed Dec 12 10:38:14 2007 +0000
@@ -772,7 +772,7 @@ int xc_test_assign_device(
 
     domctl.cmd = XEN_DOMCTL_test_assign_device;
     domctl.domain = domid;
-    domctl.u.test_assign_device.machine_bdf = machine_bdf;
+    domctl.u.assign_device.machine_bdf = machine_bdf;
 
     return do_domctl(xc_handle, &domctl);
 }
diff -r ef83b50fc4a4 -r 23febc32fc1b xen/arch/x86/domctl.c
--- a/xen/arch/x86/domctl.c     Wed Dec 12 10:29:35 2007 +0000
+++ b/xen/arch/x86/domctl.c     Wed Dec 12 10:38:14 2007 +0000
@@ -533,8 +533,8 @@ long arch_do_domctl(
         if ( !vtd_enabled )
             break;
 
-        bus = (domctl->u.test_assign_device.machine_bdf >> 16) & 0xff;
-        devfn = (domctl->u.test_assign_device.machine_bdf >> 8) & 0xff;
+        bus = (domctl->u.assign_device.machine_bdf >> 16) & 0xff;
+        devfn = (domctl->u.assign_device.machine_bdf >> 8) & 0xff;
 
         if ( device_assigned(bus, devfn) )
         {

_______________________________________________
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] Fix build after I removed test_assign_device from domctl union., Xen patchbot-unstable <=