This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel][PATCH]: Support dynamic resizing of vbds

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel][PATCH]: Support dynamic resizing of vbds
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 11 Mar 2010 13:44:22 -0800
Cc: Ky Srinivasan <ksrinivasan@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, James Harper <james.harper@xxxxxxxxxxxxxxxx>
Delivery-date: Thu, 11 Mar 2010 13:45:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100311201514.GZ1878@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4B96456B0200003000080E91@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100309201529.GH1878@xxxxxxxxxxx> <4B964DA50200003000080E95@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100309203557.GJ1878@xxxxxxxxxxx> <4B964F8B0200003000080EA0@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100311201514.GZ1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3
On 03/11/2010 12:15 PM, Pasi Kärkkäinen wrote:
On Tue, Mar 09, 2010 at 01:39:23PM -0700, Ky Srinivasan wrote:

On 3/9/2010 at  3:35 PM, in message<20100309203557.GJ1878@xxxxxxxxxxx>, Pasi
Kärkkäinen<pasik@xxxxxx>  wrote:
On Tue, Mar 09, 2010 at 01:31:17PM -0700, Ky Srinivasan wrote:

On 3/9/2010 at  3:15 PM, in message<20100309201529.GH1878@xxxxxxxxxxx>, Pasi
Kärkkäinen<pasik@xxxxxx>  wrote:
On Tue, Mar 09, 2010 at 12:56:11PM -0700, Ky Srinivasan wrote:
The attached patch supports dynamic resizing of vbds.

Nice! Did you also implement the xm/xend side of resizing?
My goal was to not have the end-user do anything other than what
was minimally required to  resizing the device on the host side.
Once the device is resized on the host side, this capacity change
is propagated to the guest without having to invoke any xm command.

Oh, even better!
What version of the kernel did you test with? 2.6.27?
I tested this on 2.6.32. The patches should apply to earlier kernels without 
too much trouble.


Jeremy: Hopefully you can add this patch to your tree.

It applied fairly cleanly, but I haven't tested it yet. Ky, by 2.6.32 I assume I mean your one, not pvops? (Because your patch is touching blkfront in the wrong place.)


Xen-devel mailing list