[Qemu-devel] dirty pages refresh

2014-02-25 Thread Vincent KHERBACHE
lps, Regards. -- Vincent KHERBACHE

Re: [Qemu-devel] [PATCH] kvm: fix kvm_set_migration_log() behavior

2014-02-18 Thread Vincent KHERBACHE
pendently ? Also, what I don't understand is why kvm_log_global_start/stop and kvm_log_start/stop are so different: kvm_set_migration_log VS kvm_dirty_pages_log_change. Thank you for the support. Regards, -- Vincent KHERBACHE

Re: [Qemu-devel] [PATCH] kvm: fix kvm_set_migration_log() behavior

2014-02-18 Thread Vincent KHERBACHE
mpiler already properly handles the squashing of all > non-zero values to true when calling a function with a parameter > prototyped as bool, without needing the cast. Thanks for information, here is the patch without the useless casting. BR. Signed-off-by: Vincent KHERBACHE --- kvm-al

[Qemu-devel] [PATCH] kvm: fix kvm_set_migration_log() behavior

2014-02-18 Thread Vincent KHERBACHE
So instead I propose to use kvm_slot_dirty_pages_log_change() which correctly compare the memory flags (old/new). Signed-off-by: Vincent KHERBACHE --- kvm-all.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 2ca9143..f104f87 100644 ---

[Qemu-devel] [PATCH] dirty log: fix kvm_set_migration_log() behavior

2014-02-17 Thread Vincent KHERBACHE
Vincent KHERBACHE (1): Properly check if 'log dirty' flags have changed kvm-all.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) -- 1.8.3.1

[Qemu-devel] [PATCH] Properly check if 'log dirty' flags have changed

2014-02-17 Thread Vincent KHERBACHE
its job. So instead I propose to use kvm_slot_dirty_pages_log_change() which correctly compare the memory flags (old/new). Signed-off-by: Vincent KHERBACHE --- kvm-all.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 2ca9143..f104f87 1006

[Qemu-devel] Get the dirty bitmap of a whole VM

2014-02-13 Thread Vincent KHERBACHE
********/ Any help/advice would be welcome. Thanks, -- Vincent KHERBACHE

Re: [Qemu-devel] qmp_* functions into 'kvm-all.c'

2014-02-10 Thread Vincent KHERBACHE
That's right ! Problem solved by adding the stub function to 'kvm-stub.c'. Thank you very much ! Le 10/02/2014 20:45, Andreas Färber a écrit : > Hi, > > Am 10.02.2014 19:18, schrieb Vincent KHERBACHE: >> I just created a new QMP command following the >&

[Qemu-devel] qmp_* functions into 'kvm-all.c'

2014-02-10 Thread Vincent KHERBACHE
ference' error to the function from 'qmp-marchal.c' during the compilation. I already included "qmp-commands.h" in 'kvm-all.c' preprocessor but it didn't solve the problem. Does someone know how to fix it (or why it happens) ? Thanks. Regards, -- Vincent KHERBACHE PhD Student at INRIA Sophia (FRANCE)

[Qemu-devel] Get a vm fd using kvm API's ioctls

2014-02-05 Thread Vincent KHERBACHE
nning VM (created from an other process), or maybe a better/easier manner to get the dirty bitmap ? Any help would be welcome. Thanks, -- Vincent KHERBACHE PhD student at INRIA Sophia Antipolis (FRANCE)