qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: quintela@redhat.com, "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>,
	Thomas Huth <thuth@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Laurent Vivier <lvivier@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 3/8] multifd: Create new next_packet_size field
Date: Thu, 7 Mar 2019 11:01:58 -0600	[thread overview]
Message-ID: <839c6477-995d-477c-43f5-cde9761233c8@redhat.com> (raw)
In-Reply-To: <87o96m3m2o.fsf@trasno.org>

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

On 3/7/19 6:28 AM, Juan Quintela wrote:
> "Dr. David Alan Gilbert" <dgilbert@redhat.com> wrote:
>> * Juan Quintela (quintela@redhat.com) wrote:
>>> We need to send this field when we add compression support.  As we are
>>> still on x- stage, we can do this kind of changes.
>>>
>>> Signed-off-by: Juan Quintela <quintela@redhat.com>
>>
>> OK, so that kind of makes sense - in that what you want to do is read
>> the whole compressed chunk in one go.
>>
>> Consider it might be a good idea to add some spare entries here;
>> say a uint64_t dummy[4] so that if you need any more fields in the
>> future it'll be easy to add them without breaking compatibility.
> 
> We have a version field, so ... we can handle it relatively gratiously,
> but I see your point.
> 
> How many?

What is the current struct size? Is there a nice power-of-2 or
cache-line-size multiple to round it out to?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


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

  reply	other threads:[~2019-03-07 17:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-27 11:08 [Qemu-devel] [PATCH v3 0/8] migration: Mark multifd not experimental Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 1/8] multifd: Only send pages when packet are not empty Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 2/8] multifd: Rename "size" member to pages_alloc Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 3/8] multifd: Create new next_packet_size field Juan Quintela
2019-03-06 15:28   ` Dr. David Alan Gilbert
2019-03-07 12:28     ` Juan Quintela
2019-03-07 17:01       ` Eric Blake [this message]
2019-03-08 19:28       ` Dr. David Alan Gilbert
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 4/8] multifd: Drop x-multifd-page-count parameter Juan Quintela
2019-03-09 17:09   ` Markus Armbruster
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 5/8] multifd: Be flexible about packet size Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 6/8] multifd: Change default " Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 7/8] multifd: Drop x- Juan Quintela
2019-03-09 17:11   ` Markus Armbruster
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 8/8] tests: Add migration multifd test Juan Quintela

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=839c6477-995d-477c-43f5-cde9761233c8@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=thuth@redhat.com \
    /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).