Re: [Qemu-devel] [PATCH 2/2] Add check_rxov into VMState.

2012-10-18 Thread Avi Kivity
On 10/17/2012 08:31 PM, Dmitry Fleytman wrote: > E1000State::check_rxov field must be preserved on live migration. It looks like its value is usually 1. Is this true? If so, we can use subsections to only migrate it if it is zero. This allows migration to keep working from a new version to an o

Re: [Qemu-devel] [PATCH 2/2] Add check_rxov into VMState.

2012-10-18 Thread Dmitry Fleytman
Oops, you are right :) On Thu, Oct 18, 2012 at 9:24 AM, Stefan Hajnoczi wrote: > On Wed, Oct 17, 2012 at 08:31:47PM +0200, Dmitry Fleytman wrote: >> @@ -1100,6 +1100,11 @@ static bool is_version_1(void *opaque, int version_id) >> return version_id == 1; >> } >> >> +static bool is_version_3(

Re: [Qemu-devel] [PATCH 2/2] Add check_rxov into VMState.

2012-10-18 Thread Stefan Hajnoczi
On Wed, Oct 17, 2012 at 08:31:47PM +0200, Dmitry Fleytman wrote: > @@ -1100,6 +1100,11 @@ static bool is_version_1(void *opaque, int version_id) > return version_id == 1; > } > > +static bool is_version_3(void *opaque, int version_id) > +{ > +return version_id == 1; > +} version_id ==

[Qemu-devel] [PATCH 2/2] Add check_rxov into VMState.

2012-10-17 Thread Dmitry Fleytman
E1000State::check_rxov field must be preserved on live migration. Signed-off-by: Dmitry Fleytman --- hw/e1000.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/e1000.c b/hw/e1000.c index 606bf3a..26ad03c 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -92,7 +92,7 @@