Received: from [140.186.70.92] (port=42418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsXJE-0000A4-6e for qemu-devel@nongnu.org; Thu, 24 Feb 2011 04:16:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsXJD-00041V-7r for qemu-devel@nongnu.org; Thu, 24 Feb 2011 04:16:28 -0500 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]:37919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsXJC-00040c-NX for qemu-devel@nongnu.org; Thu, 24 Feb 2011 04:16:27 -0500 Message-ID: <4D6621E4.8030601@lab.ntt.co.jp> Date: Thu, 24 Feb 2011 18:16:20 +0900 From: Yoshiaki Tamura MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 21/28] migration: Make state definitions local List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com Cc: qemu-devel@nongnu.org Juan Quintela wrote: > Yoshiaki Tamura wrote: >> 2011/2/24 Juan Quintela: >>> >>> Signed-off-by: Juan Quintela >>> --- >>> migration.c | 8 ++++++++ >>> migration.h | 8 -------- >>> 2 files changed, 8 insertions(+), 8 deletions(-) >>> >>> diff --git a/migration.c b/migration.c >>> index 493c2d7..697c74f 100644 >>> --- a/migration.c >>> +++ b/migration.c >>> @@ -31,6 +31,14 @@ >>> do { } while (0) >>> #endif >>> >>> +enum migration_state { >>> + MIG_STATE_ERROR, >> >> Would be better to say: >> >> MIG_STATE_ERROR = -1, > > I thought about it, but basically it shouldn't matter, no? It shouldn't. Just gives clear impression :) Yoshi > > Later, Juan. > >