From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 DF6183E7BAA for ; Mon, 8 Jun 2026 15:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933238; cv=none; b=B8r4G/GcNz7WqWvhU4hjes3IEkCY7gdgk24mR3hu/WkKMBfrfLLJrtYaj9vuPAhjVUSmW46l0Q5ZvTYwL1enc3OW6EYYXb/qC0IVrdFxfoiPrfCmBsId6RGAKzEJyWyOTxhIJ7YzoKOQnt/kC+2IFzDc1kVzEyoEO74zA2tG2nU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933238; c=relaxed/simple; bh=zm3tAB/r+pUyUEeY15vvxC3Q1bxcEk5XPR5ggKaT7t8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=QvZ+Q1S3Fh/8B8/1xdZdK4NuzCmuzcjr0gTzgImqk1QeuhrqnKVozqmhNTRY6ybvA1RlzR45ti/isEQeesRW4iqpLbARvCytOSX9MdbHDW+hfnm61IKrjSWw1wZKLu3icUOwNadPrm7Nf8HC7Kz3B9r1hDKJsU+YDhIFBth1fhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=JTVEys1n; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JTVEys1n" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780933236; h=from:from:reply-to: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=ojAXK1QVYXmOIiQXhBpS8DoBmVZqCzVm4Y03iZQHggM=; b=JTVEys1nlIhMuTp5zlh1VndRr6vcxUrsoptjWvTDSMypf7K6l5W5Mbhxgdmpf4I+NNhUUj ssgKJ3/sOpr0k97SdXdecZIT51E94nwMkyEPdZ3UcHUAxaKiCq4VKGtIvxG//8NjZPd8v3 2p/WzAhxZK3LXX1sYe/u8v/xsALx29A= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-5qYlzUWKNje-CfgPR6Ok0A-1; Mon, 08 Jun 2026 11:40:22 -0400 X-MC-Unique: 5qYlzUWKNje-CfgPR6Ok0A-1 X-Mimecast-MFC-AGG-ID: 5qYlzUWKNje-CfgPR6Ok0A_1780933221 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4FF791956053; Mon, 8 Jun 2026 15:40:20 +0000 (UTC) Received: from redhat.com (unknown [10.44.49.219]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0DA141954102; Mon, 8 Jun 2026 15:40:15 +0000 (UTC) Date: Mon, 8 Jun 2026 16:40:12 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: =?utf-8?B?SsO2cmcgUsO2ZGVs?= Cc: Paolo Bonzini , Richard Henderson , philmd@linaro.org, marcel.apfelbaum@gmail.com, zhao1.liu@intel.com, mst@redhat.com, cohuck@redhat.com, mtosatti@redhat.com, Tom Lendacky , qemu-devel@nongnu.org, kvm@vger.kernel.org, coconut-svsm@lists.linux.dev, joerg.roedel@amd.com Subject: Re: [RFC PATCH 00/10] QEMU Support for KVM Planes Message-ID: Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20260608152109.356783-1-joro@8bytes.org> Precedence: bulk X-Mailing-List: coconut-svsm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260608152109.356783-1-joro@8bytes.org> User-Agent: Mutt/2.3.2 (2026-04-26) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-MFC-PROC-ID: REVJgTHHerpn5MXPVhE8y4ebbWX1py3gj04Mjqk6in8_1780933221 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Mon, Jun 08, 2026 at 05:20:59PM +0200, Jörg Rödel wrote: > From: Joerg Roedel > > Hi, > > here are the required QEMU changes to make use of the KVM Planes > interface posted here[1]. > > The patches are based on QEMU v11.0.0 and can be used to launch an AMD > SEV-SNP VM with COCONUT-SVSM + a Linux guest. > > To make this work a change to the QEMU command line is required to > tell QEMU which plane to target external IRQs to. this is done with > the new device-plane property to the machine specification, e.g: > > $ qemu-system-x86_64 \ > -enable-kvm \ > -cpu EPYC-v4 \ > -machine q35,confidential-guest-support=sev0,memory-backend=ram1,igvm-cfg=igvm0,kernel-irqchip=split,device-plane=2 \ > -object memory-backend-memfd,id=ram1,size=32G,share=true \ > -object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1 \ > -object igvm-cfg,id=igvm0,file=$IGVM_FILE \ > ... How are device-plane values intended to be chosen by the user ? Is "2" a value that can/should always be used, or is there a dependency on the igvm file, or somethihng else ? With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|