* Alexey Perevalov (a.pereva...@samsung.com) wrote: > On 01/22/2018 07:26 PM, Peter Maydell wrote: > > On 22 January 2018 at 16:25, Alexey Perevalov <a.pereva...@samsung.com> > > wrote: > > > I want to keep 64bit atomic operations in migration. > > Sorry, you can't -- some 32 bit CPUs simply do not provide these > > operations. You need to rework your design to not require this. > I would like to ask David, > how do you think is it normal to use just one half of now_ms (int64_t), one > half > of 64 bit value should represent 1200 hours and probably it's enough to keep > time > difference.
Yes you could use an offset (start of migration?) - if the postcopy phase is taking more than that long we're probably in trouble. But remember your '0' value is special. Dave > > > > thanks > > -- PMM > > > > > > > > -- > Best regards, > Alexey Perevalov -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK