From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA08C5A9858; Thu, 17 Sep 2026 14:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789657201; cv=none; b=nIVaTEyjN9s3v97SrQHlUVJsrYd54CSBp+KRx8PdWb7CmnFWf+hAl1lYnsoBdMDtdYd/k48zh8Z2uPYjA2MfZ4YPS2+vAqNFuaHTe9DJ/fyfaEvLvZaN1JaUF7P7ujRhn7AplyPvz/x4/JefSoJFdNWqgt9jeG0jrfeIwCZ7g0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789657201; c=relaxed/simple; bh=53aCEGHYwukAZTl86DipUp2yXojCNqH9CDncsz1xdks=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fjMUYkNzWki60GHEStnDivkmA009UrKFPyZJMcv5MY+6bxrOcEA9CAWxUHkDrTWh4QGcgjD3cWECLHvlyGk9wtdTCU7U6FAEFjxrxkPSweEy0D8GXlyKTgx9j0oL7aPNaPLEhnNEXMpu2gQLySqZFHqb2JoSpW4ZyByyD64J+Xo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; arc=none smtp.client-ip=85.214.250.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Received: from 8bytes.org (p200300f6af404a00d97e11a7b5d1f70d.dip0.t-ipconnect.de [IPv6:2003:f6:af40:4a00:d97e:11a7:b5d1:f70d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 8DCCB1C1C39; Thu, 17 Sep 2026 16:59:38 +0200 (CEST) Date: Thu, 17 Sep 2026 16:59:37 +0200 From: =?utf-8?B?SsO2cmcgUsO2ZGVs?= To: Tony Lindgren Cc: Paolo Bonzini , Sean Christopherson , Michael Roth , Liam Merwick , Vishal Annapurve , Ninad Naik , Joerg Roedel , Tom Lendacky , James Bottomley , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, coconut-svsm@lists.linux.dev Subject: Re: [PATCH v2 6/8] KVM: SEV: Add SNP vCPU state get and set commands Message-ID: References: <20260908103338.427254-1-joro@8bytes.org> <20260908103338.427254-7-joro@8bytes.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Tony, On Thu, Sep 17, 2026 at 09:27:47AM +0300, Tony Lindgren wrote: > Oh OK, so calling for both hypervisor and confidential VCPU state would be > needed. The difference could be specified in the struct kvm_vcpu_transfer > flags? Or hypervisor state is migrated outside of the CVM live migration interface? From QEMUs perspective it is not different to other state like for emulated devices and such. Does TDX also have per-cpu hypervisor state that needs to be migrated? In any case, for SNP this state must be settable from QEMU to correctly support IGVM loading, so an interface outside of live migration is needed :) Regards, Joerg