From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37DDFC433F5 for ; Thu, 10 Mar 2022 08:59:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240545AbiCJJAK (ORCPT ); Thu, 10 Mar 2022 04:00:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239986AbiCJJAJ (ORCPT ); Thu, 10 Mar 2022 04:00:09 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5D2DE3C7B for ; Thu, 10 Mar 2022 00:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646902748; x=1678438748; h=from:to:cc:subject:date:message-id; bh=cEQvWn6cKH//ZmRKF+kqgy60d5rxkvhGVp21E2JHYXc=; b=AtNPGIRBhIPAHosP4xNmL+xgGpAy1vOoo6VrAAYHJxeYBteYllJKAJ7b bIJ15YykcFHQnminyg7qSGPE2Fz6IGfVXc8kbQQbqTUD0VRfEz0P4Zi7U 7EfHtU0/9GFt9+1CaUD2jxTYZMhq9awq1aggLYCtdLG5Ddl1t2ON/Jc5N hG8Z9QIszcoUHQ5m3J0IA/z/clXOFj5PLdxp0Hr5S0BnBpcfyQa/ysMWV M+zthgEiYHGL445au9HjdFGvFihxHTKLhq3+mBJaqeT4O6PzCs8TI2IUP Z/5o70oJvk+gplRUAUaA35Udtbrn58larxAJM6AgBmtrMtysv4onO0djm A==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="235148759" X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="235148759" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 00:59:08 -0800 X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="644367169" Received: from chenyi-pc.sh.intel.com ([10.239.159.73]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 00:59:06 -0800 From: Chenyi Qiang To: Paolo Bonzini , Richard Henderson , Eduardo Habkost , Marcelo Tosatti , Xiaoyao Li Cc: Chenyi Qiang , qemu-devel@nongnu.org, kvm@vger.kernel.org Subject: [PATCH 0/2] Enable notify VM exit Date: Thu, 10 Mar 2022 17:02:03 +0800 Message-Id: <20220310090205.10645-1-chenyi.qiang@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Notify VM exit is introduced to mitigate the potential DOS attach from malicious VM. This series is the userspace part to enable this feature through a new KVM capability KVM_CAP_X86_NOTIFY_VMEXIT. The corresponding KVM patch series is available at https://lore.kernel.org/lkml/20220310084001.10235-1-chenyi.qiang@intel.com/ Chenyi Qiang (2): linux-headers: Sync the linux headers i386: Add notify VM exit support hw/i386/x86.c | 24 +++++++++++++++ include/hw/i386/x86.h | 3 ++ linux-headers/asm-x86/kvm.h | 4 +++ linux-headers/linux/kvm.h | 29 +++++++++++++++---- target/i386/kvm/kvm.c | 58 ++++++++++++++++++++++++------------- 5 files changed, 93 insertions(+), 25 deletions(-) -- 2.17.1