Re: [Qemu-devel] Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Neil Brown
On Wed, 5 May 2010 14:28:41 +0930 Rusty Russell wrote: > On Wed, 5 May 2010 05:47:05 am Jamie Lokier wrote: > > Jens Axboe wrote: > > > On Tue, May 04 2010, Rusty Russell wrote: > > > > ISTR someone mentioning a desire for such an API years ago, so CC'ing > > > > the > > > > usual I/O suspects..

Re: [Qemu-devel] Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Rusty Russell
On Wed, 5 May 2010 05:47:05 am Jamie Lokier wrote: > Jens Axboe wrote: > > On Tue, May 04 2010, Rusty Russell wrote: > > > ISTR someone mentioning a desire for such an API years ago, so CC'ing the > > > usual I/O suspects... > > > > It would be nice to have a more fuller API for this, but the real

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Rusty Russell
On Wed, 5 May 2010 04:24:59 am Christoph Hellwig wrote: > On Fri, Feb 19, 2010 at 12:22:20AM +0200, Michael S. Tsirkin wrote: > > I took a stub at documenting CMD and FLUSH request types in virtio > > block. Christoph, could you look over this please? > > > > I note that the interface seems full

Re: RFC: Network Plugin Architecture (NPA) for vmxnet3

2010-05-04 Thread Stephen Hemminger
On Tue, 4 May 2010 17:18:57 -0700 Pankaj Thakkar wrote: > The purpose of this email is to introduce the architecture and the design > principles. The overall project involves more than just changes to vmxnet3 > driver and hence we though an overview email would be better. Once people > agree t

Re: RFC: Network Plugin Architecture (NPA) for vmxnet3

2010-05-04 Thread Chris Wright
* Pankaj Thakkar (pthak...@vmware.com) wrote: > We intend to upgrade the upstreamed vmxnet3 driver to implement NPA so that > Linux users can exploit the benefits provided by passthrough devices in a > seamless manner while retaining the benefits of virtualization. The document > below tries to ans

Re: RFC: Network Plugin Architecture (NPA) for vmxnet3

2010-05-04 Thread David Miller
From: Pankaj Thakkar Date: Tue, 4 May 2010 17:18:57 -0700 > The purpose of this email is to introduce the architecture and the > design principles. The overall project involves more than just > changes to vmxnet3 driver and hence we though an overview email > would be better. Once people agree to

Re: RFC: Network Plugin Architecture (NPA) for vmxnet3

2010-05-04 Thread Stephen Hemminger
On Tue, 4 May 2010 16:02:25 -0700 Pankaj Thakkar wrote: > Device passthrough technology allows a guest to bypass the hypervisor and > drive > the underlying physical device. VMware has been exploring various ways to > deliver this technology to users in a manner which is easy to adopt. In this >

Re: [patch 7/8] Add a bootparameter to reserve high linear address space.

2010-05-04 Thread Jeremy Fitzhardinge
On 12/31/1969 04:15 PM, Pavel Machek wrote: > Dynamically loaded hypervisor? Do we really want to support that? > (Missed this because your datestamp was 1969...) The idea was that you could boot a guest under VMWare fully virtualized then switch it to a VMI guest by loading a module. I don't

Re: [Qemu-devel] Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Jamie Lokier
Rusty Russell wrote: > On Fri, 19 Feb 2010 08:52:20 am Michael S. Tsirkin wrote: > > I took a stub at documenting CMD and FLUSH request types in virtio > > block. Christoph, could you look over this please? > > > > I note that the interface seems full of warts to me, > > this might be a first ste

Re: [Qemu-devel] Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Jamie Lokier
Jens Axboe wrote: > On Tue, May 04 2010, Rusty Russell wrote: > > ISTR someone mentioning a desire for such an API years ago, so CC'ing the > > usual I/O suspects... > > It would be nice to have a more fuller API for this, but the reality is > that only the flush approach is really workable. Even

