From patchwork Thu Oct 5 09:07:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Grytsov X-Patchwork-Id: 9986617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 37F5C602B8 for ; Thu, 5 Oct 2017 09:09:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E78B285A3 for ; Thu, 5 Oct 2017 09:09:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21681287CF; Thu, 5 Oct 2017 09:09:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A482C285A3 for ; Thu, 5 Oct 2017 09:09:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e027o-000227-33; Thu, 05 Oct 2017 09:07:24 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e027m-00021s-Bk for xen-devel@lists.xenproject.org; Thu, 05 Oct 2017 09:07:22 +0000 Received: from [85.158.143.35] by server-3.bemta-6.messagelabs.com id 4E/C7-03093-946F5D95; Thu, 05 Oct 2017 09:07:21 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRWlGSWpSXmKPExsVyMfS6i67nt6u RBj9fM1t83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBn77l5kLVjHVrHxwAWWBsbDrF2MXBxCAtMZ Jf5vWsIO4rAIvGSRmLh4JTOIIyHQzypxdm4bUIYTyMmSaLm0jAXCTpM4v6uVGcKulPhw8A4ri C0kIC9xsOUyO8TYqUwSuzd/A2tmE9CSuH97BRuILSKgJHFv1WQmEJtZIEVi77o2RhBbWMBU4t qaXWBDWQRUJdZ3rQNbxivgILH/7XcmiGVyEjfPdYLVcAo4Shz9epgNYrGDxJwDn9gmMAouYGR YxahenFpUllqka6GXVJSZnlGSm5iZo2toYKaXm1pcnJiempOYVKyXnJ+7iREYcgxAsINx9mX/ Q4ySHExKorzH312NFOJLyk+pzEgszogvKs1JLT7EqMHBIfDz6d8WRimWvPy8VCUJXq4PQHWCR anpqRVpmTnAqIApleDgURLhvfEeKM1bXJCYW5yZDpE6xWjPceHOpT9MHDceXgeSB/bcApIdN+ /+YRICmyolzssLMlUApC2jNA9uKCyKLzHKSgnzMgKdLMRTkFqUm1mCKv+KUZyDUUmYNwpkCk9 mXgnc7ldAZzEBnTWn6QrIWSWJCCmpBsZwt7mTN+msLG55b7HJcnraV58SzV2tdasOyc7Rll9W ZyT+4Y+vPutHmXpnKfmm85MY12d7NW9aEVQx/XhNmfbEhzl/3uhqW2hOur699VXjfOsVTXMtT OxCG7/Mdp51wsOm2sO4NTTzl0Qk1z2uarUfOc+8dgZXZ//mYbpr1cd1o0Z+TyqzqRJLcUaioR ZzUXEiAASaQx3dAgAA X-Env-Sender: al1img@gmail.com X-Msg-Ref: server-10.tower-21.messagelabs.com!1507194440!69773137!1 X-Originating-IP: [209.85.215.68] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50 X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 41043 invoked from network); 5 Oct 2017 09:07:21 -0000 Received: from mail-lf0-f68.google.com (HELO mail-lf0-f68.google.com) (209.85.215.68) by server-10.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 5 Oct 2017 09:07:21 -0000 Received: by mail-lf0-f68.google.com with SMTP id j73so5444819lfg.0 for ; Thu, 05 Oct 2017 02:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zm7f/iNR3CS4/tqfo5Jhnf0wCnbQbj6raS7+sDOCwxY=; b=tiSOPexKVQRFI5I+sW2MuBXz0ib7PKpk76mJGldVdJFj8Gz4ldwO4/UfkpXKO046xJ FjEKvSb2yqeGJYIDrkpIZ8OLaCq6TcSasKAFtLEv5qbBQdgrLJSjRHGlwRfwHIxt07r7 l3wRQcCZZJFETEssU9vP0LJy2OdvBYYfTe1Kisq9CFjMKPpkQTLwjlQ5hAitTe1VfAUR beoc4EWqmme+HaNwYwyG5DnukCo+G71cN8AKxf0Y1Op+0Y9t1WWfKaRupYjE4QZxMYyH Ukc5GbEUrWtG+UzVcGDZyNPoHJmxEtvotZzEDBpbLpYQ5tZ/m9/8oMeBrvfBwd7u5F3I 3bew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zm7f/iNR3CS4/tqfo5Jhnf0wCnbQbj6raS7+sDOCwxY=; b=UwnyYg1tYyCrG0Kb7CqjK/Wy4Uup6p2cVzGN8ohmRO5RGMv/vOTMVJ0jWZierOaW8w zYQQudV6+Csxwb6jQuTpYTOT/I3PxNY3Gk5L1XKaIYN1qTKs8lK/MpOQpcdm8cv5TFdD D5dc4SQoz8CaX0SadtlQPuFtT7S7yOnUQa8E8gHwC5bE7fdyHwPZkJ7VBvavh2VRuLsp 51mCrZk/4HRvv0s7CqUbzdkcLWUJPSNcovVMchSxd3xpaIKwF5yp5b6N1DxKTEULO5MX SRrvllpSTXmY1J8CM4VUiavXkV0wAkRDIlgFbNs/orsQgozXXjtVh6o4le2DMaQ4gwSJ ALMA== X-Gm-Message-State: AHPjjUhxwoY8j9LvYhWONd4qM9UTLxY2qPGPOhOUtA7NHIobKo4GwTMC F5jZWBjDl2osiIlWE+Bues6aAA== X-Google-Smtp-Source: AOwi7QCS5lACsvoOppEOVs1fFMfWUXtZNEBeGRaA7TL09piqZlkSIQP2GRn/0/4Y+ThbA1PwP5OxEQ== X-Received: by 10.46.31.18 with SMTP id f18mr10816831ljf.181.1507194440235; Thu, 05 Oct 2017 02:07:20 -0700 (PDT) Received: from al1-pc.kyiv.epam.com (ll-52.209.223.85.sovam.net.ua. [85.223.209.52]) by smtp.gmail.com with ESMTPSA id l11sm2861584lfi.3.2017.10.05.02.07.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Oct 2017 02:07:19 -0700 (PDT) From: Oleksandr Grytsov To: xen-devel@lists.xenproject.org Date: Thu, 5 Oct 2017 12:07:07 +0300 Message-Id: <1507194431-17588-3-git-send-email-al1img@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507194431-17588-1-git-send-email-al1img@gmail.com> References: <1507194431-17588-1-git-send-email-al1img@gmail.com> Cc: ian.jackson@eu.citrix.com, wei.liu2@citrix.com, Oleksandr Grytsov Subject: [Xen-devel] [PATCH 2/6] libxl: fix vkb XS entry and type X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Oleksandr Grytsov vkb has vkbd name in XS. Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu --- tools/libxl/libxl_vkb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_vkb.c b/tools/libxl/libxl_vkb.c index 0d01262..ea6fca8 100644 --- a/tools/libxl/libxl_vkb.c +++ b/tools/libxl/libxl_vkb.c @@ -51,7 +51,7 @@ out: return AO_INPROGRESS; } -static LIBXL_DEFINE_UPDATE_DEVID(vkb, "vkb") +static LIBXL_DEFINE_UPDATE_DEVID(vkb, "vkbd") #define libxl__add_vkbs NULL #define libxl_device_vkb_list NULL @@ -59,7 +59,7 @@ static LIBXL_DEFINE_UPDATE_DEVID(vkb, "vkb") LIBXL_DEFINE_DEVICE_REMOVE(vkb) -DEFINE_DEVICE_TYPE_STRUCT(vkb, +DEFINE_DEVICE_TYPE_STRUCT_X(vkb, vkb, vkbd .skip_attach = 1 );