[Qemu-devel] [PATCH v3 2/4] Curling: cmdline interface.

2013-10-15 Thread Jules Wang
Add an option '-f' to migration cmdline. Indicating whether to enable fault tolerant or not. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- hmp-commands.hx | 10 ++ hmp.c | 3 ++- include/migration/migration.h | 1 + migration.c

[Qemu-devel] [PATCH v3 3/4] Curling: the sender

2013-10-15 Thread Jules Wang
the previous migration. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- arch_init.c | 25 - include/sysemu/sysemu.h | 3 ++- migration.c | 25 +++-- savevm.c| 20 4 files changed, 61

[Qemu-devel] [PATCH v3 1/4] Curling: add doc

2013-10-15 Thread Jules Wang
Curling provides fault tolerant mechanism for KVM. For more info, see 'doc/curling.txt'. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- docs/curling.txt | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 docs/curling.txt diff

[Qemu-devel] [PATCH v3 4/4] Curling: the receiver

2013-10-15 Thread Jules Wang
-by: Jules Wang junqing.w...@cs2c.com.cn --- include/migration/qemu-file.h | 1 + include/sysemu/sysemu.h | 2 + migration.c | 22 -- savevm.c | 158 -- 4 files changed, 173 insertions(+), 10 deletions(-) diff

[Qemu-devel] [PATCH v3 0/4] Curling: KVM Fault Tolerance

2013-10-15 Thread Jules Wang
migration. * receiver: look for the signature: QEMU_VM_EOF_MAGIC + QEMU_VM_FILE_MAGIC_FT(64bit total) which indicates the end of one migration. -- Jules Wang (4): Curling: add doc Curling: cmdline interface. Curling: the sender Curling: the receiver arch_init.c

[Qemu-devel] [PATCH RFC 2/4] Curling: cmdline interface

2013-09-10 Thread Jules Wang
Parse the word 'curling' when incoming/outgoing migration is starting. So we know whether to enable fault tolerant or not. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- include/migration/migration.h | 2 ++ migration.c | 16 2 files changed, 18

[Qemu-devel] [PATCH RFC 4/4] Curling: the receiver

2013-09-10 Thread Jules Wang
-by: Jules Wang junqing.w...@cs2c.com.cn --- include/migration/qemu-file.h | 1 + include/sysemu/sysemu.h | 1 + migration.c | 22 -- savevm.c | 154 -- 4 files changed, 168 insertions(+), 10 deletions(-) diff

[Qemu-devel] [PATCH RFC 0/4] Curling: KVM Fault Tolerance

2013-09-10 Thread Jules Wang
? -- Jules Wang (4): Curling: add doc Curling: cmdline interface Curling: the sender Curling: the receiver arch_init.c | 18 +++-- docs/curling.txt | 52 ++ include/migration/migration.h | 2 + include/migration/qemu-file.h | 1 + include

[Qemu-devel] [PATCH RFC 3/4] Curling: the sender

2013-09-10 Thread Jules Wang
the previous migration. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- arch_init.c | 18 +- migration.c | 23 ++- savevm.c| 4 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/arch_init.c b/arch_init.c index e47e139..5d006f6 100644

[Qemu-devel] [PATCH RFC 1/4] Curling: add doc

2013-09-10 Thread Jules Wang
Curling provides fault tolerant mechanism for KVM. For more info, see 'doc/curling.txt'. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- docs/curling.txt | 52 1 file changed, 52 insertions(+) create mode 100644 docs/curling.txt diff

[Qemu-devel] [PATCH v2 2/4] Curling: cmdline interface.

2013-09-28 Thread Jules Wang
Add an option '-f' to migration cmdline. Indicating whether to enable fault tolerant or not. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- hmp-commands.hx | 11 +++ hmp.c | 3 ++- include/migration/migration.h | 1 + migration.c

[Qemu-devel] [PATCH v2 3/4] Curling: the sender

2013-09-28 Thread Jules Wang
the previous migration. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- arch_init.c | 25 - include/sysemu/sysemu.h | 3 ++- migration.c | 25 +++-- savevm.c| 20 4 files changed, 61

[Qemu-devel] [PATCH v2 1/4] Curling: add doc

2013-09-28 Thread Jules Wang
Curling provides fault tolerant mechanism for KVM. For more info, see 'doc/curling.txt'. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- docs/curling.txt | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 docs/curling.txt diff

[Qemu-devel] [PATCH v2 4/4] Curling: the receiver

2013-09-28 Thread Jules Wang
-by: Jules Wang junqing.w...@cs2c.com.cn --- include/migration/qemu-file.h | 1 + include/sysemu/sysemu.h | 2 + migration.c | 22 -- savevm.c | 158 -- 4 files changed, 173 insertions(+), 10 deletions(-) diff

[Qemu-devel] [PATCH v2 0/4] Curling: KVM Fault Tolerance

2013-09-28 Thread Jules Wang
(64bit total) which indicates the end of one migration. -- Jules Wang (4): Curling: add doc Curling: cmdline interface. Curling: the sender Curling: the receiver arch_init.c | 25 -- docs/curling.txt | 51 hmp-commands.hx

Re: [Qemu-devel] about -enable-kvm options

2014-07-31 Thread Jules Wang
I choose b) 在2014年08月01 11时15分, Garethacademicgar...@gmail.com写道: Hi all What does '-enable-kvm' option mean? I have heard two versions of answers: a) guest OS would have /dev/kvm device and which could help vm in guest OS (nested vm) b) use /dev/kvm and intel-vt on host OS which

[Qemu-devel] [PATCH] dma-helpers: avoid calling dma_bdrv_unmap() twice

2014-05-22 Thread Jules Wang
Calling dma_bdrv_unmap() twice is not necessary and may cause potential problems if some code changes. Signed-off-by: Jules Wang junqing.w...@cs2c.com.cn --- dma-helpers.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dma-helpers.c b/dma-helpers.c index 5f421e9