Re: [Qemu-devel] Question regarding two variables in qemu migration code

2015-01-13 Thread Jidong Xiao
On Tue, Jan 13, 2015 at 1:38 AM, Dr. David Alan Gilbert wrote: > * Jidong Xiao (jidong.x...@gmail.com) wrote: >> Hi, > > Hi, > >> I am looking at the qemu source code, and trying to understand the >> migration part. In arch_init.c, there are two variables which seems >> quite confusing to me, >> >

Re: [Qemu-devel] Question regarding two variables in qemu migration code

2015-01-13 Thread Dr. David Alan Gilbert
* Jidong Xiao (jidong.x...@gmail.com) wrote: > On Tue, Jan 13, 2015 at 1:38 AM, Dr. David Alan Gilbert > wrote: > > * Jidong Xiao (jidong.x...@gmail.com) wrote: > >> Hi, > > > > Hi, > > > >> I am looking at the qemu source code, and trying to understand the > >> migration part. In arch_init.c, the

Re: [Qemu-devel] Question regarding two variables in qemu migration code

2015-01-13 Thread Dr. David Alan Gilbert
* Jidong Xiao (jidong.x...@gmail.com) wrote: > Hi, Hi, > I am looking at the qemu source code, and trying to understand the > migration part. In arch_init.c, there are two variables which seems > quite confusing to me, > > They are: > > static uint64_t migration_dirty_pages; 'migration_dirty_p

[Qemu-devel] Question regarding two variables in qemu migration code

2015-01-12 Thread Jidong Xiao
Hi, I am looking at the qemu source code, and trying to understand the migration part. In arch_init.c, there are two variables which seems quite confusing to me, They are: static uint64_t migration_dirty_pages; static int64_t num_dirty_pages_period; // defined in function migration_bitmap_sync(