Install Virtualization for Block Device

    QEMU KVM can interact with Ceph Block Devices via librbd, which is animportant feature for using Ceph with cloud platforms. Once you install QEMU,see QEMU and Block Devices for usage.

    QEMU packages are incorporated into Ubuntu 12.04 Precise Pangolin and laterversions. To install QEMU, execute the following:

    RPM Packages

    • Update your repositories.
    1. sudo yum update
    • Install QEMU for Ceph.
    1. sudo yum install qemu-guest-agent qemu-guest-agent-win32

    To build QEMU from source, use the following procedure:

    Install libvirt

    To use libvirt with Ceph, you must have a running Ceph Storage Cluster, andyou must have installed and configured QEMU. See for usage.

    Debian Packages

    libvirt packages are incorporated into Ubuntu 12.04 Precise Pangolin andlater versions of Ubuntu. To install on these distributions,execute the following:

    1. sudo apt-get update && sudo apt-get install libvirt-bin

    libvirt packages are incorporated into the recent CentOS/RHEL distributions.To install , execute the following:

    Building libvirt

    To build libvirt from source, clone the libvirt repository and useAutoGen to generate the build. Then, execute make and tocomplete the installation. For example:

    1. git clone git://libvirt.org/libvirt.git
    2. cd libvirt
    3. ./autogen.sh
    4. sudo make install

    See for details.