Re: [PATCH] vhost: Fix warnings and bad type handling

2009-11-22 Thread Rusty Russell
On Sun, 22 Nov 2009 08:58:01 pm Michael S. Tsirkin wrote: > > From: Alan Cox > Subject: [PATCH] vhost: fix warnings on 32 bit systems > > Fix compiler warning about discarding top 32 bit > of data on 32 bit systems, and document that > dicarded bits must be 0. > > Signed-off-by: Alan Cox > Sig

Re: [PATCH 1/1] Defer skb allocation for both mergeable buffers and big packets in virtio_net

2009-11-22 Thread Rusty Russell
On Sat, 21 Nov 2009 02:51:41 am Shirley Ma wrote: > Signed-off-by: Shirley Ma (x...@us.ibm.com) Hi Shirley, This patch seems like a good idea, but it needs some work. As this is the first time I've received a patch from you, I will go through it in extra detail. (As virtio maintainer, it's m

Re: [PATCH 0/1] Defer skb allocation for both mergeable buffers and big packets in virtio_net

2009-11-22 Thread Rusty Russell
On Fri, 20 Nov 2009 04:39:19 pm Shirley Ma wrote: > Guest virtio_net receives packets from its pre-allocated vring > buffers, then it delivers these packets to upper layer protocols > as skb buffs. So it's not necessary to pre-allocate skb for each > mergable buffer, then frees it when it's useles

Re: kvm hangs w/o nolapic

2009-11-22 Thread Cyrill Gorcunov
On Fri, Nov 20, 2009 at 10:25:41PM +0100, Johannes Berg wrote: > On Fri, 2009-11-20 at 21:18 +0300, Cyrill Gorcunov wrote: > > > I've just booted a latest -tip with kvm without problems. > > Unfortunately, -tip is usually different enough that I it tends to not > matter to me while I'm running a

Re: [Autotest] [KVM-AUTOTEST] KSM-overcommit test v.2 (python version)

2009-11-22 Thread Dor Laor
On 11/17/2009 04:49 PM, Jiri Zupka wrote: Hi, We find a little mistake with ending of allocator.py. Because I send this patch today. I resend whole repaired patch again. It sure is big improvment from the previous. There are still many refactoring to be made to make it more readable. Commen

Re: Can't get guests to recognize NUMA architecture as alluded to in Redhat marketing material

2009-11-22 Thread Ian Woodstock
Is your question about kvm, libvirt or some red hat product? Your posting to kvm list but it sounds like it's a libvirt question. Because in KVM the virtual machine was a regular Linux process you can leverage numa in the same way you would for any other process. eg. set numa on your host then lau

Breakage due to commit c1699988 ("v3: don't call reset functions on cpu initialization")

2009-11-22 Thread Avi Kivity
A qemu-kvm which merges this commit breaks badly (see qemu-kvm.git next branch). In the commit log for this commit, you write I tested it with qemu (with and without io-thread) and qemu-kvm, and it seems to be doing okay - although qemu-kvm uses a slightly different patch. Can you sh

Re: [PATCHv9 3/3] vhost_net: a kernel-level virtio server

2009-11-22 Thread Michael S. Tsirkin
On Wed, Nov 18, 2009 at 01:42:43PM +0800, Xin, Xiaohui wrote: > Michael, > >From the http://www.linux-kvm.org/page/VhostNet, we can see netperf with > >TCP_STREAM can get more than 4GMb/s for the receive side, and more than > >5GMb/s for the send side. > Is it the result from the raw socket or th

Re: [PATCH] vhost: Fix warnings and bad type handling

2009-11-22 Thread Michael S. Tsirkin
From: Alan Cox Subject: [PATCH] vhost: fix warnings on 32 bit systems Fix compiler warning about discarding top 32 bit of data on 32 bit systems, and document that dicarded bits must be 0. Signed-off-by: Alan Cox Signed-off-by: Michael S. Tsirkin --- So I think the below slightly tweaked ver

Re: SeaBIOS cdrom regression with Vista

2009-11-22 Thread Avi Kivity
On 11/21/2009 12:36 AM, Kevin O'Connor wrote: It looks like I spoke too soon. It appears the SeaBIOS init can leave the ATA controller in an interrupts disabled state. This appears to confuse Vista. So, this is a SeaBIOS bug - I'll implement a fix. I've committed a fix to SeaBIOS - co