Re: [Qemu-devel] [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Michael S. Tsirkin
On Tue, May 04, 2010 at 08:56:14PM +0200, Christoph Hellwig wrote: > On Tue, Apr 20, 2010 at 02:46:35AM +0100, Jamie Lokier wrote: > > Does this mean that virtio-blk supports all three combinations? > > > >1. FLUSH that isn't a barrier > >2. FLUSH that is also a barrier > >3. Barrier t

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Michael S. Tsirkin
On Tue, May 04, 2010 at 09:56:18PM +0300, Michael S. Tsirkin wrote: > On Tue, May 04, 2010 at 08:54:59PM +0200, Christoph Hellwig wrote: > > On Fri, Feb 19, 2010 at 12:22:20AM +0200, Michael S. Tsirkin wrote: > > > I took a stub at documenting CMD and FLUSH request types in virtio > > > block. Chr

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Michael S. Tsirkin
On Tue, May 04, 2010 at 08:54:59PM +0200, Christoph Hellwig wrote: > On Fri, Feb 19, 2010 at 12:22:20AM +0200, Michael S. Tsirkin wrote: > > I took a stub at documenting CMD and FLUSH request types in virtio > > block. Christoph, could you look over this please? > > > > I note that the interface

Re: [Qemu-devel] [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Christoph Hellwig
On Tue, Apr 20, 2010 at 02:46:35AM +0100, Jamie Lokier wrote: > Does this mean that virtio-blk supports all three combinations? > >1. FLUSH that isn't a barrier >2. FLUSH that is also a barrier >3. Barrier that is not a flush > > 1 is good for fsync-like operations; > 2 is good for jo

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Christoph Hellwig
On Fri, Feb 19, 2010 at 12:22:20AM +0200, Michael S. Tsirkin wrote: > I took a stub at documenting CMD and FLUSH request types in virtio > block. Christoph, could you look over this please? > > I note that the interface seems full of warts to me, > this might be a first step to cleaning them. Th

Re: virtio: put last_used and last_avail index into ring itself.

2010-05-04 Thread Michael S. Tsirkin
> virtio: put last_used and last_avail index into ring itself. > > Generally, the other end of the virtio ring doesn't need to see where > you're up to in consuming the ring. However, to completely understand > what's going on from the outside, this information must be exposed. > For example, if

RE: [PATCH 1/1] hv: Added new hv_utils driver with shutdown as first functionality - NO OUTLOOK

2010-05-04 Thread Hank Janssen
>> Greg Wrote >> >> Signed-off-by: Hank Janssen > >>That's not a valid email address. >> >>> Signed-off-by: Hank Janssen >> >>Neither is that. Sorry, by this time I was so frustrated arguing with lookout and Exchange that I did not properly Add the emails when I send it from my own server. :(

Re: [PATCH 1/1] hv: Added new hv_utils driver with shutdown as first functionality - NO OUTLOOK

2010-05-04 Thread Greg KH
On Tue, May 04, 2010 at 03:55:05PM -0700, Hank Janssen wrote: > > Resending this patch from my personal Linux server. Exchange server and > outlook at Microsoft seems to badly munge my patch. :( > > From: Hank Janssen In the future, please put your microsoft email address here. > Subject: [PAT

[PATCH 1/3] consolidation of MIN and MAX macros in common.h

2010-05-04 Thread Jens Osterkamp
This patch consolidates a modified version of the already existing MIN macro in lldpad to include/common.h and add a MAX macro. Signed-off-by: Jens Osterkamp --- include/common.h | 14 ++ include/dcb_protocol.h |4 2 files changed, 14 insertions(+), 4 deletions(-) d

[PATCH 2/3] implementation of IEEE 802.1Qbg in lldpad, part 1

2010-05-04 Thread Jens Osterkamp
This patch contains the first part of an initial implementation of the IEEE 802.1Qbg standard: It contains code for the exchange of EVB TLV capabilities between a host with virtual machines and an adjacent switch. Exchange of EVB TLV may be enabled or disabled on a per port basis. Information abou

implementation of IEEE 802.1Qbg in lldpad, part1

2010-05-04 Thread Jens Osterkamp
Hi all, this series of patches contains an implementation of the first part of IEEE 802.1Qbg, the exchange of EVB TLVs to negotiate VSI capabalities. It supports setting the parameters of the TLV exchange from the command line using lldptool. The patches are based on lldpad 0.9.34. lldpad is a p

[PATCH 3/3] support for getting and setting EVB TLV parameters

2010-05-04 Thread Jens Osterkamp
This patch adds for querying and setting parameters used in the exchange of EVB TLV messages. The parameters that can be set are: - forwarding mode - host protocol capabilities (RTE, ECP, VDP and VDPL) - no. of supported VSIs - retransmission timer exponent (RTE) T

[PATCH 1/1] hv: Added new hv_utils driver with shutdown as first functionality - NO OUTLOOK

2010-05-04 Thread Hank Janssen
Resending this patch from my personal Linux server. Exchange server and outlook at Microsoft seems to badly munge my patch. :( From: Hank Janssen Subject: [PATCH 1/1] hv: Added new hv_utils driver with shutdown as first functionality Addition of new driver for Hyper-V called hv_utils. This dri

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Jens Axboe
On Tue, May 04 2010, Rusty Russell wrote: > On Fri, 19 Feb 2010 08:52:20 am Michael S. Tsirkin wrote: > > I took a stub at documenting CMD and FLUSH request types in virtio > > block. Christoph, could you look over this please? > > > > I note that the interface seems full of warts to me, > > this

[GIT PULL] amended: first round of vhost-net enhancements for net-next

2010-05-04 Thread Michael S. Tsirkin
David, This is an amended pull request: I have rebased the tree to the correct patches. This has been through basic tests and seems to work fine here. The following tree includes a couple of enhancements that help vhost-net. Please pull them for net-next. Another set of patches is under debugging/

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Christoph Hellwig
On Tue, May 04, 2010 at 02:08:24PM +0930, Rusty Russell wrote: > On Fri, 19 Feb 2010 08:52:20 am Michael S. Tsirkin wrote: > > I took a stub at documenting CMD and FLUSH request types in virtio > > block. Christoph, could you look over this please? > > > > I note that the interface seems full of

Re: [PATCH] virtio-spec: document block CMD and FLUSH

2010-05-04 Thread Avi Kivity
On 05/04/2010 07:38 AM, Rusty Russell wrote: > On Fri, 19 Feb 2010 08:52:20 am Michael S. Tsirkin wrote: > >> I took a stub at documenting CMD and FLUSH request types in virtio >> block. Christoph, could you look over this please? >> >> I note that the interface seems full of warts to me, >> t