[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 3/3] docs/doxygen: doxygen documentation for grant_table.h


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Luca Fancellu <luca.fancellu@xxxxxxx>
  • Date: Thu, 29 Apr 2021 14:15:37 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D8qhvCw39d1uUVtlEmSp51yR+Os6gWlJ4knARHVTV74=; b=f6gC7OufDySpuTcQAYYGufsGkQdPyfzer6GWdAM3tVCs2aRhSKl956SpwzcTyEiyDTaNSdTMV4+/2pIUBn7+KdBBPObcX750DZpmgVrqderLxyxgRTGW9Pe6vGGAAKPOjJnMFrKA+0A/ZmgYIZixRxxAEyqdVg2+vnT7Opkp3byMez+SyCJXRMXhidETz2Tx0pHBMVHvJHNfxB/zARQ27d6i6r0N3IfQ6yng78MYM4CFWBPYnyPqaNUoU5RHMpZM9pdkJ99vOE/v11dQqxSEYLGlPK9GIt5a9R+PQmton0uCJBtD4nwcLUYU9LtvRlNx69bkDOFLVPDI/bgvpyDAIA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y0R0gJ4xKyJeg9Nrdubn8dPqiWRke7CFJstgZXas1P4BWdAppMyL2jFgzIYqKnmQb1EMkE4kb0XLquysfthJ3/G6v7F/zRr74FHtqi4I6gAZON59tpk23BYS6VsUpsfoR220CmvL25pUwBvVtqMzH2JJJDHjoLCCkYNdzTGW1ioweKJbo5+OlMA31PprbPhZE2xPuUgIWYhsxpofCqB6S2qICRNMd/eS3xY2Ss5FJzGny/HzgQwpp+IuierOCbNwpGeTIPiRQsNyzW/Ie58cdeUfXBKEnXNQbm773K2ApR23zSz7+Xzpjd952FyxahAmKNUj2794dtpPIpXP1BpNIg==
  • Authentication-results-original: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=arm.com;
  • Cc: Bertrand Marquis <bertrand.marquis@xxxxxxx>, wei.chen@xxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 29 Apr 2021 13:16:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=arm.com;


> On 29 Apr 2021, at 14:11, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> On 29.04.2021 11:50, Luca Fancellu wrote:
>>> On 29 Apr 2021, at 10:04, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>>> On 28.04.2021 16:59, Luca Fancellu wrote:
>>>>> On 27 Apr 2021, at 14:57, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>>>>> On 26.04.2021 17:37, Luca Fancellu wrote:
>>>>>> @@ -120,24 +132,26 @@ typedef uint32_t grant_ref_t;
>>>>>> * [GST]: This field is written by the guest and read by Xen.
>>>>>> */
>>>>>> 
>>>>>> -/*
>>>>>> - * Version 1 of the grant table entry structure is maintained purely
>>>>>> - * for backwards compatibility.  New guests should use version 2.
>>>>>> - */
>>>>>> #if __XEN_INTERFACE_VERSION__ < 0x0003020a
>>>>>> #define grant_entry_v1 grant_entry
>>>>>> #define grant_entry_v1_t grant_entry_t
>>>>>> #endif
>>>>>> +/**
>>>>>> + * Version 1 of the grant table entry structure is maintained purely
>>>>>> + * for backwards compatibility.  New guests should use version 2.
>>>>>> + */
>>>>> 
>>>>> In case I didn't say so already before - I think this would be a good
>>>>> opportunity to drop the comment pointing at v2. With v2 optionally
>>>>> unavailable altogether, this can't possibly be a generally valid
>>>>> course of action.
>>>> 
>>>> Could you explain me better that? Do you want to get rid of this comment?
>>> 
>>> Especially the second sentence is misleading. If new code used v2, it
>>> would not work on Xen with v2 support turned off.
>> 
>> Can you suggest what to write here? I’m not very familiar with this xen
>> Interface
> 
> I've sent a patch myself just a few seconds ago.

Hi Jan,

That’s great, I’m going to push the v4 for this serie soon, now that the 
comment is fixed,
I can include it in the docs too, do you agree?

Cheers,
Luca

> 
> Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.