From: Kurt Hackel <kurt.hackel@oracle.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Kevin Wolf <kwolf@suse.de>
Subject: Re: [PATCH] blktap: qcow2 image format support
Date: Sat, 23 Feb 2008 19:12:05 -0800 [thread overview]
Message-ID: <20080224031205.GF14510@ca-server1.us.oracle.com> (raw)
In-Reply-To: <C3E30387.1CC57%Keir.Fraser@cl.cam.ac.uk>
Hi,
On Thu, Feb 21, 2008 at 10:31:35AM +0000, Keir Fraser wrote:
> On 21/2/08 08:49, "Kevin Wolf" <kwolf@suse.de> wrote:
>
> > This patch adds support for the qcow2 image format to blktap. It
> > consists mostly of qemu code, adapted to the blktap interfaces.
> > Snapshots and compressed images are supported.
> >
> > The qcow2 driver may be used by either specifying tap:qcow2 or by using
> > tap:qcow which will detect that you have a version 2 image and will call
> > the qcow2 driver.
>
> Applied. I had to convert lx to PRIx64 in a number of places.
>
> -- Ekir
Don't know if this build breakage has been reported yet:
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -Wno-unused -I../../../tools/libxc -I../../../tools/include -I ../../libaio/src -I.. -I../lib -I../../../tools/include -I. -I../../xenstore -D_GNU_SOURCE -Wp,-MD,.block-qcow2.o.d -c -o block-qcow2.o block-qcow2.c
cc1: warnings being treated as errors
block-qcow2.c: In function 'qcow2_create':
block-qcow2.c:1512: warning: ignoring return value of 'write', declared with attribute warn_unused_result
block-qcow2.c:1514: warning: ignoring return value of 'write', declared with attribute warn_unused_result
block-qcow2.c:1519: warning: ignoring return value of 'write', declared with attribute warn_unused_result
block-qcow2.c:1522: warning: ignoring return value of 'write', declared with attribute warn_unused_result
block-qcow2.c:1525: warning: ignoring return value of 'write', declared with attribute warn_unused_result
block-qcow2.c: In function 'qcow_write_compressed':
block-qcow2.c:1554: warning: ignoring return value of 'ftruncate',
declared with attribute warn_unused_result
make[4]: *** [block-qcow2.o] Error 1
make[4]: Leaving directory `/builddir/build/BUILD/xen-unstable/tools/blktap/drivers'
Need to deal with return value of writes in qcow2_create() and ftruncate
in qcow_write_compressed(). Probably need to deal with errno too.
Thanks
kurt
--
prev parent reply other threads:[~2008-02-24 3:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 8:49 [PATCH] blktap: qcow2 image format support Kevin Wolf
2008-02-21 8:57 ` Keir Fraser
2008-02-21 9:07 ` Christoph Egger
2008-02-21 9:32 ` Kevin Wolf
2008-02-21 12:47 ` Daniel P. Berrange
2008-02-21 17:18 ` Ian Jackson
2008-02-21 9:28 ` Kevin Wolf
2008-02-21 9:20 ` Keir Fraser
2008-02-21 10:31 ` Keir Fraser
2008-02-24 3:12 ` Kurt Hackel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080224031205.GF14510@ca-server1.us.oracle.com \
--to=kurt.hackel@oracle.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=kwolf@suse.de \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.