From nobody Wed Nov 27 14:39:21 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=1698276539; cv=none; d=zohomail.com; s=zohoarc; b=cR3GMsNtWLHdgN/s4OIonCA8WohqfcOw5gfqOPNI+DjGmqT4D3wNz1wRzldZqFE4+9YDtDJF64D+BZhNp5+A/VZf2u5FSvrQH7cPHOL7Ztbc9pQnFD3kdB8TLl02GrUDP1buS6Mk/JkEjnpu2NSbqfa9ayjyhjSwOl4qd0Afmjk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698276539; h=Content-Type:Content-Transfer-Encoding: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:Cc; bh=fpXBNDQ2zJ3iFM2sYgodeN86HxnKFSz31ivc1oz0iiM=; b=PBseL67NxSciUmUt1XSwKaqHGJoh1FrOgemdN+tKHa00fnlZUHxIcRvRWKzaRxkSgYHejlm9HYKvqbsajPYQOYlkBjDCpcThySQ0EOKtImgnlDSX+UHYJ/1zWIHExps+O8deQuoqhLzY9gXZj6wZ0CKUwk98eUaOZdLHfvNUyJU= 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 1698276539158586.4257780034872; Wed, 25 Oct 2023 16:28:59 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvnHz-0001ca-Tm; Wed, 25 Oct 2023 19:27:51 -0400 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 1qvnHx-0001aC-Ma for qemu-devel@nongnu.org; Wed, 25 Oct 2023 19:27:49 -0400 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 1qvnHw-0005Bu-4l for qemu-devel@nongnu.org; Wed, 25 Oct 2023 19:27:49 -0400 Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-20-31dBzu3hMx6Jx-gP8qM6EA-1; Wed, 25 Oct 2023 19:27:46 -0400 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-63d0c38e986so3743256d6.1 for ; Wed, 25 Oct 2023 16:27:46 -0700 (PDT) Received: from [172.19.0.201] ([192.80.84.35]) by smtp.gmail.com with ESMTPSA id dh5-20020ad458c5000000b0066cf6f202cdsm4750410qvb.122.2023.10.25.16.27.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 16:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698276467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fpXBNDQ2zJ3iFM2sYgodeN86HxnKFSz31ivc1oz0iiM=; b=OpVLIU+FspK/oH96lFlPGc9QM0sRMtxV0nRgQ/u+RTQF8XwC58r4HY015aviM5tufe0llu 5el6I+B8wdUIn8taFSq8HfuHWyppLfBjDOynIzHfmcddM6amSO39mHySZPPo20huTlWBUZ xeOPNmSH7kdbooldZ98x08xb/CL6brc= X-MC-Unique: 31dBzu3hMx6Jx-gP8qM6EA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698276465; x=1698881265; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fpXBNDQ2zJ3iFM2sYgodeN86HxnKFSz31ivc1oz0iiM=; b=G0C70qXuQHr+kCT0YWmocqtPCl2n2HHQgv5THLI/aCmlugOJiMZGLhy7UiEjH8yJtO HWTBieqAFfWYLRbREOqPt5Ya1s1W7TuU4ff3XJHWFn/KqBSeGergwbYFCmH/J9vQCa4a RDXBFSsDskiPMCZ+qqBzrIqw6wiQ/KrJfhFbPGiBkHvd/IKlTu2vtoYa9FdI+RrFMcqx YFPM5U/sZja86vfKWIw+IQutNYgYlinBBJkys9CsCcW/6xczEqoycvzSAh4Gizdw6uQK l+uZRC509fmaN/tN1bNWZyubcN0pk9E8L+0qjNXFZUTN/RhHDhxpcQ+UG7dYXhq9djun o4wg== X-Gm-Message-State: AOJu0Yzc1vExzlOqGb/S1uTvMSCsX1Ry70nFGiDIVsxRBwa1IaChubY7 aAK1U+tnr/NZeycxVYmT4lLdsWhLm1wIDt/bMtmPYRhhtFzJHBP0un5qPenaVKhjCGCOovAUTo4 Rkscbxxg6EnayfspaAvesb6gWZAHpvaLEDDO1y0ffDMAE1wuyjmT64jrNBu8DsUBYPnLxs5mkCh U= X-Received: by 2002:ad4:5bc8:0:b0:66d:1ffe:bcd4 with SMTP id t8-20020ad45bc8000000b0066d1ffebcd4mr15857873qvt.44.1698276465319; Wed, 25 Oct 2023 16:27:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHyLkXsqqUbwZRs+UTQt3unpIwVOEq5K5Yt0pJIMWrtNQBp706lxIUbc+/AnDezG0yIuyhVmQ== X-Received: by 2002:ad4:5bc8:0:b0:66d:1ffe:bcd4 with SMTP id t8-20020ad45bc8000000b0066d1ffebcd4mr15857856qvt.44.1698276464936; Wed, 25 Oct 2023 16:27:44 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 13/24] kvm: drop reference to KVM_CAP_PCI_2_3 Date: Thu, 26 Oct 2023 01:27:06 +0200 Message-ID: <20231025232718.89428-14-pbonzini@redhat.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025232718.89428-1-pbonzini@redhat.com> References: <20231025232718.89428-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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 1698276539455100001 Content-Type: text/plain; charset="utf-8" This is a remnant of pre-VFIO device assignment; it is not defined anymore by Linux and not used by QEMU. Signed-off-by: Paolo Bonzini --- accel/kvm/kvm-all.c | 7 ------- include/sysemu/kvm.h | 1 - include/sysemu/kvm_int.h | 1 - 3 files changed, 9 deletions(-) diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c index be50d47f7b4..50717a0d634 100644 --- a/accel/kvm/kvm-all.c +++ b/accel/kvm/kvm-all.c @@ -2576,8 +2576,6 @@ static int kvm_init(MachineState *ms) =20 s->max_nested_state_len =3D kvm_check_extension(s, KVM_CAP_NESTED_STAT= E); =20 - s->intx_set_mask =3D kvm_check_extension(s, KVM_CAP_PCI_2_3); - s->irq_set_ioctl =3D KVM_IRQ_LINE; if (kvm_check_extension(s, KVM_CAP_IRQ_INJECT_STATUS)) { s->irq_set_ioctl =3D KVM_IRQ_LINE_STATUS; @@ -3237,11 +3235,6 @@ int kvm_has_gsi_routing(void) #endif } =20 -int kvm_has_intx_set_mask(void) -{ - return kvm_state->intx_set_mask; -} - bool kvm_arm_supports_user_irq(void) { return kvm_check_extension(kvm_state, KVM_CAP_ARM_USER_IRQ); diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 16d58d2598a..bcc9bd96a92 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -216,7 +216,6 @@ int kvm_has_debugregs(void); int kvm_max_nested_state_length(void); int kvm_has_many_ioeventfds(void); int kvm_has_gsi_routing(void); -int kvm_has_intx_set_mask(void); =20 /** * kvm_arm_supports_user_irq diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h index a7dacd12d6c..817238b9582 100644 --- a/include/sysemu/kvm_int.h +++ b/include/sysemu/kvm_int.h @@ -85,7 +85,6 @@ struct KVMState #endif int max_nested_state_len; int many_ioeventfds; - int intx_set_mask; int kvm_shadow_mem; bool kernel_irqchip_allowed; bool kernel_irqchip_required; --=20 2.41.0