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

[PATCH v2] public/gnttab: relax v2 recommendation


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 15 Nov 2021 10:55:06 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xrLdRTjZHUzRTgOrhvxX4txdtoE8zxn/hwkst9Wzoc8=; b=XaoMbnqhh6TcaX7et6iq917rCFAUEmm8HcWADRZEhvyWH/ngSzvqFXRSZsNSjQmxYduyVuIQBPWOzmGI59kBzkPr5KqM3b13lgIRUtX8vp2KDcxW9GRHeR+VSPIWdEH+a5ZFoCaymfrJuB0S25juGLMuqvbe95LL/hqa7oG34l4pfhS8VtMNKNHQhD61giqc1BQmgSMxR5qoOx1BZbb6R13ZGsON6HQ1Z20fa41taMXNqrJ7XdU/Q8ytjzLTNExn4oFnYrU3/bkYfd+FLCaoSu1oeifli3zrErH43NLaSikdk0Ghf8R1nj8a5mbTO4A9T8MN6J3gYc7iYZYVMCxinw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AYXS5tG8cVUlWW/oleGmnGYsLyZg3gvvKpr3fyHicuUj0gJ8V3vxakegtrJIl3cREUM4Z4ABRoNoBgXlfb0MoQIPnGRp2YTyN0o7TX4bFS2GZ2/XkkT73X7KfB/gIKlisPhv3fcTGMIhHjf7EQYPb7yR3hqi+LQscrRKHkgzON/5orWS9F4V2iCzCPjeMltfxpc3BmQNgmcGjjBnO7PDYjl43dePSSNArxHHyAcWPQhdTESmoRoGRzPxRR1mQ/yJdjs9W/VYSqrmzVZI3/TRkCUgeh6oQOb5ym+8zsFO3Q2K81CC2nrgrvq1xosQR4bx7BCYjdzuZ+bC8MpvmBNhEQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: 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>, Luca Fancellu <luca.fancellu@xxxxxxx>
  • Delivery-date: Mon, 15 Nov 2021 09:55:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

With there being a way to disable v2 support, telling new guests to use
v2 exclusively is not a good suggestion.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
---
v2: s/be able to fall back/default/.

--- a/xen/include/public/grant_table.h
+++ b/xen/include/public/grant_table.h
@@ -121,8 +121,9 @@ typedef uint32_t grant_ref_t;
  */
 
 /*
- * Version 1 of the grant table entry structure is maintained purely
- * for backwards compatibility.  New guests should use version 2.
+ * Version 1 of the grant table entry structure is maintained largely for
+ * backwards compatibility.  New guests are recommended to support using
+ * version 2 to overcome version 1 limitations, but to default to version 1.
  */
 #if __XEN_INTERFACE_VERSION__ < 0x0003020a
 #define grant_entry_v1 grant_entry




 


Rackspace

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