qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Puneet Bakshi <bakshi.puneet@gmail.com>,
	"Daniel P. Berrange" <berrange@redhat.com>
Cc: libvir-list@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [libvirt] Regarding guest-file-write
Date: Tue, 24 Jun 2014 09:34:10 -0600	[thread overview]
Message-ID: <53A99A72.7040206@redhat.com> (raw)
In-Reply-To: <CALBPQ30wOVOGEB2+kJexrDdwH7+9j9KPs_jnEN-YHhpxnntEZQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2014-06-24 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24 12:50 [Qemu-devel] Regarding guest-file-write Puneet Bakshi
2014-06-24 12:57 ` [Qemu-devel] [libvirt] " Daniel P. Berrange
2014-06-24 13:10   ` Puneet Bakshi
2014-06-24 15:34     ` Eric Blake [this message]
2014-06-24 15:32 ` [Qemu-devel] " Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A99A72.7040206@redhat.com \
    --to=eblake@redhat.com \
    --cc=bakshi.puneet@gmail.com \
    --cc=berrange@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).