search for: __vhd_create

Displaying 2 results from an estimated 2 matches for "__vhd_create".

2013 Nov 21
9
[PATCH] vhd-util create: add -C|nocow option
...;sys/ioctl.h> +#ifndef FS_NOCOW_FL +#define FS_NOCOW_FL 0x00800000 /* Do not cow file */ +#endif +#endif + /* VHD uses an epoch of 12:00AM, Jan 1, 2000. This is the Unix timestamp for * the start of the VHD epoch. */ #define VHD_EPOCH_START 946684800 @@ -2829,6 +2837,7 @@ __vhd_create(const char *name, const char *parent, uint64_t bytes, int type, vhd_footer_t *footer; vhd_header_t *header; uint64_t size, blks; + int attr; switch (type) { case HD_TYPE_DIFF: @@ -2855,6 +2864,21 @@ __vhd_create(const char *name, const char *parent, uint64_t bytes, int type, if...
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one, with changes coming from the blktap2.5 one. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>