|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH v4 47/47] End of migration for postcopy |
| Date: | Sat, 04 Oct 2014 19:49:23 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto:
> + mis->postcopy_ram_state);
> + if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) {
> + /*
> + * Where a migration had postcopy enabled (and thus went to advise)
> + * but managed to complete within the precopy period
> + */
> + postcopy_ram_incoming_cleanup(mis);
> + } else {
> + if ((ret >= 0) &&
> + (mis->postcopy_ram_state > POSTCOPY_RAM_INCOMING_ADVISE)) {
> + /*
> + * Postcopy was started, cleanup should happen at the end of the
> + * postcopy thread.
> + */
> + DPRINTF("process_incoming_migration_co: exiting main branch");
> + return;
> + }
Extra parentheses and extra nesting.
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |