[PATCH] KVM: Initialize vcpu->kvm a little earlier
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:57 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:28 +0000 (23:55 -0800)
commit86a2b42e81b8236d9454f5c2d7113a82ed25c735
treee3777ce73f78f6ec92c3830f71784ba973814c67
parente52de1b8cf85aa2ccaaa253b4397c6d6cc0d4897
[PATCH] KVM: Initialize vcpu->kvm a little earlier

Fixes oops on early close of /dev/kvm.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/kvm_main.c