[libvirt] [Qemu-devel] Regarding guest-file-write

Eric Blake eblake at redhat.com
Tue Jun 24 15:34:10 UTC 2014


On 06/24/2014 07:10 AM, Puneet Bakshi wrote:

[please don't top-post on technical lists]

> 1. In that case, I hope it allow sending binary data (non-ASCII) also.

Yes, the reason guest-file-write takes base64 encoded data is PRECISELY
so that it can cope with binary data while still using only ascii
representation over the wire.

> 
> 2. If I encode my data in base-64 form, is there a limit on size of the
> data I can pass (or I can pass arbitrarily large amount of data).

At this point, it may be faster for you to read the qemu source code.

-- 
Eric Blake   eblake 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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140624/ea702da6/attachment-0001.sig>


More information about the libvir-list mailing list