IPv6 UFO for VMs

2014-10-21 Thread Ben Hutchings
There are several ways that VMs can take advantage of UFO and get the host to do fragmentation for them: drivers/net/macvtap.c: gso_type = SKB_GSO_UDP; drivers/net/tun.c: skb_shinfo(skb)->gso_type = SKB_GSO_UDP; drivers/net/virtio_net.c:

[PATCH RFC] virtio 1.0 vring endian-ness

2014-10-21 Thread Michael S. Tsirkin
This adds wrappers to switch between native endian-ness (virtio 0.9) and virtio endian-ness (virtio 1.0). Add new typedefs as well, so that we can check statically that we didn't miss any accesses. All callers simply pass in false (0.9) so no functional change for now. Signed-off-by: Michael S. Ts

Re: v3.18-rc1 32 bit KVM hangs early in boot process

2014-10-21 Thread Toralf Förster
On 10/21/2014 06:40 PM, Josh Boyer wrote: > On Tue, Oct 21, 2014 at 12:10 PM, Toralf Förster > wrote: >> On 10/20/2014 07:34 PM, Toralf Förster wrote: >>> I uploaded the screen shots from the virt-manager to [1] and [2] >>> >>> FWIW e56d9fccb was fine so the bug slipped in after that. >>> >> >>>

Re: v3.18-rc1 32 bit KVM hangs early in boot process

2014-10-21 Thread Josh Boyer
On Tue, Oct 21, 2014 at 12:10 PM, Toralf Förster wrote: > On 10/20/2014 07:34 PM, Toralf Förster wrote: >> I uploaded the screen shots from the virt-manager to [1] and [2] >> >> FWIW e56d9fccb was fine so the bug slipped in after that. >> > >> >> [1] http://www.directupload.net/file/d/3781/j9mwrtp

Re: v3.18-rc1 32 bit KVM hangs early in boot process

2014-10-21 Thread Toralf Förster
On 10/20/2014 07:34 PM, Toralf Förster wrote: > I uploaded the screen shots from the virt-manager to [1] and [2] > > FWIW e56d9fccb was fine so the bug slipped in after that. > > > [1] http://www.directupload.net/file/d/3781/j9mwrtpq_jpg.htm > [2] http://www.directupload.net/file/d/3781/29trc56

Re: [PATCH 3/5] hw_random: fix unregister race.

2014-10-21 Thread Herbert Xu
On Thu, Sep 18, 2014 at 12:18:24PM +0930, Rusty Russell wrote: > The previous patch added one potential problem: we can still be > reading from a hwrng when it's unregistered. Add a wait for zero > in the hwrng_unregister path. > > Signed-off-by: Rusty Russell > --- > drivers/char/hw_random/cor

Re: [PATCH v2 4/6] hw_random: fix unregister race.

2014-10-21 Thread Herbert Xu
On Thu, Sep 18, 2014 at 08:37:45PM +0800, Amos Kong wrote: > From: Rusty Russell > > The previous patch added one potential problem: we can still be > reading from a hwrng when it's unregistered. Add a wait for zero > in the hwrng_unregister path. > > Signed-off-by: Rusty Russell You totally