From nobody Thu Nov 14 17:56:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1708416456; cv=none; d=zohomail.com; s=zohoarc; b=Qt56ZE7caak+D6+GoTC6i3vZg9SAJKq7SV1+cNzMItyZi0auPXsFmb4iDHArEmp3utUoJkQSLMp3PT/jpQrjmouuwQ11f9oYIgQdek57eikpA058oQF0QB7NI+H+ey9ZVIlYIRwW/dGE7dCZ1aZbmIX2dK3IODcXOPVf0kWIptA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708416456; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=YE/crpx08q0cvPrENC0BpfjOnpLuB9SgYwlLiwfyZzU=; b=n1TDOTBmFrSsXsyJCmyc6CgWPbJ0QmCTKRw8VQJzNUs1jcDqMujATeTHWyO9g25pKwLotjIXnWWYuCTL1MY6IuK72DjpOu3F3hlBKws1ZI/DQAA56e1zpmtRZBXg9BVzbQ3mgJVvsY60LzZJUNy6lAbji8473xgnwgOplzaZub8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 170841645698086.44244290052166; Tue, 20 Feb 2024 00:07:36 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcL9E-0002iq-El; Tue, 20 Feb 2024 03:06:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcL9D-0002iQ-Fw for qemu-devel@nongnu.org; Tue, 20 Feb 2024 03:06:39 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcL99-0000Pn-Rp for qemu-devel@nongnu.org; Tue, 20 Feb 2024 03:06:39 -0500 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-356-eyLmxuqPOXCulOyJ6jFdXQ-1; Tue, 20 Feb 2024 03:06:33 -0500 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a3ef988b742so19794566b.3 for ; Tue, 20 Feb 2024 00:06:33 -0800 (PST) Received: from [192.168.10.118] ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id r8-20020a170906364800b00a3e4e7ad9dbsm2779284ejb.68.2024.02.20.00.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708416395; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YE/crpx08q0cvPrENC0BpfjOnpLuB9SgYwlLiwfyZzU=; b=KuTK1Y6Nq/h4H9nAb5LDteTgqLL1XOEpxBSte88Qr4ATdhjgLSiG4IACGJqmLUTSp+A0lN 0zyZYUtkxEbm4eIznFp4/BiCervEeLV9I5NawYimTXkgskXMdnrFuZ0PDIj3Jd0qxM9K0B ADNy2bHnkd0gz3EQch7MXueUymXQ+JY= X-MC-Unique: eyLmxuqPOXCulOyJ6jFdXQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708416391; x=1709021191; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YE/crpx08q0cvPrENC0BpfjOnpLuB9SgYwlLiwfyZzU=; b=bIlNOv2ssg40kEc436FdOvXo9zLcrezP7hEF6jAaoGT9DUmWyII6Z4RWkEoORYfKgT EMF62TUN5zkJYWdzOAmLBT5uU23XFC0H5GNgj50fOmh7Q2SMM3k9neg5/ZRx2tup+tK5 vI3Dzqsgx34oGC7LtcJ1KMLxJUfYAAIX9iEBcGF40ka2BuOXinEvJD8AD5A0xDJZJ7yA 2SYHlCRGhidgJ5oQUBNn8ta32n7W1jrbQDFx2h9Y/sQzwH6gLx5j3JDNPOQIBcLbGdyk QmIky1LFgi2ZNuwc/gbUsX1bns+DozEaFIOW+mcXuh5iIMDYmgOuBH4LnR6uz5zJijbk 1atA== X-Gm-Message-State: AOJu0YxW26qKVZ8jG9WqyCYkbbhLJXh5pxm8kvg4W73v6vzw3tCeM+Pb b1nsOqE3FF3R6Et5VA1002kTgbJJZONH1UsriMSYJFapo/L2ecmB1nmaNXr/4HUIwIpknY+Ihsv HFupjIMxSeXMXPRRiRmG8B9We+Ex+Napt1Wzex8Xb0erE0dx7SKwKXLjIG6VEY7dPF90m1eaaCz KLqGxjW2saei/3BUFNNPzCop4TmL7/hdG4LCod X-Received: by 2002:a17:906:3901:b0:a3f:f73:411f with SMTP id f1-20020a170906390100b00a3f0f73411fmr315011eje.45.1708416391709; Tue, 20 Feb 2024 00:06:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHeQtLMa5wLegIZJblxVsKBVCFEvFVNOwpzMow3lxE8tzuLe0cFYZpi98xlhG2awya04XvC+g== X-Received: by 2002:a17:906:3901:b0:a3f:f73:411f with SMTP id f1-20020a170906390100b00a3f0f73411fmr314992eje.45.1708416391408; Tue, 20 Feb 2024 00:06:31 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Xiaoyao Li Subject: [PULL 03/17] target/i386: Add support of KVM_FEATURE_ASYNC_PF_VMEXIT for guest Date: Tue, 20 Feb 2024 09:05:44 +0100 Message-ID: <20240220080558.365903-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240220080558.365903-1-pbonzini@redhat.com> References: <20240220080558.365903-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.072, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1708416458168100003 Content-Type: text/plain; charset="utf-8" From: Xiaoyao Li KVM_FEATURE_ASYNC_PF_VMEXIT has been introduced for years, however QEMU doesn't support expose it to guest. Add support for it. Signed-off-by: Xiaoyao Li Message-ID: <20231024083354.1171308-1-xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 3ce138fecb7..bca776e1fe9 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -857,7 +857,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] =3D { .feat_names =3D { "kvmclock", "kvm-nopiodelay", "kvm-mmu", "kvmclock", "kvm-asyncpf", "kvm-steal-time", "kvm-pv-eoi", "kvm-pv-unhalt", - NULL, "kvm-pv-tlb-flush", NULL, "kvm-pv-ipi", + NULL, "kvm-pv-tlb-flush", "kvm-asyncpf-vmexit", "kvm-pv-ipi", "kvm-poll-control", "kvm-pv-sched-yield", "kvm-asyncpf-int", "= kvm-msi-ext-dest-id", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, --=20 2.43.0