From: Paul Durrant Subject: [PATCH v5 0/3] x86/hvm: HVMOP_get/set_param improvements Date: Wed, 6 May 2015 13:58:04 +0100 Message-ID: <1430917087-11081-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: 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.xen.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 v5: - Re-base onto staging (5fa1ce85bc661f2f945b8a5327b6cec7cf69cfba) v4: - Remove HVM_PARAM_TRIPLE_FAULT_REASON from the params accessible by guests. v3: - Fix more style issues - Maintain comments concerning strictly non-reflexive params - Add missing non-reflexive checks to hvm_allow_get_param() 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.