From: Konrad Rzeszutek Wilk Subject: [PATCH v2] Cleanups + various fixes due to libxl ABI + more logging on errors. Date: Tue, 8 Sep 2015 09:55:27 -0400 Message-ID: <1441720533-4848-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZZJNA-0000yM-6s for xen-devel@lists.xenproject.org; Tue, 08 Sep 2015 13:55:44 +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: stefano.stabellini@eu.citrix.com, xen-devel@lists.xenproject.org, qemu-devel@nongnu.org Cc: JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org Hey! Since v2 (http://lists.xen.org/archives/html/xen-devel/2015-07/msg00431.html) - Added Reviewed-by. since RFC [https://lists.gnu.org/archive/html/qemu-devel/2015-06/msg07326.html] - Added Acks - Followed 'xen: Print and use errno where applicable.' suggestion by Stefano and added a wrapper. As I am in the process of syncing the 'dev.config' and Xen's internal cache of the PCI config space I noticed that some oddities in the code and figured that having them in would be easier for me (so I don't have to handle 20 odd patches). Stefano, patch [PATCH v2 4/6] xen: use errno instead of rc for was the only one that changed - where I implemented the configure script as you suggested. All the rest are the same. Please review or git pull the following tag: git://xenbits.xen.org/people/konradwilk/qemu.git v2-cleanups-fixes-due-to-libxlABI configure | 26 ++++++++++++++++++++++++++ hw/xen/xen_pt.c | 6 +++--- hw/xen/xen_pt.h | 1 - hw/xen/xen_pt_config_init.c | 8 ++++---- hw/xen/xen_pt_msi.c | 2 +- include/hw/xen/xen_common.h | 22 ++++++++++++++++++++++ xen-hvm.c | 4 ++-- 7 files changed, 58 insertions(+), 11 deletions(-) Konrad Rzeszutek Wilk (6): xen/pt: Update comments with proper function name. xen/pt: Make xen_pt_msi_set_enable static xen/pt: xen_host_pci_config_read returns -errno, not -1 on failure xen: use errno instead of rc for xc_domain_add_to_physmap xen/pt/msi: Add the register value when printing logging and error messages xen/pt: Use XEN_PT_LOG properly to guard against compiler warnings.