[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 5/5] ide: fix migration in the middle of a bmdma
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: [PATCH 5/5] ide: fix migration in the middle of a bmdma transfer |
Date: |
Wed, 16 Jun 2010 15:02:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Paolo Bonzini <address@hidden> wrote:
> On 06/15/2010 03:31 PM, Juan Quintela wrote:
>> Signed-off-by: Juan Quintela<address@hidden>
>
> Sorry if this has been discussed to death before (if so I must have
> missed it...).
>
> With subsections available, what about taking advantage of the new
> protocol extension and add to the subsection info about the size of
> the subsection?
Not trivial with current infrastructure :(
> Also, with the size information, would it make sense to specify
> optional subsections that the receiver could choose to ignore?
We agreed that this was going to be forbidden. If sender send data ->
it needs to be received. Sender can decide to not send a subsection if
its data is not needed.
> Mandatory subsections are something such that round-trip A->B->A fail
> unless B understands the subsection, while optional subsections are
> such that A can provide a default. IDE subsections would be optional,
> for example.
This is the whole point of the .needed() function. if
neeeded(foo_subsection) returns false -> subsection is not needed.
If it returns true -> it is needed, destination has to understand it.
Later, Juan.
- [Qemu-devel] [PATCH 0/5] Migration subsections (and ide as example), Juan Quintela, 2010/06/15
- [Qemu-devel] [PATCH 4/5] ide: fix migration in the middle of pio operation, Juan Quintela, 2010/06/15
- [Qemu-devel] [PATCH 2/5] Revert "ide save/restore current transfer fields", Juan Quintela, 2010/06/15
- [Qemu-devel] [PATCH 3/5] vmstate: add subsections code, Juan Quintela, 2010/06/15
- [Qemu-devel] [PATCH 1/5] Revert "ide save/restore pio/atapi cmd transfer fields and io buffer", Juan Quintela, 2010/06/15
- [Qemu-devel] [PATCH 5/5] ide: fix migration in the middle of a bmdma transfer, Juan Quintela, 2010/06/15
- Re: [Qemu-devel] [PATCH 0/5] Migration subsections (and ide as example), Anthony Liguori, 2010/06/15