Re: [Qemu-devel] [net-next RFC PATCH 7/7] virtio-net changes

2011-08-14 Thread Jason Wang
- Original Message - On Fri, 2011-08-12 at 09:55 +0800, Jason Wang wrote: From: Krishna Kumar krkum...@in.ibm.com Implement mq virtio-net driver. Though struct virtio_net_config changes, it works with the old qemu since the last element is not accessed unless qemu sets

Re: [net-next RFC PATCH 4/7] tuntap: multiqueue support

2011-08-14 Thread Jason Wang
- Original Message - Le vendredi 12 août 2011 à 09:55 +0800, Jason Wang a écrit : + rxq = skb_get_rxhash(skb); + if (rxq) { + tfile = rcu_dereference(tun-tfiles[rxq % numqueues]); + if (tfile) + goto out; + } You can avoid an expensive divide with following trick : u32 idx

Re: [net-next RFC PATCH 4/7] tuntap: multiqueue support

2011-08-14 Thread Jason Wang
- Original Message - On Fri, Aug 12, 2011 at 09:55:20AM +0800, Jason Wang wrote: With the abstraction that each socket were a backend of a queue for userspace, this patch adds multiqueue support for tap device by allowing multiple sockets to be attached to a tap device. Then we

Re: [net-next RFC PATCH 0/7] multiqueue support for tun/tap

2011-08-14 Thread Jason Wang
- Original Message - On Fri, 2011-08-12 at 09:54 +0800, Jason Wang wrote: As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the

Re: [Autotest] [PATCH] Virt: Adding softlockup subtest

2011-08-14 Thread Lucas Meneghel Rodrigues
On Wed, Jul 20, 2011 at 10:30 PM, Lucas Meneghel Rodrigues l...@redhat.com wrote: From: pradeep y...@example.com This patch introduces a soft lockup/drift test with stress.    1) Boot up a VM.    2) Build stress on host and guest.    3) run heartbeat monitor with the given options on server

Re: [PATCH] virtio-net: Read MAC only after initializing MSI-X

2011-08-14 Thread Sasha Levin
On Sun, 2011-08-14 at 12:23 +0930, Rusty Russell wrote: On Sat, 13 Aug 2011 11:51:01 +0300, Sasha Levin levinsasha...@gmail.com wrote: The MAC of a virtio-net device is located at the first field of the device specific header. This header is located at offset 20 if the device doesn't

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-14 Thread Anthony Liguori
On 08/13/2011 10:05 PM, Avi Kivity wrote: On 08/12/2011 06:48 AM, Anthony Liguori wrote: target_phys_addr_t offset_in_region; AddrRange addr; uint8_t dirty_log_mask; + bool readable; @@ -125,6 +125,7 @@ struct FlatRange { In a follow up, it might be good to add a comment explaining that this

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-14 Thread Alexander Graf
Am 14.08.2011 um 06:29 schrieb Anthony Liguori anth...@codemonkey.ws: On 08/13/2011 10:05 PM, Avi Kivity wrote: On 08/12/2011 06:48 AM, Anthony Liguori wrote: target_phys_addr_t offset_in_region; AddrRange addr; uint8_t dirty_log_mask; + bool readable; @@ -125,6 +125,7 @@ struct FlatRange

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-14 Thread Anthony Liguori
On 08/14/2011 10:43 AM, Alexander Graf wrote: Am 14.08.2011 um 06:29 schrieb Anthony Liguorianth...@codemonkey.ws: On 08/13/2011 10:05 PM, Avi Kivity wrote: On 08/12/2011 06:48 AM, Anthony Liguori wrote: target_phys_addr_t offset_in_region; AddrRange addr; uint8_t dirty_log_mask; + bool

Re: [PATCH v1.1 18/24] versatile_pci: convert to memory API

2011-08-14 Thread Avi Kivity
On 08/11/2011 02:53 PM, Peter Maydell wrote: On 11 August 2011 17:29, Avi Kivitya...@redhat.com wrote: -static uint32_t pci_vpb_config_readl (void *opaque, target_phys_addr_t addr) +static uint64_t pci_vpb_config_read(void *opaque, target_phys_addr_t addr, +

Re: [Qemu-devel] [PATCH 17/24] arm11mpcore: use sysbus_init_mmio_cb2

2011-08-14 Thread Avi Kivity
On 08/12/2011 06:23 AM, Peter Maydell wrote: static int realview_mpcore_init(SysBusDevice *dev) { mpcore_rirq_state *s = FROM_SYSBUS(mpcore_rirq_state, dev); @@ -79,7 +84,7 @@ static int realview_mpcore_init(SysBusDevice *dev) } }

[Bug 39412] Win Vista and Win2K8 guests' network breaks down

2011-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=39412 Florian Mickler flor...@mickler.org changed: What|Removed |Added Status|VERIFIED|REOPENED

Re: [PATCH] virtio-net: Read MAC only after initializing MSI-X

2011-08-14 Thread Rusty Russell
On Sun, 14 Aug 2011 16:57:32 +0300, Sasha Levin levinsasha...@gmail.com wrote: On Sun, 2011-08-14 at 12:23 +0930, Rusty Russell wrote: On Sat, 13 Aug 2011 11:51:01 +0300, Sasha Levin levinsasha...@gmail.com wrote: The MAC of a virtio-net device is located at the first field of the device

[Bug 23992] RFE: Add support for MS-DOS FPU compatibility mode

2011-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=23992 --- Comment #3 from CJ cyclon...@gmail.com 2011-08-15 02:55:24 --- I followed the notes to install netinst.iso (http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/netinst.iso) on KVM but the guest OS hangs at Select and install

[Bug 40752] BUG: unable to handle kernel paging request at bffffc20

2011-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=40752 --- Comment #4 from Anonymous Emailer anonym...@kernel-bugs.osdl.org 2011-08-15 03:00:06 --- Reply-To: xiaoguangr...@cn.fujitsu.com On 08/10/2011 09:39 PM, Avi Kivity wrote: On 08/09/2011 09:16 PM, bugzilla-dae...@bugzilla.kernel.org

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-08-14 Thread Liu Yuan
On 08/13/2011 12:12 AM, Badari Pulavarty wrote: On 8/12/2011 4:40 AM, Liu Yuan wrote: On 08/12/2011 04:27 PM, Liu Yuan wrote: On 08/12/2011 12:50 PM, Badari Pulavarty wrote: On 8/10/2011 8:19 PM, Liu Yuan wrote: On 08/11/2011 11:01 AM, Liu Yuan wrote: It looks like the patch wouldn't work

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-08-14 Thread Badari Pulavarty
On 8/14/2011 8:20 PM, Liu Yuan wrote: On 08/13/2011 12:12 AM, Badari Pulavarty wrote: On 8/12/2011 4:40 AM, Liu Yuan wrote: On 08/12/2011 04:27 PM, Liu Yuan wrote: On 08/12/2011 12:50 PM, Badari Pulavarty wrote: On 8/10/2011 8:19 PM, Liu Yuan wrote: On 08/11/2011 11:01 AM, Liu Yuan wrote: