From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Xu Subject: [PATCH v2 0/3] KVM: x86: use pic/ioapic destructor when proper Date: Wed, 15 Mar 2017 16:01:16 +0800 Message-ID: <1489564879-6097-1-git-send-email-peterx@redhat.com> Cc: David Hildenbrand , Paolo Bonzini , peterx@redhat.com, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58982 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbdCOIB3 (ORCPT ); Wed, 15 Mar 2017 04:01:29 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 CEA257E9CF for ; Wed, 15 Mar 2017 08:01:29 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: v2: - add one more patch (patch 2 in v2) to check pic/ioapic's existance before destroying them A tiny cleanup series for pic/ioapic destruction when vm destroys. Please review, Thanks. Peter Xu (3): KVM: x86: clear bus pointer when destroyed KVM: x86: check existance before destroy KVM: x86: use pic/ioapic destructor when destroy vm arch/x86/kvm/i8259.c | 3 +++ arch/x86/kvm/ioapic.c | 3 +++ arch/x86/kvm/x86.c | 4 ++-- virt/kvm/kvm_main.c | 12 +++++++++++- 4 files changed, 19 insertions(+), 3 deletions(-) -- 2.7.4