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-ia64-devel

Re: [Xen-ia64-devel][PATCH][VTD][dom0] dom0 vtd patch

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel][PATCH][VTD][dom0] dom0 vtd patch
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 23 Oct 2008 10:22:10 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 22 Oct 2008 18:22:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <F7C8A4D3A9905B45A80E4C194793FA6501B31316BE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <F7C8A4D3A9905B45A80E4C194793FA6501B31316BE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Wed, Oct 22, 2008 at 05:43:13PM +0800, Xu, Anthony wrote:
> dom0/ia64/vtd patch
> 
> Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>


In XEN_DOMCTL_get_device_group case.


struct xen_domctl_get_device_group {
    uint32_t  machine_bdf;      /* IN */
    uint32_t  max_sdevs;        /* IN */
    uint32_t  num_sdevs;        /* OUT */
    XEN_GUEST_HANDLE_64(uint32)  sdev_array;   /* OUT */
};

XEN_DOMCTL_get_device_group is used by libxc.
sdev_array needs ot be handled correctly.


> dom0/ia64/vtd patch
> 
> Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
> 
> 
> diff -r 16c549b3ba59 arch/ia64/xen/xcom_privcmd.c
> --- a/arch/ia64/xen/xcom_privcmd.c    Tue Oct 14 14:58:08 2008 +0100
> +++ b/arch/ia64/xen/xcom_privcmd.c    Wed Oct 22 17:15:56 2008 +0800
> @@ -354,6 +354,14 @@
>       case XEN_DOMCTL_set_opt_feature:
>       case XEN_DOMCTL_assign_device:
>       case XEN_DOMCTL_subscribe:
> +     case XEN_DOMCTL_get_device_group:
> +     case XEN_DOMCTL_test_assign_device:
> +     case XEN_DOMCTL_deassign_device:
> +     case XEN_DOMCTL_bind_pt_irq:
> +     case XEN_DOMCTL_unbind_pt_irq:
> +     case XEN_DOMCTL_memory_mapping:
> +     case XEN_DOMCTL_ioport_mapping:
> +
>               break;
>       case XEN_DOMCTL_pin_mem_cacheattr:
>               return -ENOSYS;
 
 
-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel