* [Qemu-devel] Help compiling QEMU with RBD support
@ 2011-05-04 21:27 Dyweni - Qemu-Devel
2011-05-04 21:39 ` Christian Brunner
0 siblings, 1 reply; 4+ messages in thread
From: Dyweni - Qemu-Devel @ 2011-05-04 21:27 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Help compiling QEMU with RBD support
2011-05-04 21:27 [Qemu-devel] Help compiling QEMU with RBD support Dyweni - Qemu-Devel
@ 2011-05-04 21:39 ` Christian Brunner
2011-05-04 21:44 ` Christian Brunner
2011-05-04 21:50 ` Dyweni - Qemu-Devel
0 siblings, 2 replies; 4+ messages in thread
From: Christian Brunner @ 2011-05-04 21:39 UTC (permalink / raw)
To: 8SScqsnYX8tr; +Cc: qemu-devel
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 <8SScqsnYX8tr@dyweni.com>:
> 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
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Help compiling QEMU with RBD support
2011-05-04 21:39 ` Christian Brunner
@ 2011-05-04 21:44 ` Christian Brunner
2011-05-04 21:50 ` Dyweni - Qemu-Devel
1 sibling, 0 replies; 4+ messages in thread
From: Christian Brunner @ 2011-05-04 21:44 UTC (permalink / raw)
To: 8SScqsnYX8tr; +Cc: qemu-devel
I almost forgot: If you are already using ceph 0.27, then you will
need the pathes. Configure is checking for a function that isn't
existing any longer in librados.
Sorry, Christian
2011/5/4 Christian Brunner <chb@muc.de>:
> 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 <8SScqsnYX8tr@dyweni.com>:
>> 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
>>
>>
>>
>>
>>
>>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Help compiling QEMU with RBD support
2011-05-04 21:39 ` Christian Brunner
2011-05-04 21:44 ` Christian Brunner
@ 2011-05-04 21:50 ` Dyweni - Qemu-Devel
1 sibling, 0 replies; 4+ messages in thread
From: Dyweni - Qemu-Devel @ 2011-05-04 21:50 UTC (permalink / raw)
To: chb; +Cc: 8sscqsnyx8tr, qemu-devel
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 <8SScqsnYX8tr@dyweni.com>:
>> 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
>>
>>
>>
>>
>>
>>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-04 21:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 21:27 [Qemu-devel] Help compiling QEMU with RBD support Dyweni - Qemu-Devel
2011-05-04 21:39 ` Christian Brunner
2011-05-04 21:44 ` Christian Brunner
2011-05-04 21:50 ` Dyweni - Qemu-Devel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).