qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Help compiling QEMU with RBD support


From: Dyweni - Qemu-Devel
Subject: Re: [Qemu-devel] Help compiling QEMU with RBD support
Date: Wed, 4 May 2011 16:50:40 -0500 (CDT)
User-agent: SquirrelMail/1.4.16

Hi Christian!

I have ceph 0.27 installed.  I downloaded it from:
http://ceph.newdream.net/download/ceph-0.27.tar.gz


I found the following rados/rbd included files at:

/usr/include/rados
/usr/include/rados/buffer.h
/usr/include/rados/crc32c.h
/usr/include/rados/librados.h
/usr/include/rados/librados.hpp
/usr/include/rados/page.h
/usr/include/rbd
/usr/include/rbd/librbd.h
/usr/include/rbd/librbd.hpp


I also found the following rados/rbd lib files at:

/usr/lib64/librados.so -> librados.so.2.0.0
/usr/lib64/librados.so.2 -> librados.so.2.0.0
/usr/lib64/librados.so.2.0.0
/usr/lib64/librbd.so -> librbd.so.1.0.0
/usr/lib64/librbd.so.1 -> librbd.so.1.0.0
/usr/lib64/librbd.so.1.0.0


The QEMU configure script is looking for a function called
'rados_initialize' within the header file 'rados/librados.h'.


I checked the rados include/lib files for that function,
but I don't see it:

# grep -rin rados_initialize /usr/include/rados/*
# strings /usr/lib64/librados.so | grep -i rados_initialize


Thanks,
Dyweni




> Hi Dyweni,
>
> are you sure that you have installed ceph (especially librados and the
> header files)?
>
> Josh's patches use the newer librbd from ceph 0.27. With this library
> the qemu driver gets a lot simpler and avoids code duplication in ceph
> and qemu. - It's the future, but I don't think it will solve your
> problem.
>
> Christian
>
> 2011/5/4 Dyweni - Qemu-Devel <address@hidden>:
>> Hi List!
>>
>> I'm running into an issue compiling QEMU with RBD support.
>>
>> From the Wiki (http://ceph.newdream.net/wiki/QEMU-RBD), I should be
>> able to do the following:
>>
>> $ git clone git://git.qemu.org/qemu.git
>> $ cd qemu
>> $ ./configure --enable-rbd
>> $ make; make install
>>
>>
>> However, the configure command throws this error:
>>
>> ERROR
>> ERROR: User requested feature rados block device
>> ERROR: configure was not able to find it
>> ERROR
>>
>>
>> I ran across this patchset from Josh Durgin which looks like it might
>> resolve this error, but I don't see it commited to GIT repository
>> above, or the qemu-kvm repository hosted on git.kernel.org:
>>
>> [Qemu-devel] [PATCH v3 0/4] rbd improvements
>> http://lists.gnu.org/archive/html/qemu-devel/2011-04/msg01211.html
>>
>>
>>
>> Before I attempt to apply Josh's patchset, I'd like to know if anyone
>> else on the list has ran across this before.
>>
>> Thanks,
>> Dyweni
>>
>>
>>
>>
>>
>>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]