Project

General

Profile

Actions

Feature #341

closed

libvirt bindings

Added by Wido den Hollander over 13 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

It might be nice to make some libvirt bindings for qemu-kvm/rbd

libvirt: http://libvirt.org/

We should/could support a rbd storage pool and then support specifying rbd images via the XML, an example for both:

This way we could easily support creating virtual machines via "virt-manager" and managing them on the console using the "virsh" command.


Files

9024-virtual-disk.patch (1.7 KB) 9024-virtual-disk.patch Wido den Hollander, 08/19/2010 05:41 AM
9025-disk-cache.patch (586 Bytes) 9025-disk-cache.patch Wido den Hollander, 08/19/2010 05:41 AM
9026-aio-support.patch (5.77 KB) 9026-aio-support.patch Wido den Hollander, 08/19/2010 05:41 AM
rbd-support.patch (28 KB) rbd-support.patch Wido den Hollander, 08/24/2010 08:56 AM
rbd-support.patch (27.5 KB) rbd-support.patch RBD support for Qemu-KVM 0.12.3 from Ubuntu 10.04 Wido den Hollander, 08/27/2010 06:10 AM
Actions #1

Updated by Sage Weil over 13 years ago

The qemu-rbd stuff probably needs to go upstream before the libvirt patches do. That said, we have some patches we're using internally. I'll see if we can get those posted.

Updated by Wido den Hollander over 13 years ago

Attached some patches for libvirt 0.7.5-ubuntu28, these add features like a virtual disk (for rbd), aio and setting the right cache mode.

Actions #3

Updated by Wido den Hollander over 13 years ago

I've also created a patch for Ubuntu's qemu-kvm to add RBD support (fetched from the latest RBD code).

This patch is for "qemu-kvm-0.12.3+noroms", it adds RBD support to Qemu/KVM. This way you can stick to packages instead of compiling it.

Actions #4

Updated by Wido den Hollander over 13 years ago

Added a bad patch, we should use printf() instead of error_report(), this since qemu-0.12.3 doesn't support that.

Actions #5

Updated by Sage Weil over 13 years ago

  • Estimated time set to 16:00 h
  • Source set to 5
Actions #6

Updated by Sage Weil over 13 years ago

  • Project changed from 3 to 6
  • Category deleted (8)
Actions #7

Updated by Sage Weil over 13 years ago

  • Assignee set to Josh Durgin
Actions #8

Updated by Josh Durgin over 13 years ago

A "network" disk type was introduced in 036ad5052b43fe9f0d197e89fd16715950408e1d, and rbd support was added in 85400fb9929b658b762ff2928007fcba501a7183.

Actions #9

Updated by Sage Weil over 13 years ago

  • Project changed from 6 to 7
Actions #10

Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved
Actions #11

Updated by Sage Weil almost 12 years ago

  • Project changed from 7 to rbd
Actions

Also available in: Atom PDF