diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2010-02-09 03:41:56 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 16:36:10 +0100 |
commit | 4b7bb9210047fe880bb71e6273c3a4526799dbd7 (patch) | |
tree | ca3de4c61fa42b4a09930646741d5cd17c194379 /arch/powerpc/include/asm/serial.h | |
parent | KVM: cleanup the failure path of KVM_CREATE_IRQCHIP ioctrl (diff) | |
download | linux-4b7bb9210047fe880bb71e6273c3a4526799dbd7.tar.xz linux-4b7bb9210047fe880bb71e6273c3a4526799dbd7.zip |
KVM: ia64: destroy ioapic device if fail to setup default irq routing
If KVM_CREATE_IRQCHIP fail due to kvm_setup_default_irq_routing(),
ioapic device is not destroyed and kvm->arch.vioapic is not set to
NULL, this may cause KVM_GET_IRQCHIP and KVM_SET_IRQCHIP access to
unexcepted memory.
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/serial.h')
0 files changed, 0 insertions, 0 deletions