From patchwork Mon Sep 30 15:00:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 11166845 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 EBF3C112B for ; Mon, 30 Sep 2019 15:02:23 +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 C7B3220679 for ; Mon, 30 Sep 2019 15:02:23 +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="tttOOIaA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C7B3220679 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 1iExAl-00069A-9e; Mon, 30 Sep 2019 15:01:11 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iExAk-00068o-9V for xen-devel@lists.xenproject.org; Mon, 30 Sep 2019 15:01:10 +0000 X-Inumbo-ID: 186031bc-e393-11e9-8628-bc764e2007e4 Received: from mail-wm1-x343.google.com (unknown [2a00:1450:4864:20::343]) by localhost (Halon) with ESMTPS id 186031bc-e393-11e9-8628-bc764e2007e4; Mon, 30 Sep 2019 15:00:52 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id y21so13131115wmi.0 for ; Mon, 30 Sep 2019 08:00:52 -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=uREt8Z5nJzR7OIiuZjnYzLQFQ7JxWM6N+fEC7IgLHk0=; b=tttOOIaA8l32h8h53UtQE8kxKmCmVsqtvbR7S83xuyshl+ELlQA5u0j1Y14ngSjKl4 RSAY7FbLr987OhmNs9GiDs0RMW2ttUszHpGOWEBFmNI66xODzzQboa6m5HWPMu/O78ua HqjAANalJYxWj89MbKqdF3sj/gO9qyv0fL7KJLWQMuB8xtDonvisDgQQ3xB28dAm7/bf +rwiOmlPPB66A3eoeBDOSLyvaU2Tf4gbEJaNFRjjatbislagd+bEeLBMcX+1B0/BWx0j NG436K47ts2lY8RQc2Erzsnez+m3kYlGtyXsvJIPWHJtvmmjkC/SOXiQSW5xyeFSJcCR QN6w== 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=uREt8Z5nJzR7OIiuZjnYzLQFQ7JxWM6N+fEC7IgLHk0=; b=V34GrZ4QH0DlglFonQfR2Le4Xxqw65Ka79/SGYIXAjpsX4dAf8jnVPckvnR+vKQQj9 LgFzKWRP6hR+OupJua84AWqVnK29s0sanoOGaCsy4L5kcbkqOFT/HmsHnc5Gcc78rU3P hswl9Dbx7A9A+018Qxbe4xNUu+la8CvRIeGR9XX7AqD2TUTdC6kKXyZsr7PmImnCoc6K Yfp3yg/PJ8EXz5Y5L5CIANCwA95kS0uQDfuVX2oGJrXe+u/O+dM4VF3pjTLF6TNh+RxT 6Q+wFdbC7rvfisnfPfTnA/ilH7Qn8u4Cz7oa9X4BQsUWLpwdf+naJ2RUgePPKyYECO/8 t9qg== X-Gm-Message-State: APjAAAXkj5zVBxTlL2XvdnwbWYL80Am+Z6WQ9xODXpGyL4VTivoX/rBa YYnzP9vXu6gm0nSE0MEwLhGbS3eYjqs= X-Google-Smtp-Source: APXvYqyiW5bip7TIiPgZOaJKzQMeaGJP70CI/jnP85VTJyCHEDVTfuIRllPaACUhoZh1tvfJiTq/kg== X-Received: by 2002:a1c:1981:: with SMTP id 123mr17182414wmz.88.1569855651629; Mon, 30 Sep 2019 08:00:51 -0700 (PDT) Received: from debian.mshome.net (207.148.159.143.dyn.plus.net. [143.159.148.207]) by smtp.gmail.com with ESMTPSA id f143sm32870852wme.40.2019.09.30.08.00.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 08:00:51 -0700 (PDT) From: Wei Liu X-Google-Original-From: Wei Liu To: Xen Development List Date: Mon, 30 Sep 2019 16:00:38 +0100 Message-Id: <20190930150044.5734-5-liuwe@microsoft.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190930150044.5734-1-liuwe@microsoft.com> References: <20190930150044.5734-1-liuwe@microsoft.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH for-next v2 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é --- 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(