From: David Hildenbrand Subject: Re: [PATCH v2 0/3] KVM: x86: use pic/ioapic destructor when proper Date: Wed, 15 Mar 2017 09:47:14 +0100 Message-ID: References: <1489564879-6097-1-git-send-email-peterx@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Cc: Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= To: Peter Xu , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45856 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751922AbdCOIrS (ORCPT ); Wed, 15 Mar 2017 04:47:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 58E4180F6D for ; Wed, 15 Mar 2017 08:47:18 +0000 (UTC) In-Reply-To: <1489564879-6097-1-git-send-email-peterx@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Am 15.03.2017 um 09:01 schrieb Peter Xu: > v2: > - add one more patch (patch 2 in v2) to check pic/ioapic's > existance before destroying them Patch 2+3 without 1 should work, too, right? > > 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(-) > -- Thanks, David