diff options
author | Eric Blake <eblake@redhat.com> | 2014-08-30 22:02:19 -0600 |
---|---|---|
committer | Jiri Denemark <jdenemar@redhat.com> | 2014-09-01 17:29:07 +0200 |
commit | 0e4b49a0aa3543e3268a6030798de535d61a1732 (patch) | |
tree | 398e21b83e45079cc9dfc4e72fc83e55e134d934 | |
parent | a4431931393aeb1ac5893f121151fa3df4fde612 (diff) | |
download | libvirt-0e4b49a0aa3543e3268a6030798de535d61a1732.tar.gz |
blockcopy: allow larger buf-size
While qemu definitely caps granularity to 64 MiB, it places no
limits on buf-size. On a machine beefy enough for lots of
memory, a buf-size larger than 2 GiB is feasible, so we should
pass a 64-bit parameter.
* include/libvirt/libvirt.h.in (VIR_DOMAIN_BLOCK_COPY_BUF_SIZE):
Allow 64 bits.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
-rw-r--r-- | include/libvirt/libvirt.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 935831434e..a64f597d39 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -2678,8 +2678,8 @@ typedef enum { * VIR_DOMAIN_BLOCK_COPY_BUF_SIZE: * Macro for the virDomainBlockCopy buffer size tunable: it represents * how much data in bytes can be in flight between source and destination, - * as an unsigned int. Specifying 0 is the same as omitting this parameter, - * to request the hypervisor default. + * as an unsigned long long. Specifying 0 is the same as omitting this + * parameter, to request the hypervisor default. */ #define VIR_DOMAIN_BLOCK_COPY_BUF_SIZE "buf-size" |