Received: from eggs.gnu.org ([2001:4830:134:3::10]:42401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX9ve-0002th-S9 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 13:35:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX9vb-0001pa-Jw for qemu-devel@nongnu.org; Mon, 17 Jul 2017 13:35:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51542) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dX9vb-0001pB-D9 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 13:35:27 -0400 References: <1500028867-134709-1-git-send-email-borntraeger@de.ibm.com> <1500028867-134709-38-git-send-email-borntraeger@de.ibm.com> From: David Hildenbrand Message-ID: Date: Mon, 17 Jul 2017 19:35:23 +0200 MIME-Version: 1.0 In-Reply-To: <1500028867-134709-38-git-send-email-borntraeger@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 37/40] s390x/kvm: Enable KSS facility for nested virtualization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Peter Maydell Cc: Thomas Huth , Farhan Ali , Cornelia Huck , qemu-devel , Alexander Graf , Richard Henderson On 14.07.2017 12:41, Christian Borntraeger wrote: > From: Farhan Ali > > If the host supports keyless subset (KSS) then first level > guest (G2) should enable KSS facility as well. > > Signed-off-by: Farhan Ali > Reviewed-by: Eric Farman > Acked-by: Cornelia Huck > Signed-off-by: Christian Borntraeger > --- > target/s390x/kvm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c > index 8c6cc0a..c773bd6 100644 > --- a/target/s390x/kvm.c > +++ b/target/s390x/kvm.c > @@ -2508,6 +2508,7 @@ static int kvm_to_feat[][2] = { > { KVM_S390_VM_CPU_FEAT_CMMA, S390_FEAT_SIE_CMMA }, > { KVM_S390_VM_CPU_FEAT_PFMFI, S390_FEAT_SIE_PFMFI}, > { KVM_S390_VM_CPU_FEAT_SIGPIF, S390_FEAT_SIE_SIGPIF}, > + { KVM_S390_VM_CPU_FEAT_KSS, S390_FEAT_SIE_KSS}, > }; > > static int query_cpu_feat(S390FeatBitmap features) > This bit is not part of any cpu model, so how is this helpful? (AFAIK it will simply be dropped from the host model) -- Thanks, David