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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]