]> xenbits.xensource.com Git - libvirt.git/commit
blockcopy: allow larger buf-size
authorEric Blake <eblake@redhat.com>
Sun, 31 Aug 2014 04:02:19 +0000 (22:02 -0600)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 1 Sep 2014 15:29:07 +0000 (17:29 +0200)
commit0e4b49a0aa3543e3268a6030798de535d61a1732
tree398e21b83e45079cc9dfc4e72fc83e55e134d934
parenta4431931393aeb1ac5893f121151fa3df4fde612
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>
include/libvirt/libvirt.h.in