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