virtio scsi host draft specification, v3

2011-06-07 Thread Paolo Bonzini
Hi all, after some preliminary discussion on the QEMU mailing list, I present a draft specification for a virtio-based SCSI host (controller, HBA, you name it). The virtio SCSI host is the basis of an alternative storage stack for KVM. This stack would overcome several limitations of the current

RE: [PATCH 12/49] Staging: hv: storvsc: Add a DMI signature to support auto-loading

2011-06-07 Thread KY Srinivasan
-Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Monday, June 06, 2011 7:13 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree

RE: [PATCH 24/49] Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()

2011-06-07 Thread KY Srinivasan
-Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Monday, June 06, 2011 7:15 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree

Re: [PATCHv2 RFC 4/4] Revert virtio: make add_buf return capacity remaining:

2011-06-07 Thread Michael S. Tsirkin
On Thu, Jun 02, 2011 at 06:43:25PM +0300, Michael S. Tsirkin wrote: This reverts commit 3c1b27d5043086a485f8526353ae9fe37bfa1065. The only user was virtio_net, and it switched to min_capacity instead. Signed-off-by: Michael S. Tsirkin m...@redhat.com It turns out another place in

Re: [PATCHv2 RFC 3/4] virtio_net: limit xmit polling

2011-06-07 Thread Michael S. Tsirkin
On Thu, Jun 02, 2011 at 06:43:17PM +0300, Michael S. Tsirkin wrote: Current code might introduce a lot of latency variation if there are many pending bufs at the time we attempt to transmit a new one. This is bad for real-time applications and can't be good for TCP either. Free up just

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-07 Thread Michael S. Tsirkin
On Thu, Jun 02, 2011 at 06:42:35PM +0300, Michael S. Tsirkin wrote: OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Warning: untested.

Re: [PATCH 12/49] Staging: hv: storvsc: Add a DMI signature to support auto-loading

2011-06-07 Thread Greg KH
On Tue, Jun 07, 2011 at 02:54:25PM +, KY Srinivasan wrote: -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Monday, June 06, 2011 7:13 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org;

Re: [PATCH 24/49] Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()

2011-06-07 Thread Greg KH
On Tue, Jun 07, 2011 at 02:59:32PM +, KY Srinivasan wrote: -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Monday, June 06, 2011 7:15 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org;

RE: [PATCH 24/49] Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()

2011-06-07 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, June 07, 2011 2:59 PM To: KY Srinivasan Cc: Christoph Hellwig; gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree

Re: [PATCH 24/49] Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()

2011-06-07 Thread Greg KH
On Tue, Jun 07, 2011 at 07:58:50PM +, KY Srinivasan wrote: -Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, June 07, 2011 2:59 PM To: KY Srinivasan Cc: Christoph Hellwig; gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org;

Re: [PATCH 15/49] Staging: hv: vmbus: Make vmbus an acpi bus driver

2011-06-07 Thread Greg KH
On Mon, Jun 06, 2011 at 03:49:39PM -0700, K. Y. Srinivasan wrote: Now, make the vmbus driver an ACPI bus driver. Why an ACPI bus driver and not a PCI one? Is that what this really is? For some reason, I thought it was a PCI device that we hooked our bus off of, is that not true? greg k-h

Re: [PATCH 49/49] Staging: hv: vmbus: Increase the timeout value in vmbus_request_offers()

2011-06-07 Thread Greg KH
On Mon, Jun 06, 2011 at 03:50:13PM -0700, K. Y. Srinivasan wrote: Increase the timeout value in vmbus_request_offers(). Why? What does this solve/fix/prevent? thanks, greg k-h ___ Virtualization mailing list Virtualization@lists.linux-foundation.org

Re: [PATCH 00/49] Staging: hv: Driver cleanup

2011-06-07 Thread Greg KH
On Mon, Jun 06, 2011 at 03:49:00PM -0700, K. Y. Srinivasan wrote: Further cleanup of the hv drivers: 1) Continue to cleanup our drivers to conform to the Linux Driver Model. 2) Fix some long standing bugs with regards to unloading and reloading the drivers -

RE: [PATCH 49/49] Staging: hv: vmbus: Increase the timeout value in vmbus_request_offers()

2011-06-07 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, June 07, 2011 4:45 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree Consulting PVT LTD)

Re: [PATCH 49/49] Staging: hv: vmbus: Increase the timeout value in vmbus_request_offers()

2011-06-07 Thread Greg KH
On Tue, Jun 07, 2011 at 09:20:16PM +, KY Srinivasan wrote: -Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, June 07, 2011 4:45 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org;

RE: [PATCH 49/49] Staging: hv: vmbus: Increase the timeout value in vmbus_request_offers()

2011-06-07 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:gre...@suse.de] Sent: Tuesday, June 07, 2011 5:28 PM To: KY Srinivasan Cc: Greg KH; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree Consulting PVT LTD)

Re: [PATCH 12/49] Staging: hv: storvsc: Add a DMI signature to support auto-loading

2011-06-07 Thread Greg KH
On Tue, Jun 07, 2011 at 10:19:06PM +, KY Srinivasan wrote: Thanks Greg. Can you give me some pointers here as to what needs to be done here. Looking at the code for virtio, it looks like I would need to add stuff to scripts/mod/file2alias.c as well as to include/linux/mod_devicetable.h.

RE: [PATCH 12/49] Staging: hv: storvsc: Add a DMI signature to support auto-loading

2011-06-07 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, June 07, 2011 2:58 PM To: KY Srinivasan Cc: Christoph Hellwig; gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree

Re: [PATCHv2 RFC 4/4] Revert virtio: make add_buf return capacity remaining:

2011-06-07 Thread Rusty Russell
On Tue, 7 Jun 2011 18:54:57 +0300, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Jun 02, 2011 at 06:43:25PM +0300, Michael S. Tsirkin wrote: This reverts commit 3c1b27d5043086a485f8526353ae9fe37bfa1065. The only user was virtio_net, and it switched to min_capacity instead.

RE: [PATCH 12/49] Staging: hv: storvsc: Add a DMI signature to support auto-loading

2011-06-07 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, June 07, 2011 6:25 PM To: KY Srinivasan Cc: Christoph Hellwig; gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang; Abhishek Kane (Mindtree