On Thu, Jun 30, 2011 at 2:57 AM, Fam Zheng wrote:
> On Wed, Jun 29, 2011 at 11:57 PM, Stefan Hajnoczi wrote:
>> On Tue, Jun 28, 2011 at 2:32 AM, Fam Zheng wrote:
>>> + /* trim the quotation marks around */
>>> + if (fname[0] == '"') {
>>> + memmove(fname, fname + 1, strl
On Wed, Jun 29, 2011 at 11:57 PM, Stefan Hajnoczi wrote:
> On Tue, Jun 28, 2011 at 2:32 AM, Fam Zheng wrote:
>> +/* find an option value out of descriptor file */
>> +static int vmdk_parse_description(const char *desc, const char *opt_name,
>> + char *buf, int buf_size)
>> +{
>> + char
On Tue, Jun 28, 2011 at 2:32 AM, Fam Zheng wrote:
> +/* find an option value out of descriptor file */
> +static int vmdk_parse_description(const char *desc, const char *opt_name,
> + char *buf, int buf_size)
> +{
> + char *opt_pos, *opt_end;
> + const char *end = desc + strlen(desc);
Parse vmdk decriptor file and open mono flat image.
Read/write the flat extent.
Signed-off-by: Fam Zheng
---
block/vmdk.c | 185 +
1 files changed, 172 insertions(+), 13 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index c84ea90.