qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dyweni - Qemu-Devel" <8SScqsnYX8tr@dyweni.com>
To: chb@muc.de
Cc: 8sscqsnyx8tr@dyweni.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Help compiling QEMU with RBD support
Date: Wed, 4 May 2011 16:50:40 -0500 (CDT)	[thread overview]
Message-ID: <116c326dedd7803986e1be59cc54be4a.squirrel@localhost> (raw)
In-Reply-To: <BANLkTi=UhRr6-fQvejqG9Dn5-SqokcAkKg@mail.gmail.com>

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
>>
>>
>>
>>
>>
>>
>

      parent reply	other threads:[~2011-05-04 21:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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=116c326dedd7803986e1be59cc54be4a.squirrel@localhost \
    --to=8sscqsnyx8tr@dyweni.com \
    --cc=chb@muc.de \
    --cc=qemu-devel@nongnu.org \
    /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 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).