login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
13
Re: Qemu & KVM bug
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Zdenek Kabelac <zdenek.kabelac@...>
To: Marcelo Tosatti <marcelo@...>
Cc: Jiri Kosina <jkosina@...>, Avi Kivity <avi@...>, <linux-kernel@...>
Subject:
Re: Qemu & KVM bug
Date: Wednesday, February 13, 2008 - 12:38 pm
2008/2/13, Marcelo Tosatti <marcelo@kvack.org>:
quoted text
> On Wed, Feb 13, 2008 at 04:24:53PM +0100, Jiri Kosina wrote: > > On Wed, 13 Feb 2008, Zdenek Kabelac wrote: > > > > > I get this bug in my log whenever I start qemu-kvm - I do not use kqemu > > > module - so it's with plain kernel modules. If more details are needed - > > > just ask. (Cpu; C2D) > > > BUG: sleeping function called from invalid context at kernel/rwsem.c:48 > > > in_atomic():1, irqs_disabled():0 > > > INFO: lockdep is turned off. > > > Pid: 26600, comm: qemu-kvm Not tainted 2.6.25-rc1 #29 > > > > This has been obviously caused by Marcelo's (added to CC) commit > > 10589a4699b, which added down_write(mmap_sem) to alloc_apic_access_page(), > > which is called with preempt disabled from vmx_create_vcpu(). > > alloc_apic_access_page() called mutex_lock, so the warning would trigger > before that change. > > I think it's fine to allocate the APIC page after put_cpu(), since no vcpu > state is required. > > Avi? > > > --- linux-2.6.orig/arch/x86/kvm/vmx.c > +++ linux-2.6/arch/x86/kvm/vmx.c > @@ -1601,9 +1601,6 @@ static int vmx_vcpu_setup(struct vcpu_vm
Hi I've checked the patch myself - and looks like there is no BUG message now - nice thanks. Zdenek --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Qemu & KVM bug
, Zdenek Kabelac
, (Wed Feb 13, 10:38 am)
Re: Qemu & KVM bug
, Jiri Kosina
, (Wed Feb 13, 11:24 am)
Re: Qemu & KVM bug
, Marcelo Tosatti
, (Wed Feb 13, 12:09 pm)
Re: Qemu & KVM bug
, Avi Kivity
, (Wed Feb 13, 12:57 pm)
Re: Qemu & KVM bug
, Zdenek Kabelac
, (Wed Feb 13, 12:38 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21-rc4
Jens Axboe
[PATCH 0/8] IO queuing and complete affinity
Nicholas A. Bellinger
Re: Integration of SCST in the mainstream Linux kernel
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ingo Molnar
Re: [crash] BUG: unable to handle kernel NULL pointer dereference at 0000000000000...
Gerrit Renker
[PATCH 19/37] dccp: Header option insertion routine for feature-negotiation
Gary Thomas
Marvell 88E609x switch?
linux-fsdevel
:
Jamie Lokier
Re: silent semantic changes with reiser4
Jan Kara
[PATCH 10/16] ext4: Remove syncing logic from ext4_file_write
Jack Stone
Re: Versioning file system
Jens Axboe
[PATCH 8/8] vm: Add an tuning knob for vm.max_writeback_pages
Colocation donated by:
Who's online
There are currently
0 users
and
1207 guests
online.
Syndicate