Re: [PATCH] kvm: Prevent kvm_init from corrupting debugfs structures

2009-10-15 Thread Avi Kivity
On 10/15/2009 08:21 AM, Darrick J. Wong wrote: I'm seeing an oops condition when kvm-intel and kvm-amd are modprobe'd during boot (say on an Intel system) and then rmmod'd: # modprobe kvm-intel kvm_init() kvm_init_debug() kvm_arch_init()-- stores debugfs dentries

Re: [PATCH] kvm: Prevent kvm_init from corrupting debugfs structures

2009-10-15 Thread Marcelo Tosatti
On Wed, Oct 14, 2009 at 04:21:00PM -0700, Darrick J. Wong wrote: I'm seeing an oops condition when kvm-intel and kvm-amd are modprobe'd during boot (say on an Intel system) and then rmmod'd: # modprobe kvm-intel kvm_init() kvm_init_debug() kvm_arch_init() -- stores

[PATCH] kvm: Prevent kvm_init from corrupting debugfs structures

2009-10-14 Thread Darrick J. Wong
I'm seeing an oops condition when kvm-intel and kvm-amd are modprobe'd during boot (say on an Intel system) and then rmmod'd: # modprobe kvm-intel kvm_init() kvm_init_debug() kvm_arch_init() -- stores debugfs dentries internally (success, etc) # modprobe kvm-amd