[libvirt] [PATCH 2/2] qemu: Support for Block Device IO Limits.

Eric Blake eblake at redhat.com
Fri Aug 31 18:31:39 UTC 2012


On 08/29/2012 08:48 AM, Viktor Mihajlovski wrote:
> Implementation of iolimits for the qemu driver with
> capability probing for block size attribute and
> command line generation for block sizes.
> Including testcase for qemuxml2argvtest.
> 
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_capabilities.c                       |   11 ++++++
>  src/qemu/qemu_capabilities.h                       |    1 +
>  src/qemu/qemu_command.c                            |    8 +++++
>  tests/qemuhelptest.c                               |   12 +++++--
>  .../qemuxml2argv-disk-iolimits.args                |    9 +++++
>  .../qemuxml2argv-disk-iolimits.xml                 |   33 ++++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |    3 ++
>  7 files changed, 73 insertions(+), 4 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-iolimits.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-iolimits.xml
> 
> diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
> index 5472267..7b29a81 100644
> --- a/src/qemu/qemu_capabilities.c
> +++ b/src/qemu/qemu_capabilities.c
> @@ -172,6 +172,7 @@ VIR_ENUM_IMPL(qemuCaps, QEMU_CAPS_LAST,
>                "bridge", /* 100 */
>                "lsi",
>                "virtio-scsi-pci",
> +              "iolimits",

Minor conflict area with Martin's s3/s4-disable patches, but I'm sure he
can rebase.

ACK and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120831/6037b717/attachment-0001.sig>


More information about the libvir-list mailing list