[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/7] hw/s390x: Set kvm_supported to s390-ccw-virtio machines
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 6/7] hw/s390x: Set kvm_supported to s390-ccw-virtio machines |
Date: |
Fri, 19 Feb 2021 12:44:27 +0100 |
All s390-ccw-virtio machines support KVM.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
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;
--
2.26.2
- [PATCH 0/7] hw/kvm: Exit gracefully when KVM is not supported, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 3/7] hw/arm: Set kvm_supported for KVM-compatible machines, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 4/7] hw/mips: Set kvm_supported for KVM-compatible machines, Philippe Mathieu-Daudé, 2021/02/19
- [RFC PATCH 5/7] hw/ppc: Set kvm_supported for KVM-compatible machines, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 6/7] hw/s390x: Set kvm_supported to s390-ccw-virtio machines,
Philippe Mathieu-Daudé <=
- [PATCH 7/7] accel/kvm: Exit gracefully when KVM is not supported, Philippe Mathieu-Daudé, 2021/02/19
- Re: [PATCH 0/7] hw/kvm: Exit gracefully when KVM is not supported, Peter Maydell, 2021/02/19
- Re: [PATCH 0/7] hw/kvm: Exit gracefully when KVM is not supported, Daniel P . Berrangé, 2021/02/19
Re: [PATCH 0/7] hw/kvm: Exit gracefully when KVM is not supported, Claudio Fontana, 2021/02/19