commit | 3ddea128ad75bd33e88780fe44f44c3717369b98 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Thu Oct 29 13:44:15 2009 -0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:23 2009 +0200 |
tree | dbf54798bda23cb8c105c6fc3926d30bae3c6321 | |
parent | 92c0d900159a4fa582e1c8ebcc1c4a8020defff5 [diff] |
KVM: x86: disallow multiple KVM_CREATE_IRQCHIP Otherwise kvm will leak memory on multiple KVM_CREATE_IRQCHIP. Also serialize multiple accesses with kvm->lock. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>