From patchwork Mon Oct 21 15:57:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 11202577 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 95FC513BD for ; Mon, 21 Oct 2019 15:58:53 +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 71F4E2084B for ; Mon, 21 Oct 2019 15:58:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="el+It4Bi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71F4E2084B 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 1iMa41-0008EX-Sy; Mon, 21 Oct 2019 15:57:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iMa3z-0008Dt-SO for xen-devel@lists.xenproject.org; Mon, 21 Oct 2019 15:57:43 +0000 X-Inumbo-ID: 79d23934-f41b-11e9-bbab-bc764e2007e4 Received: from mail-wr1-x443.google.com (unknown [2a00:1450:4864:20::443]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 79d23934-f41b-11e9-bbab-bc764e2007e4; Mon, 21 Oct 2019 15:57:26 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id v9so3356474wrq.5 for ; Mon, 21 Oct 2019 08:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N4kqMtXKr2VI6xhju+2HY7aOkc8zfZUqqp0CH2GZ8kc=; b=el+It4BiEwx+dhiQlehX+3tMT8XfCZVwMtJvjBchGJzOm4dGe57t7lpbF3YzixAzL8 gGadBC/BZOiH8wP2UizfpkDMzMCjL40fwkObRQCE3zdyaalTDwUmQzeQXKxk6QKkTiPZ S+73WKEtn7S0TJewHf6Ge/uLHGcTPxLIwQ8zf65UrbOdrihZy6Mzj4CDO6Rt0vT0SrBD hdTWoyp0vgloXY7XKQRhyp7fM4TBy8E5Hhompnr+xsuThTIk9ZvB5czQNCzE7q8H+WHO BAp0e/+y7ISgxxM7ZlICw0NGOT3hsmbyEquzHEIGEAc6042KL4XSgllPLtY7iL/yOWo+ DD9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=N4kqMtXKr2VI6xhju+2HY7aOkc8zfZUqqp0CH2GZ8kc=; b=r9DSfa8a5L9NPb5hnmJpqhFUZVZCOWscnooFBq8XHBz7viOheR9WmK/yXTM7cMZtO2 kXfm/i232wAxgcYPSkAZL5WX5/P1jfemBUrCdV06hS9lWCwz1iZDsOAmxOjzECtiZiOA PjZk2ZuHHjCfAIT9JmJUEP0qqutv3cMorps1vP1vqkwgGnQsJW0SFMbf2VMYUsOFNH66 eXcONVCekGJnzdi936Q9Imk2bomZIgxffAqyzf/rPMvNwHpynbw3lKwJs4bgiKHHrF00 7LXSh58HyLjLuoLcvJeFx2cuCQ9ryEq17psAragOoE+KEOCDB8Hp/wONFOA6L5flKl7v D7gw== X-Gm-Message-State: APjAAAUQDQwgM6uBSI0u+Ap0RKQPhuDxrC5Kmse6EOKtezZRh+FdpmXc annqH6436HdlREsyYqETW87yPiamm8U= X-Google-Smtp-Source: APXvYqzwrIPVWBtBGwvNDvcP+QiFfxITf+dHZITn8MCV8YvrsbPHAGKXjlux5EHhW5YqOJTKhLjTLA== X-Received: by 2002:a5d:6447:: with SMTP id d7mr12892447wrw.247.1571673445284; Mon, 21 Oct 2019 08:57:25 -0700 (PDT) Received: from debian.mshome.net (54.163.200.146.dyn.plus.net. [146.200.163.54]) by smtp.gmail.com with ESMTPSA id x12sm5667410wru.93.2019.10.21.08.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 08:57:24 -0700 (PDT) From: Wei Liu X-Google-Original-From: Wei Liu To: Xen Development List Date: Mon, 21 Oct 2019 16:57:13 +0100 Message-Id: <20191021155718.28653-5-liuwe@microsoft.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191021155718.28653-1-liuwe@microsoft.com> References: <20191021155718.28653-1-liuwe@microsoft.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH for-next v3 4/9] x86: include xen/lib.h in guest/hypercall.h 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: Wei Liu , Wei Liu , Andrew Cooper , Michael Kelley , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" We need ASSERT_UNREACHABLE. Signed-off-by: Wei Liu Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- xen/include/asm-x86/guest/hypercall.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/asm-x86/guest/hypercall.h b/xen/include/asm-x86/guest/hypercall.h index c9deca6ffc..d0d2f5022d 100644 --- a/xen/include/asm-x86/guest/hypercall.h +++ b/xen/include/asm-x86/guest/hypercall.h @@ -182,6 +182,8 @@ static inline long xen_hypercall_set_evtchn_upcall_vector( #else /* CONFIG_XEN_GUEST */ +#include + #include static inline void xen_hypercall_console_write(