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: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH][VTD][dom0] dom0 vtd patch
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Thu, 23 Oct 2008 14:14:52 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 22 Oct 2008 23:15:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081023012210.GA15025%yamahata@xxxxxxxxxxxxx>
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> <20081023012210.GA15025%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ack0rdGPqmmJyiryQNyFLc7wMz9GnwAKKxcw
Thread-topic: [Xen-ia64-devel][PATCH][VTD][dom0] dom0 vtd patch
Isaku Yamahata wrote:
> 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.

I guess you are talking about xencomm,
I don't know how to handle it.
Can you enlighten me?

Thanks,
anthony

>
>
>> 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;

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