Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp472122rdb; Thu, 15 Feb 2024 06:03:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW2+hthHoIpJCriBxrsXY9cmOZN2SFA5nMSU03y4uC0BWjSiWRQzzKqQYQ6PjjV16BLpzgaEkisv/fDcDsN59XLssDWP8onmtSDRH2DKQ== X-Google-Smtp-Source: AGHT+IFo0SuYh8KoigSnUoiGvBEcFo6zW71btiuAsL1lotQWMIJ8FdXIFSJe2r4NQjpbhIJ5NGkP X-Received: by 2002:a17:902:6841:b0:1da:1c72:2ca7 with SMTP id f1-20020a170902684100b001da1c722ca7mr1741703pln.29.1708005837901; Thu, 15 Feb 2024 06:03:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708005837; cv=pass; d=google.com; s=arc-20160816; b=xboiTtrdKQTRwF5DWNdJlh0qDo5/IWyP5wn4E3Mcv5bAvoi55hmy6iHkYYkAqqxvI1 3m74Qd3hjgLzCaY3Gv6kcHXpcPAlpRg/63xzJ6LcXjHZ1Hb5Cv302XYi9PAb/mKolpAQ tAlpjxh+vwVw/7NJ6L10Cc1yyLR0xFX7fj1I1becPqjzn+uSJkLXJWUwC8AqcAjJbDLj 4YverM0DEPWFmlZIGp1WTZ6TczuzjVu2i9EEfAltWiUlyVQVwMQdWJfh7NiFs1V8KCeA V2Kq8Xk6IRLgFyihsff6a4AGsUqtOZyshB9KMLP6Qxz7ezudbsAVLWXqH86mHebrf+et rc3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=20piVqpde4RqY3y0TzGE+6g2PggMnDnosLc4y+UW99s=; fh=KKlB+E2m7Dal3uJ2FoTK5Lk86nZCiJlGTaneX2odKhM=; b=UxorT2Db0oKQ2s4V5mlul/AjTKHjNWe965FlZktopzFXZdVfy8p1tIXnB6aEeF0pKE vInDOqxWkvYckU4BHR2tlbvydE/9AkS1tgTXC3fAQH+cTmRLW4eWGVhdvBZajl5oAzBm l7vGKHGcZhmzBAqtB7hh+eXHWZpJUuZ6C+ohyUqdGYcQirXb1BW8wlbVHl4Yewg9WfLr nl3N2xdt4ybHJYHImAQI7D3rdVFdyxMpJiduN+q+yMFVF8MJMGnsMI6IjG+iWx7u364C MwiWbvjjeCzg0OcJZKBP6+2Ird8b/+r4U/HQAhS5Guk6eWYHtMkSxkzwlj2tqjUMxRzS X/lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OduSVEly; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-66991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s9-20020a170902b18900b001d936b75f10si1126347plr.267.2024.02.15.06.03.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 06:03:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OduSVEly; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-66991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6C2EEB2D628 for ; Thu, 15 Feb 2024 13:36:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5BB8130E3C; Thu, 15 Feb 2024 13:35:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OduSVEly" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B32D12BF3D for ; Thu, 15 Feb 2024 13:35:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708004150; cv=none; b=T5AX7sSbJTYQuY+YXssCzL8DQkwiDQXSP78PPgk0duVwi8W42yoJbousUxy2eZAX881QqLksRVPLZB5dtKeuSGajKf2/QHSaORpuk191o/TlgKTe3IZ4OII7n36Krhpytrnp71pyQ4sudBbnywQBzXbXkfL7yOPigm3KTMrK08A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708004150; c=relaxed/simple; bh=20piVqpde4RqY3y0TzGE+6g2PggMnDnosLc4y+UW99s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rX06Lg3YNeOqMMx40qyPHk+RRAeNeaRIYEaNLW/2gADI3jPik4w04s/ifALa8kf/VkyTwgErX2ucCQi3lY4I5pluScLdhstwQ7QJ/df8BIcdySP9XQRLj7DEbLGS7ZPiY2wSSSujjQgVJ5bl57YqGscMYBk6yQhTSW+/9osXRic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=OduSVEly; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708004148; 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:autocrypt:autocrypt; bh=20piVqpde4RqY3y0TzGE+6g2PggMnDnosLc4y+UW99s=; b=OduSVElybBrb2PsWzG7Pa3hIImvEAjwtrVkc/2cCgcBqJxgDarc0b4HtfAh8TuNcPWh5SN ljpLSDj2CtNsSNC6ourUEbKrvmLhEr104XQQdiOHdD/IqX10oo0Tm3hldugcptj8A/eIpz vpPcocsi8H7JQ7zhJtpaybBRui82trE= 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-331-POZHQiuOMOqxFLOWdQYztQ-1; Thu, 15 Feb 2024 08:35:46 -0500 X-MC-Unique: POZHQiuOMOqxFLOWdQYztQ-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a2c4e9cb449so60602666b.1 for ; Thu, 15 Feb 2024 05:35:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708004145; x=1708608945; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=20piVqpde4RqY3y0TzGE+6g2PggMnDnosLc4y+UW99s=; b=gEgyoMoN0SMXTGh1vtTYBdHhEP7KYzSCwD3e+5RYUJVwZqOT6v8sdOLYOrSaOrLIcP mIzWvUwGpxIw0ixTqoKf8DFDCLByosp9fGVORwWb9CMLJYhkYNf8elmPEqkofATqj1v7 jYTe5J1+8IrmVuKZXFK/9rp+Z9L3xgbqfy6pUPiOsk+B8uiT8i8ChlfoOJ1qpYIjWm2q P7bQDiMAUIR5M27wnWZhSdTKIQJaShAxnIODLkGmScg9/apMWmYUjRD+KBzIsCufIi1i 38Ek1VACPRox97FaMB50Srqy5MSyFWk6UvGo69LT/MhbkuKsz9pDvebwirD0bWx45g2/ Anaw== X-Gm-Message-State: AOJu0YwGldJwqwQHMQlxDz7wVZiQfzXiPV1N2ew2+UQ8HAjBljLJuKCY qDVVdqE+2VC0AGbHLrh1VTj4HIOdvxRAqW2aIsDjvhx9+uV8qHm++FTvPAgvXR1U+yV7OEy6NKx g++dHhtfudCJUxqCmtCXMBnFNswpEpPEbRIhbOXAeDnjWlXftAIEYHwOelSV1Pw== X-Received: by 2002:a17:906:e209:b0:a3d:a650:e5c with SMTP id gf9-20020a170906e20900b00a3da6500e5cmr817628ejb.29.1708004145414; Thu, 15 Feb 2024 05:35:45 -0800 (PST) X-Received: by 2002:a17:906:e209:b0:a3d:a650:e5c with SMTP id gf9-20020a170906e20900b00a3da6500e5cmr817609ejb.29.1708004145089; Thu, 15 Feb 2024 05:35:45 -0800 (PST) Received: from [192.168.1.174] ([151.64.123.201]) by smtp.googlemail.com with ESMTPSA id o15-20020a1709061b0f00b00a3dabd0fdddsm238738ejg.15.2024.02.15.05.35.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Feb 2024 05:35:44 -0800 (PST) Message-ID: Date: Thu, 15 Feb 2024 14:35:43 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 07/10] KVM: x86: Add is_vm_type_supported callback Content-Language: en-US To: Michael Roth Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, seanjc@google.com, aik@amd.com, isaku.yamahata@intel.com References: <20240209183743.22030-1-pbonzini@redhat.com> <20240209183743.22030-8-pbonzini@redhat.com> <20240215003358.pjqfz3zik3s26nwt@amd.com> From: Paolo Bonzini Autocrypt: addr=pbonzini@redhat.com; keydata= xsEhBFRCcBIBDqDGsz4K0zZun3jh+U6Z9wNGLKQ0kSFyjN38gMqU1SfP+TUNQepFHb/Gc0E2 CxXPkIBTvYY+ZPkoTh5xF9oS1jqI8iRLzouzF8yXs3QjQIZ2SfuCxSVwlV65jotcjD2FTN04 hVopm9llFijNZpVIOGUTqzM4U55sdsCcZUluWM6x4HSOdw5F5Utxfp1wOjD/v92Lrax0hjiX DResHSt48q+8FrZzY+AUbkUS+Jm34qjswdrgsC5uxeVcLkBgWLmov2kMaMROT0YmFY6A3m1S P/kXmHDXxhe23gKb3dgwxUTpENDBGcfEzrzilWueOeUWiOcWuFOed/C3SyijBx3Av/lbCsHU Vx6pMycNTdzU1BuAroB+Y3mNEuW56Yd44jlInzG2UOwt9XjjdKkJZ1g0P9dwptwLEgTEd3Fo UdhAQyRXGYO8oROiuh+RZ1lXp6AQ4ZjoyH8WLfTLf5g1EKCTc4C1sy1vQSdzIRu3rBIjAvnC tGZADei1IExLqB3uzXKzZ1BZ+Z8hnt2og9hb7H0y8diYfEk2w3R7wEr+Ehk5NQsT2MPI2QBd wEv1/Aj1DgUHZAHz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yIcbw2NIVEBOK/GWxkS5+dmxM2iD4Jdaf2nSn3jlHjEXoPwpMs0KZsgdU0pP JQzMUMwmB1wM8JxovFlPYrhNT9MAEQEAAcLBMwQYAQIACQUCVEJx7gIbDAAKCRB+FRAMzTZp sadRDqCctLmYICZu4GSnie4lKXl+HqlLanpVMOoFNnWs9oRP47MbE2wv8OaYh5pNR9VVgyhD OG0AU7oidG36OeUlrFDTfnPYYSF/mPCxHttosyt8O5kabxnIPv2URuAxDByz+iVbL+RjKaGM GDph56ZTswlx75nZVtIukqzLAQ5fa8OALSGum0cFi4ptZUOhDNz1onz61klD6z3MODi0sBZN Aj6guB2L/+2ZwElZEeRBERRd/uommlYuToAXfNRdUwrwl9gRMiA0WSyTb190zneRRDfpSK5d usXnM/O+kr3Dm+Ui+UioPf6wgbn3T0o6I5BhVhs4h4hWmIW7iNhPjX1iybXfmb1gAFfjtHfL xRUr64svXpyfJMScIQtBAm0ihWPltXkyITA92ngCmPdHa6M1hMh4RDX+Jf1fiWubzp1voAg0 JBrdmNZSQDz0iKmSrx8xkoXYfA3bgtFN8WJH2xgFL28XnqY4M6dLhJwV3z08tPSRqYFm4NMP dRsn0/7oymhneL8RthIvjDDQ5ktUjMe8LtHr70OZE/TT88qvEdhiIVUogHdo4qBrk41+gGQh b906Dudw5YhTJFU3nC6bbF2nrLlB4C/XSiH76ZvqzV0Z/cAMBo5NF/w= In-Reply-To: <20240215003358.pjqfz3zik3s26nwt@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/15/24 01:33, Michael Roth wrote: >> +bool __kvm_is_vm_type_supported(unsigned long type); > It's not really clear from this patch/commit message why the export is > needed at this stage. Yep, I'll remove it. Paolo