glusterfs
git clone git://git.gluster.com/glusterfs.git
yum install gcc autoconf automake libtool flex openssl* bison
./autogen.sh
./configure
make
make install
mkdir /usr/local/include/glusterfs/
cp glusterfs/libglusterfs/src/*.h /usr/local/include/glusterfs/
cp glusterfs/config.h /usr/local/include/glusterfs/
cp glusterfs/contrib/uuid/uuid.h /usr/local/include/glusterfs/
qemu
yum install glib2-devel
yum install libuuid-devel
./configure --disable-werror --target-list=x86_64-softmmu --enable-glusterfs --enable-uuid
./configure --disable-werror --target-list=x86_64-softmmu --enable-glusterfs
GlusterFS support yes
make
make install
vim /etc/profile
export QEMU_HOME=/usr/local/qemu
export PATH=${QEMU_HOME}:${PATH}
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
source /etc/profile
ln -s ${QEMU_HOME}/bin/qemu-system-x86_64 /usr/bin/kvm
modprobe kvm
modprobe kvm_intel
qemu-system-x86_64 -enable-kvm -nographic -smp 4 -m 2048 -drive file=gluster://172.21.80.156/testVol/centos.raw,if=virtio,cache=none -vnc :5