Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Balaji Rao
On Sunday 09 March 2008 12:33:07 pm Greg KH wrote: > > > > Hi, > > > > > > > > This patch does not fix it all! The problem is in fact more involved. I > > > > also get these BUG reports when I reload > > kvm-intel. > > > > > > > > BUG kmalloc-8: Object already free > > > > [ 74.696570] > > >

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Greg KH
On Sun, Mar 09, 2008 at 12:06:02PM +0530, Balaji Rao wrote: > On Sunday 09 March 2008 12:03:08 pm Greg KH wrote: > > On Sun, Mar 09, 2008 at 03:37:16AM +0530, Balaji Rao wrote: > > > On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > > > > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wr

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Balaji Rao
On Sunday 09 March 2008 12:03:08 pm Greg KH wrote: > On Sun, Mar 09, 2008 at 03:37:16AM +0530, Balaji Rao wrote: > > On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > > > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wrote: > > > > On Thursday 06 March 2008 10:35:14 pm Greg KH wrote: >

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Greg KH
On Sun, Mar 09, 2008 at 03:37:16AM +0530, Balaji Rao wrote: > On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wrote: > > > On Thursday 06 March 2008 10:35:14 pm Greg KH wrote: > > > > > > > Where exactly in the code does that happen? k

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Balaji Rao
On Sunday 09 March 2008 10:36:49 am Greg KH wrote: > On Sun, Mar 09, 2008 at 03:37:16AM +0530, Balaji Rao wrote: > > On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > > > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wrote: > > > > On Thursday 06 March 2008 10:35:14 pm Greg KH wrote: >

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Greg KH
On Sat, Mar 08, 2008 at 09:06:49PM -0800, Greg KH wrote: > On Sun, Mar 09, 2008 at 03:37:16AM +0530, Balaji Rao wrote: > > On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > > > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wrote: > > > > On Thursday 06 March 2008 10:35:14 pm Greg KH wro

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Greg KH
On Sun, Mar 09, 2008 at 03:37:16AM +0530, Balaji Rao wrote: > On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wrote: > > > On Thursday 06 March 2008 10:35:14 pm Greg KH wrote: > > > > > > > Where exactly in the code does that happen? k

[kvm-devel] patch patches/driver-core/kobjects-mark-cleaned-up-kobjects-as-unitialized.patch added to gregkh-2.6 tree

2008-03-08 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: kobjects: mark cleaned up kobjects as unitialized to my gregkh-2.6 tree. Its filename is patches/driver-core/kobjects-mark-cleaned-up-kobjects-as-unitialized.patch This tree can be found at http://www

Re: [kvm-devel] [PATCH/RFC 1/2] anon-inodes: Remove fd_install() from anon_inode_getfd()

2008-03-08 Thread Roland Dreier
> No, the best interface is one where the driver doesn't even see > inode or file. Of course that's not actually possible in a few > nasty cases like the infiniband code, and for those it might be > better to do the fd_isntall themselves. Yeah, I've been thinking about this some more, and I t

Re: [kvm-devel] [PATCH] QEMU support for virtio balloon driver

2008-03-08 Thread Anthony Liguori
Marcelo Tosatti wrote: >> How to proceed now? Do we want to efficiently support ballooning without >> mmu notifiers? If so, an ioctl to zap the mmu is necessary as discussed >> before. >> > > Err, actually zapping the mmu is necessary to guarantee guest will not > use stale shadow entries vs e

Re: [kvm-devel] [PATCH/RFC 1/2] anon-inodes: Remove fd_install() from anon_inode_getfd()

2008-03-08 Thread Roland Dreier
> spin_lock(&kvm_lock); > +if (--kvm->refcount) { > +spin_lock(&kvm_lock); obvious typo here... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http

Re: [kvm-devel] [PATCH] Mark kobjects as unitialized

2008-03-08 Thread Balaji Rao
On Thursday 06 March 2008 11:35:59 pm Greg KH wrote: > On Thu, Mar 06, 2008 at 11:20:50PM +0530, Balaji Rao wrote: > > On Thursday 06 March 2008 10:35:14 pm Greg KH wrote: > > > > > Where exactly in the code does that happen? kobjects should not be > > > "reused" as that implies that they are sta

Re: [kvm-devel] [PATCH] QEMU support for virtio balloon driver

2008-03-08 Thread Marcelo Tosatti
On Sat, Mar 08, 2008 at 04:27:13PM -0300, Marcelo Tosatti wrote: > On Sat, Jan 26, 2008 at 08:47:28PM +0200, Avi Kivity wrote: > > Anthony Liguori wrote: > > >Do others expect KVM to just cope with the virtual mapping being changed > > >out from underneath of it? > > > > > > > kvm should cope w

Re: [kvm-devel] [PATCH] QEMU support for virtio balloon driver

2008-03-08 Thread Marcelo Tosatti
On Sat, Jan 26, 2008 at 08:47:28PM +0200, Avi Kivity wrote: > Anthony Liguori wrote: > >Do others expect KVM to just cope with the virtual mapping being changed > >out from underneath of it? > > > > kvm should cope with both malicious guests and malicious (or buggy) host > userspace. It's dif

Re: [kvm-devel] [PATCH] virtio-balloon: do not attempt to release more than available pages

2008-03-08 Thread Marcelo Tosatti
On Thu, Mar 06, 2008 at 09:39:48AM +1100, Rusty Russell wrote: > On Thursday 06 March 2008 03:28:32 Marcelo Tosatti wrote: > > Handle the case where the balloon target is larger than total ram size. > > > > BUG: unable to handle kernel paging request at 00100100 > > IP: [] :virtio_balloon:l