From: Paul Durrant Subject: [PATCH v2 0/3] x86/hvm: HVMOP_get/set_param improvements Date: Fri, 1 May 2015 15:05:37 +0100 Message-ID: <1430489141-27602-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YoBZd-00019s-Nw for xen-devel@lists.xenproject.org; Fri, 01 May 2015 14:05:49 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Paul Durrant List-Id: xen-devel@lists.xenproject.org The following 3 patches re-structure the code implementing HVMOP_set_param and HVMOP_get_param. Patch #1 gives each operation its own function Patch #2 splits out checks for getting/setting non-reflexive params and setting params with change-once semantics, as well as the XSM check into separate functions Patch #3 swaps from black-lists to white-lists for guest accessible params v2: - Fix style issues during code movement in patch #2. - End up with white-lists rather than black-lists for guest accessible params. - Re-work comments on patch #2 slightly.