From patchwork Thu Feb 13 15:27:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 11380573 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73085139A for ; Thu, 13 Feb 2020 15:28:54 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 58BB624670 for ; Thu, 13 Feb 2020 15:28:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58BB624670 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j2GPE-0003WJ-CC; Thu, 13 Feb 2020 15:27:56 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j2GPE-0003WE-0p for xen-devel@lists.xenproject.org; Thu, 13 Feb 2020 15:27:56 +0000 X-Inumbo-ID: 67f160a0-4e75-11ea-bc8e-bc764e2007e4 Received: from mail-wm1-f67.google.com (unknown [209.85.128.67]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 67f160a0-4e75-11ea-bc8e-bc764e2007e4; Thu, 13 Feb 2020 15:27:55 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id a9so7218263wmj.3 for ; Thu, 13 Feb 2020 07:27:55 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=OlhbnVg3VOE3ZbxXtCPHRKktV7Swm2eX7fWEbENo4Fo=; b=K2tIfoOufVep0i1MgzPTTU3xfgS+SWJbcNxdUrsqvPeaFBj8CMVOIwfMnfA+YZnuxp ORO66Fz64xZO2l7KVH8GXOk0gKNq02C6RXWTi0fyjMhOCieoUcVa9PGZ23yv+sarfJps +z8f9G+GDgwcy9FymBvc1H7C2WuoClLlXS8dkWBllEfT9I+YawWKVXtsj30FRae/r7k/ 4pZI5JvwXX1y7cRJgj1ptE7/24YfF5nmiWQ/9yD22GHYatrIAFLj1rcdtb9N++XG3bNw Ey1tdXxdGGpQSiUcUR6/m0JmXhIwtmFpF0AJm5HnBQwFqNTTrDGdp2Nwq1vkjFFomW4B 8xDg== X-Gm-Message-State: APjAAAUEWFKLeCmi0vJ7QqUDn/DDGNXKAqZDJyiwwBF39p0w1VWZv45z 6BmbgbeOQA51rFPS5CNyHRCB9eWb1Rg= X-Google-Smtp-Source: APXvYqz1CZfoDQJGHHCH5uLPSAr4lVDfA9fz6TTsu0MnBftxyjT+7bY3biCQbBOoyZH7KHlQwIW4lQ== X-Received: by 2002:a1c:988c:: with SMTP id a134mr6119212wme.163.1581607674489; Thu, 13 Feb 2020 07:27:54 -0800 (PST) Received: from localhost.localdomain (41.142.6.51.dyn.plus.net. [51.6.142.41]) by smtp.gmail.com with ESMTPSA id j65sm3505823wmb.21.2020.02.13.07.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 07:27:54 -0800 (PST) From: Wei Liu To: Xen Development List Date: Thu, 13 Feb 2020 15:27:51 +0000 Message-Id: <20200213152751.3837-1-wl@xen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] libxl: fix libxl__cpuid_legacy in libxl_nocpuid.c X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Anthony PERARD , Andrew Cooper , Julien Grall , Ian Jackson , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Its last parameter should be libxl_domain_build_info. Fixes: 1b3cec69 ("tools/libxl: Combine legacy CPUID handling logic") Signed-off-by: Wei Liu Acked-by: Anthony PERARD --- tools/libxl/libxl_nocpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_nocpuid.c b/tools/libxl/libxl_nocpuid.c index 7776574a0c..3f30e148be 100644 --- a/tools/libxl/libxl_nocpuid.c +++ b/tools/libxl/libxl_nocpuid.c @@ -35,7 +35,7 @@ int libxl_cpuid_parse_config_xend(libxl_cpuid_policy_list *cpuid, } void libxl__cpuid_legacy(libxl_ctx *ctx, uint32_t domid, - libxl_domain_config *d_config) + libxl_domain_build_info *info) { }