From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v3] libxl: add option for discard support to xl disk configuration Date: Tue, 29 Apr 2014 14:14:42 +0200 Message-ID: <20140429121442.GA6094@aepfle.de> References: <1398767741-20585-1-git-send-email-olaf@aepfle.de> <535F847C.60204@m2r.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <535F847C.60204@m2r.biz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Fabio Fantoni Cc: ian.jackson@eu.citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Apr 29, Fabio Fantoni wrote: > Il 29/04/2014 12:35, Olaf Hering ha scritto: > >boolean property "discard-enable" is written to the backend node. An > Thanks for add discard (trim) support on libxl, from a quick look to this > patch, however, seems missing adding the parameter to qemu disks that use > qdisk (in libxl_dm.c: -drive ...,discard=on). The flag is written to xenstore. qemu will pick it up ... once the relevant patch is applied to qemu.git. Olaf