diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-07-04 07:22:07 -0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-07-04 07:22:07 -0300 |
commit | 554147f5be31a0656fea120bd530a9b3370d425c (patch) | |
tree | 986b0c8bbcadad4d627a2af8db8fbe3246e1f3cf /configure | |
parent | bd468e1695195168ac31fbe4dee36d0ccd4b713c (diff) | |
parent | 758e8e38eb582e3dc87fd55a1d234c25108a7b7f (diff) |
Merge commit '758e8e38eb582e3dc87fd55a1d234c25108a7b7f' into upstream-merge
* commit '758e8e38eb582e3dc87fd55a1d234c25108a7b7f':
virtio-9p: Make infrastructure for the new security model.
virtio-9p: Introduces an option to specify the security model.
virtio-9p: Rearrange fileop structures
Flush the debug message out to the log file.
give some useful error messages when tap open
Extra scan codes for missing keys
qcow2: Don't try to check tables that couldn't be loaded
qcow2: Fix qemu-img check segfault on corrupted images
virtio-blk: fix the list operation in virtio_blk_load().
qemu-io: check registered fds in command_loop()
vpc: Use bdrv_(p)write_sync for metadata writes
vmdk: Use bdrv_(p)write_sync for metadata writes
qcow2: Use bdrv_(p)write_sync for metadata writes
qcow: Use bdrv_(p)write_sync for metadata writes
cow: Use bdrv_(p)write_sync for metadata writes
block: Add bdrv_(p)write_sync
monitor: allow device to be ejected if no disk is inserted
block: fix physical_block_size calculation
scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments
scsi-bus: Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setup
Conflicts:
vl.c
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -280,6 +280,7 @@ vnc_tls="" vnc_sasl="" xen="" linux_aio="" +attr="" vhost_net="" gprof="no" @@ -699,6 +700,10 @@ for opt do ;; --enable-linux-aio) linux_aio="yes" ;; + --disable-attr) attr="no" + ;; + --enable-attr) attr="yes" + ;; --enable-io-thread) io_thread="yes" ;; --disable-blobs) blobs="no" @@ -892,6 +897,8 @@ echo " --disable-vde disable support for vde network" echo " --enable-vde enable support for vde network" echo " --disable-linux-aio disable Linux AIO support" echo " --enable-linux-aio enable Linux AIO support" +echo " --disable-attr disables attr and xattr support" +echo " --enable-attr enable attr and xattr support" echo " --enable-io-thread enable IO thread" echo " --disable-blobs disable installing provided firmware blobs" echo " --kerneldir=PATH look for kernel includes in PATH" @@ -1767,6 +1774,27 @@ EOF fi ########################################## +# attr probe + +if test "$attr" != "no" ; then + cat > $TMPC <<EOF +#include <stdio.h> +#include <sys/types.h> +#include <attr/xattr.h> +int main(void) { getxattr(NULL, NULL, NULL, 0); setxattr(NULL, NULL, NULL, 0, 0); return 0; } +EOF + if compile_prog "" "-lattr" ; then + attr=yes + LIBS="-lattr $LIBS" + else + if test "$attr" = "yes" ; then + feature_not_found "ATTR" + fi + attr=no + fi +fi + +########################################## # iovec probe cat > $TMPC <<EOF #include <sys/types.h> @@ -2216,6 +2244,7 @@ echo "PIE user targets $user_pie" echo "vde support $vde" echo "IO thread $io_thread" echo "Linux AIO support $linux_aio" +echo "ATTR/XATTR support $attr" echo "Install blobs $blobs" echo "KVM support $kvm" echo "KVM PIT support $kvm_cap_pit" @@ -2419,6 +2448,14 @@ fi if test "$linux_aio" = "yes" ; then echo "CONFIG_LINUX_AIO=y" >> $config_host_mak fi +if test "$attr" = "yes" ; then + echo "CONFIG_ATTR=y" >> $config_host_mak +fi +if test "$linux" = "yes" ; then + if test "$attr" = "yes" ; then + echo "CONFIG_VIRTFS=y" >> $config_host_mak + fi +fi if test "$blobs" = "yes" ; then echo "INSTALL_BLOBS=yes" >> $config_host_mak fi |