Re: [libvirt] [PATCH v2] libxl: add discard support to libxl_device_disk

2014-07-07 Thread Daniel P. Berrange
On Mon, Jul 07, 2014 at 04:05:34PM +0200, Olaf Hering wrote: > Translate libvirt discard settings into libxl-4.5 discard settings. > > Signed-off-by: Olaf Hering > --- > v2: > add cast to switch variable to let compiler check if the code handles > all enum values > > src/libxl/libxl_conf.c |

[libvirt] [PATCH v2] libxl: add discard support to libxl_device_disk

2014-07-07 Thread Olaf Hering
Translate libvirt discard settings into libxl-4.5 discard settings. Signed-off-by: Olaf Hering --- v2: add cast to switch variable to let compiler check if the code handles all enum values src/libxl/libxl_conf.c | 28 1 file changed, 28 insertions(+) diff --git a