From 0fc60ca58aa250b4f11f8c69d0be097e0140e7df Mon Sep 17 00:00:00 2001 From: David Hildenbrand Date: Thu, 28 Sep 2017 22:37:06 +0200 Subject: s390x/tcg: unlock NMI Nothing hindering us anymore from unlocking the restart code (used for NMI). Signed-off-by: David Hildenbrand Message-Id: <20170928203708.9376-29-david@redhat.com> Reviewed-by: Richard Henderson Signed-off-by: Cornelia Huck --- hw/s390x/s390-virtio-ccw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hw') diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index a403645..e447458 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -398,9 +398,7 @@ static void s390_nmi(NMIState *n, int cpu_index, Error **errp) { CPUState *cs = qemu_get_cpu(cpu_index); - if (s390_cpu_restart(S390_CPU(cs))) { - error_setg(errp, QERR_UNSUPPORTED); - } + s390_cpu_restart(S390_CPU(cs)); } static void ccw_machine_class_init(ObjectClass *oc, void *data) -- cgit v1.1