From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Xu Subject: [kvm-unit-tests PATCH 0/3] check multiple init for vm/smp Date: Tue, 25 Oct 2016 17:00:27 +0800 Message-ID: <1477386030-13955-1-git-send-email-peterx@redhat.com> Cc: pbonzini@redhat.com, drjones@redhat.com, rkrcmar@redhat.com, peterx@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7163 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754577AbcJYJAc (ORCPT ); Tue, 25 Oct 2016 05:00:32 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 57B44C04B95C for ; Tue, 25 Oct 2016 09:00:31 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: The first two patches check whether there are multiple init for vm/smp, assertion fail will be triggered if so. Patch 3 is to cleanup existing setup_igt() when smp_init() is called (suggested by Drew). Peter Xu (3): x86: vm: add assert to avoid multiple vm init x86: smp: assert to avoid multiple init of smp tests: don't call setup_idt() if with smp_init() lib/x86/smp.c | 1 + lib/x86/vm.c | 1 + x86/apic.c | 1 - x86/hyperv_stimer.c | 1 - x86/hyperv_synic.c | 1 - x86/ioapic.c | 1 - x86/tscdeadline_latency.c | 1 - 7 files changed, 2 insertions(+), 5 deletions(-) -- 2.7.4