Feature #341
closedlibvirt bindings
0%
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
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
- File 9024-virtual-disk.patch 9024-virtual-disk.patch added
- File 9025-disk-cache.patch 9025-disk-cache.patch added
- File 9026-aio-support.patch 9026-aio-support.patch added
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.
Updated by Wido den Hollander over 13 years ago
- File rbd-support.patch rbd-support.patch added
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.
Updated by Wido den Hollander over 13 years ago
- File rbd-support.patch rbd-support.patch added
Added a bad patch, we should use printf() instead of error_report(), this since qemu-0.12.3 doesn't support that.
Updated by Sage Weil over 13 years ago
- Estimated time set to 16:00 h
- Source set to 5
Updated by Sage Weil over 13 years ago
- Project changed from 3 to 6
- Category deleted (
8)
Updated by Josh Durgin over 13 years ago
A "network" disk type was introduced in 036ad5052b43fe9f0d197e89fd16715950408e1d, and rbd support was added in 85400fb9929b658b762ff2928007fcba501a7183.