Re: [PATCH] blockResize: add flag for bytes

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

 



On 03/03/2012 05:36 PM, Laine Stump wrote:
> On 03/03/2012 09:48 AM, Eric Blake wrote:
>> Qemu supports sizing by bytes; we shouldn't force the user to
>> round up if they really wanted an unaligned total size.
>>
>> * include/libvirt/libvirt.h.in (VIR_DOMAIN_BLOCK_RESIZE_BYTES):
>> New flag.
>> * src/libvirt.c (virDomainBlockResize): Document it.
>> * src/qemu/qemu_monitor_json.c (qemuMonitorJSONBlockResize): Take
>> size in bytes.
>> * src/qemu/qemu_monitor_text.c (qemuMonitorTextBlockResize):
>> Likewise.  Pass bytes, not megabytes, to monitor.
>> * src/qemu/qemu_driver.c (qemuDomainBlockResize): Implement new
>> flag.
>> ---
> 
> Looks okay to me. ACK.

Thanks; 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]