From patchwork Fri Feb 19 11:44:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12095133 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08B98C433E0 for ; Fri, 19 Feb 2021 11:46:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD09C64EB3 for ; Fri, 19 Feb 2021 11:46:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230462AbhBSLqk (ORCPT ); Fri, 19 Feb 2021 06:46:40 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:43215 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230438AbhBSLqf (ORCPT ); Fri, 19 Feb 2021 06:46:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613735109; 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; bh=FSOzp7uQzDcR4IYxMZ7wQ2qt5GIWM3B9STvSPsjq1vc=; b=P7V5WTzyCkj+OSNAXTB0ChpNKNApf9nO8ezuauv8NqC47BHrkjpePPsCUGaKvlWTbfSlY5 JrsmPxVtAEsxRZ61Me/WdcNuOcBoxZyt2GS5WaNr0aboJ64zqm4Z9UepvV4IzuB9FD6uDr 2jXk82hOFYCPolOQstImeATu3zDs8d4= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-349-_UMdGcv9Nh6m-Q4T8UkPIw-1; Fri, 19 Feb 2021 06:45:07 -0500 X-MC-Unique: _UMdGcv9Nh6m-Q4T8UkPIw-1 Received: by mail-wr1-f70.google.com with SMTP id l3so699224wrx.15 for ; Fri, 19 Feb 2021 03:45:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FSOzp7uQzDcR4IYxMZ7wQ2qt5GIWM3B9STvSPsjq1vc=; b=Hr2NMJGcO9FImw1uJfprac4AgSuWq4s0WOByG8YKFCywLCh4HCvGsuXKEXF1BD7l9V iIpb3bNQgbyHshR/aLdKqouzVq8afl8t7lowsqKJsMoDE7senLBTWyJBFvKFLdc3x9HM HLPVKGZhkx8asrkSB6isA4BZnHV8iFIBJ9jZcnC2qAdIP7ftusMN1Ch/LU9heQP7eEJ5 jRJsbevSUh7eQPqr8rFztoTI54R00YOEFC/JbolDmqIWiu8e8LHM/TkiwZX7yUWUC4jk 1oJoT2gJlsKCWLTBRSRGGu78cubSEGYkvadGep5eBbRz7RT+hEunW9fQju4xeQmuZi76 IWOw== X-Gm-Message-State: AOAM532YrXWu76bYbS8tZHz12X1a7tXniY1l2zPCYNrNDhQXRQflbMPK eukkNvBIVRkXgsysRU9yyKnfxKzIcLbYYWNspDmlEf02tJNJBEmTzl6wAoR+RkKiicNWLcCDc0/ pH+5TTjh/mBkO X-Received: by 2002:a1c:9d52:: with SMTP id g79mr1792871wme.144.1613735106319; Fri, 19 Feb 2021 03:45:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5NDROWWBmKNQhqQPWK1fZiiO56f2O6/VVl8Y9duIpMUqxZOlYU2Hbr0aPfnX0v4HquetdhQ== X-Received: by 2002:a1c:9d52:: with SMTP id g79mr1792832wme.144.1613735106189; Fri, 19 Feb 2021 03:45:06 -0800 (PST) Received: from localhost.localdomain (68.red-83-57-175.dynamicip.rima-tde.net. [83.57.175.68]) by smtp.gmail.com with ESMTPSA id a11sm3917199wmh.25.2021.02.19.03.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Feb 2021 03:45:05 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Radoslaw Biernacki , Paolo Bonzini , qemu-s390x@nongnu.org, Greg Kurz , Marcel Apfelbaum , qemu-arm@nongnu.org, Cornelia Huck , Aleksandar Rikalo , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , BALATON Zoltan , Huacai Chen , Aurelien Jarno , Richard Henderson , "Edgar E. Iglesias" , Christian Borntraeger , Leif Lindholm , Alistair Francis , Thomas Huth , Peter Maydell , Eduardo Habkost , Jiaxun Yang , Halil Pasic , David Hildenbrand , qemu-ppc@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= , David Gibson , Mark Cave-Ayland , kvm@vger.kernel.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 6/7] hw/s390x: Set kvm_supported to s390-ccw-virtio machines Date: Fri, 19 Feb 2021 12:44:27 +0100 Message-Id: <20210219114428.1936109-7-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210219114428.1936109-1-philmd@redhat.com> References: <20210219114428.1936109-1-philmd@redhat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org All s390-ccw-virtio machines support KVM. Signed-off-by: Philippe Mathieu-Daudé --- hw/s390x/s390-virtio-ccw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 2972b607f36..259b4b4397e 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -612,6 +612,7 @@ static void ccw_machine_class_init(ObjectClass *oc, void *data) mc->possible_cpu_arch_ids = s390_possible_cpu_arch_ids; /* it is overridden with 'host' cpu *in kvm_arch_init* */ mc->default_cpu_type = S390_CPU_TYPE_NAME("qemu"); + mc->kvm_supported = true; hc->plug = s390_machine_device_plug; hc->unplug_request = s390_machine_device_unplug_request; nc->nmi_monitor_handler = s390_nmi;