From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: [patch 11/12] [PATCH] kvm-s390-ucontrol: announce capability for user controlled vms Date: Thu, 01 Dec 2011 13:57:43 +0100 Message-ID: <20111201130409.977813549@de.ibm.com> References: <20111201125732.085553111@de.ibm.com> Cc: Christian Borntraeger , Heiko Carstens , Martin Schwidefsky , Cornelia Huck , KVM , Joachim von Buttlar , Jens Freimann , Constantin Werner To: Avi Kivity , Marcelo Tossati Return-path: Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:51644 "EHLO e06smtp15.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754266Ab1LANE0 (ORCPT ); Thu, 1 Dec 2011 08:04:26 -0500 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 1 Dec 2011 13:04:24 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB1D4ArV2498758 for ; Thu, 1 Dec 2011 13:04:10 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB1D4Adr023174 for ; Thu, 1 Dec 2011 06:04:10 -0700 Content-Disposition: inline; filename=announce-ucas.patch Sender: kvm-owner@vger.kernel.org List-ID: This patch announces a new capability KVM_CAP_S390_UCONTROL that indicates that kvm can now support virtual machines that are controlled by userspace. Signed-off-by: Carsten Otte --- --- arch/s390/kvm/kvm-s390.c | 3 +++ include/linux/kvm.h | 1 + 2 files changed, 4 insertions(+) --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -260,6 +260,9 @@ int kvm_dev_ioctl_check_extension(long e case KVM_CAP_S390_PSW: case KVM_CAP_S390_GMAP: case KVM_CAP_SYNC_MMU: +#ifdef CONFIG_KVM_UCONTROL + case KVM_CAP_S390_UCONTROL: +#endif r = 1; break; default: --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -570,6 +570,7 @@ struct kvm_s390_keyop { #define KVM_CAP_MAX_VCPUS 66 /* returns max vcpus per vm */ #define KVM_CAP_PPC_PAPR 68 #define KVM_CAP_S390_GMAP 71 +#define KVM_CAP_S390_UCONTROL 72 #ifdef KVM_CAP_IRQ_ROUTING