[Qemu-devel] [PATCH] target/sparc:Remove multiple errors and warnings generated by checkpatch tool within the file target/sparc/asi.h.

2019-05-18 Thread Jules Irenge
Remove multiple errors and warnings generated by checkpatch.pl tool.\nERROR: code indent should never use tabs\nERROR: trailing whitespace\nWARNING: Block comments use a leading /* on a separate line --- target/sparc/asi.h | 352 - 1 file chang

[Qemu-devel] [PATCH v5 1/2] target/mips: add or remove space to fix checkpatch errors

2019-04-13 Thread Jules Irenge
ed between function name and open parenthesis" "ERROR: code indent should never use tabs" "ERROR: line over 90 characters" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 177 +- 1

[Qemu-devel] [PATCH v5 2/2] target/mips: realign comments to fix checkpatch warnings

2019-04-13 Thread Jules Irenge
Realign comments to fix warnings issued by checkpatc.pl tool "WARNING: Block comments use a leading /* on a separate line" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 34 ++ 1 file changed,

[Qemu-devel] [PATCH v5 0/2] target/mips: Errors amd warnings cleanups

2019-04-13 Thread Jules Irenge
This v5 series combines patch v4 2/3 into patch v4 1/3 hence the number of patches to two. Jules Irenge (2): target/mips: add or remove space to fix checkpatch errors target/mips: realign comments to fix checkpatch warnings target/mips/cpu.h | 211

[Qemu-devel] [PATCH v4 3/3] target/mips: wrap lines to fix checkpatch errors

2019-04-12 Thread Jules Irenge
Wrap lines to fix errors issued by checkpatch.pl tool "ERROR: line over 90 characters" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/target

[Qemu-devel] [PATCH v4 1/3] target/mips: add or remove space to fix checkpatch errors

2019-04-12 Thread Jules Irenge
ed between function name and open parenthesis" "ERROR: code indent should never use tabs" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 162 +++--- 1 file changed, 81 insertions(+), 81

[Qemu-devel] [PATCH v4 2/3] target/mips: realign comments to fix checkpatch warnings

2019-04-12 Thread Jules Irenge
Realign comments to fix warnings issued by checkpatc.pl tool "WARNING: Block comments use a leading /* on a separate line" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 34 ++ 1 file changed, 22 inserti

[Qemu-devel] [PATCH v4 0/3] target/mips: Errors and warnings cleanup

2019-04-12 Thread Jules Irenge
This v4 series combines two previously distinct patches into one patch replace tab code indent patch and the add or rmove space into one patch add or remove space patch. Jules Irenge (3): target/mips: add or remove space to fix checkpatch errors target/mips: realign comments to fix

[Qemu-devel] [PATCH v3 4/4] target/mips: replace tab code indent with spaces to fix checkpatch errors

2019-04-05 Thread Jules Irenge
Replace tab code indent with spaces to fix errors issued by checkpatch.pl tool "ERROR: code indent should never use tabs" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 138 +++--- 1 file changed,

[Qemu-devel] [PATCH v3 1/4] target/mips: realign comments to fix checkpatch warnings

2019-04-05 Thread Jules Irenge
Realign comments to fix warnings issued by checkpatch.pl tool "WARNING: Block comments use a leading /* on a separate line" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 34 ++ 1 file changed, 22 inserti

[Qemu-devel] [PATCH v3 2/4] target/mips: add or remove space to fix checkpatch errors

2019-04-05 Thread Jules Irenge
within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/target/mips/cpu.h b/target/mips/cpu.h index 5dd71dbe21..0d2718d7bf 100644 --- a/target/mips/cpu.h +++ b/ta

[Qemu-devel] [PATCH v3 3/4] target/mips: wrap lines to fix checkpatch errors

2019-04-05 Thread Jules Irenge
Wrap lines to fix errors issued by checkpatch.pl tool "ERROR: line over 90 characters" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/target

[Qemu-devel] [PATCH v3 0/4] target/mips: errors and warnings cleanups

2019-04-05 Thread Jules Irenge
This v3 improves on code alignments Jules Irenge (4): target/mips: realign comments to fix checkpatch warnings target/mips: add or remove space to fix checkpatch errors target/mips: wrap lines to fix checkpatch errors target/mips: replace tab code indent with spaces to fix checkpatch

[Qemu-devel] [PATCH v2 1/2] target/mips: realign comments to fix checkpatch warnings

2019-04-04 Thread Jules Irenge
Realign comments to fix warnings issued by checkpatch.pl tool "WARNING: Block comments use a leading /* on a separate line" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 34 ++ 1 file changed, 22 inserti

[Qemu-devel] [PATCH v2 0/2] target/mips: errors and warnings cleanups

2019-04-04 Thread Jules Irenge
This v2 series combines previous two patches into one and removes some left trailing spaces Jules Irenge (2): target/mips: realign comments to fix checkpatch warnings target/mips: add or remove space to fix checkpatch errors target/mips/cpu.h | 60

[Qemu-devel] [PATCH v2 2/2] target/mips: add or remove space to fix checkpatch errors

2019-04-04 Thread Jules Irenge
within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/target/mips/cpu.h b/target/mips/cpu.h index 5dd71dbe21..0d2718d7bf 100644 --- a/target/mips/cpu.h +++ b/ta

[Qemu-devel] [PATCH] target/mips: realign comments to fix checkpatch warnings

2019-04-04 Thread Jules Irenge
Realign comments to fix warnings issued by checkpatch.pl tool "WARNING: Block comments use a leading /* on a separate line" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 34 ++ 1 file changed, 22 inserti

[Qemu-devel] [PATCH 5/5] target/mips: wrap line into multiple lines to to fix checkpatch errors

2019-04-03 Thread Jules Irenge
Wrap line into multiple lines to fix errors issued by checkpatch.pl tool ERROR: line over 90 characters" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff

[Qemu-devel] [PATCH 2/5] target/mips: realign comments to fix checkpatch warnings

2019-04-03 Thread Jules Irenge
Realign comments to fix warnings issued by checkpatch.pl tool "WARNING: Block comments use a leading /* on a separate line" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 34 ++ 1 file changed, 22 inserti

[Qemu-devel] [PATCH 1/5] target/mips: add space to fix checkpatch errors

2019-04-03 Thread Jules Irenge
Add space to fix errors reported by checkpatch.pl tool "ERROR: spaces required around that ..." "ERROR: space required before the open parenthesis" "ERROR: space required after that ..." Signed-off-by: Jules Irenge --- target/mips/cpu.h | 20 ++--

[Qemu-devel] [PATCH 0/5] target/mips/cpu: errors and warnings coding style cleanup

2019-04-03 Thread Jules Irenge
This v1 series cleans up all warnings and errors of coding style within cpu.h file Jules Irenge (5): target/mips: add space to fix checkpatch errors target/mips: realign comments to fix checkpatch warnings target/mips: replace indentation with space to fix checkpatch errors target/mips

[Qemu-devel] [PATCH 3/5] target/mips: replace indentation with space to fix checkpatch errors

2019-04-03 Thread Jules Irenge
Replace indentation with space to fix errors issued by checkpatch.pl tool "ERROR: code indent should never use tabs" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 136 +++--- 1 file changed,

[Qemu-devel] [PATCH 4/5] target/mips: remove space to fix checkpatch errors

2019-04-03 Thread Jules Irenge
Remove space to fix errors issued by checkpatch.pl tool "ERROR: space prohibited between function name and open parenthesis" "ERROR: trailing white space" within "target/mips/cpu.h" file. Signed-off-by: Jules Irenge --- target/mips/cpu.h | 10 +- 1 fi

[Qemu-devel] [PATCH v2 2/2] util: readline: replace tab indent by four spaces to fix checkpatch errors

2019-03-31 Thread Jules Irenge
Replace tab indent by four spaces to fix errors issued by checkpatch.pl tool "ERROR: code indent should never use tabs" within "util/readline.c" file. Signed-off-by: Jules Irenge --- util/readline.c | 98 - 1 file changed,

[Qemu-devel] [PATCH v2 1/2] util/readline: add a space to fix errors by checkpatch tool

2019-03-31 Thread Jules Irenge
util/readline: add a space to fix errors reported by checkpatch.pl tool "ERROR: space required before the open parenthesis" "ERROR: space required after that ..." within "util/redline.c" file Signed-off-by: Jules Irenge --- util/readline.c | 34 +---

[Qemu-devel] [PATCH v2 0/2] util/readline: errors clean-ups

2019-03-31 Thread Jules Irenge
This v2 version combines two fix of errors into one and replace tab indent by four spaces Jules Irenge (2): util/readline: add a space to fix errors by checkpatch tool util: readline: replace tab indent by four spaces to fix checkpatch errors util/readline.c | 132

[Qemu-devel] [PATCH] util/readline: Add braces to fix checkpatch errors

2019-03-30 Thread Jules Irenge
Add braces to fix errors issued by checkpatch.pl tool "ERROR: braces {} are necessary for all arms of this statement" Within "util/readline.c" file --- util/readline.c | 50 - 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/util/readl

[Qemu-devel] [PATCH 2/3] util: add required space to fix checkpatch errors

2019-03-29 Thread Jules Irenge
Add required space to fix errors issued by checkpatch.pl tool "ERROR: space required after that ..." within "util/readline.c" file. Signed-off-by: Jules Irenge --- util/readline.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/util/readline

[Qemu-devel] [PATCH 3/3] util: readline: replace tab indent by four spaces to fix checkpatch errors

2019-03-29 Thread Jules Irenge
Replace tab indent by four spaces to fix errors issued by checkpatch.pl tool "ERROR: code indent should never use tabs" within "util/readline.c" file. Signed-off-by: Jules Irenge --- util/readline.c | 102 1 file changed,

[Qemu-devel] [PATCH 0/3] util/readline: coding style clean-up with regards to TABs and spaces

2019-03-29 Thread Jules Irenge
Jules Irenge (3): util: add a space before an open parenthesis to fix checkpatch errors util: add required space to fix checkpatch errors util: readline: replace tab indent by four spaces to fix checkpatch errors util/readline.c | 132 1

[Qemu-devel] [PATCH 1/3] util: add a space before an open parenthesis to fix checkpatch errors

2019-03-29 Thread Jules Irenge
Add a space before open parenthesis to fix errors issued by checkpatch.pl "ERROR: space required before the open parenthesis" within "util/readline.c" file. Signed-off-by: Jules Irenge --- util/readline.c | 26 +- 1 file changed, 13 insertions(+), 1

[Qemu-devel] [PATCH v2] target/mips: add * to comments and realign them to fix checkpatch warnings

2019-03-27 Thread Jules Irenge
Add * to comments and realign to fix warnings issued by checkpatch.pl tool "WARNING: Block comments use a leading /* on a separate line" within the file "target/mips/cp0_timer.c". Signed-off-by: Jules Irenge --- This v2 improves on writing the comment style and get

[Qemu-devel] [PATCH v3] target/mips: remove a space before open parenthesis to fix checkpatch errors

2019-03-27 Thread Jules Irenge
Remove a space before open parenthesis to fix errors reported by checkpatch.pl tool "ERROR: space prohibited between function name and open parenthesis" within the file "target/mips/cp0_timer.c". Signed-off-by: Jules Irenge --- v3: corrects log grammar errors and clarif

[Qemu-devel] [PATCH v2] target: mips: remove a space before open parenthesis to fix checkpatch error

2019-03-27 Thread Jules Irenge
Remove a space before bracket to fix checkpatch error "ERROR: space prohibited between function name and open parenthesis". Signed-off-by: Jules Irenge --- This v2 version includes fix of all error of space on function and paranthesis in this file target/mips/cp0_timer.c | 12 +

[Qemu-devel] [PATCH] target: mips: Add /* comments to fix checkpatch error

2019-03-27 Thread Jules Irenge
Add /* comment to fix checkpatch warning "WARNING: Block comments use a leading /* on a separate line". Signed-off-by: Jules Irenge --- target/mips/cp0_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/mips/cp0_timer.c b/target/mips/cp0_tim

[Qemu-devel] [PATCH] target: mips: remove a initialisation to zero to fix checkpatch error

2019-03-27 Thread Jules Irenge
Remove a space before bracket to fix checkpatch error "ERROR: do not initialise statics to 0 or NULL". Signed-off-by: Jules Irenge --- target/mips/cp0_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/mips/cp0_timer.c b/target/mips/cp0_timer.c index

[Qemu-devel] [PATCH] target: mips: remove a space before open parenthesis to fix checkpatch error

2019-03-27 Thread Jules Irenge
Remove a space before bracket to fix checkpatch error "ERROR: space prohibited between function name and open parenthesis". Signed-off-by: Jules Irenge --- target/mips/cp0_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/mips/cp0_timer.c b/t

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

2014-07-31 Thread Jules Wang
I choose b) 在2014年08月01 11时15分, "Gareth"写道: 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 could help vm run more fast

[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 --- dma-helpers.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dma-helpers.c b/dma-helpers.c index 5f421e9..53cbe92 100644 --- a/dma

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

2013-10-22 Thread Jules
On 2013-10-22 17:00 -0400,Michael R. Hines wrote: > On 10/15/2013 03:26 AM, Jules Wang wrote: > > v2 -> v3: > > * add documentation of new option in qapi-schema. > > > > * long option name: ft -> fault-tolerant > > > > v1 -> v2: > > * cmdline

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

2013-10-22 Thread Jules
> On Tue, Oct 15, 2013 at 03:26:19PM +0800, Jules Wang wrote: > > v2 -> v3: > > * add documentation of new option in qapi-schema. > > > > * long option name: ft -> fault-tolerant > > > > v1 -> v2: > > * cmdline: migrate curling:tcp::

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

2013-10-15 Thread Jules Wang
ft 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

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

2013-10-15 Thread Jules Wang
: Jules Wang --- 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 --git a/include

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

2013-10-15 Thread Jules Wang
previous migration. Signed-off-by: Jules Wang --- arch_init.c | 25 - include/sysemu/sysemu.h | 3 ++- migration.c | 25 +++-- savevm.c| 20 4 files changed, 61 insertions(+), 12 deletions

[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 --- docs/curling.txt | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 docs/curling.txt diff --git a/docs/c

[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 --- hmp-commands.hx | 10 ++ hmp.c | 3 ++- include/migration/migration.h | 1 + migration.c | 3

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

2013-10-09 Thread Jules
On Wed, 2013-10-09 at 06:02 -0600, Eric Blake wrote: > [your emailer munged the reply, making it a bit hard to read. Are you > set for plain-text-only mail to the list?] Thanks VERY much for remind me that, I'm using another client now. > On 10/09/2013 12:49 AM, junqing.w...@cs2c.com.cn wrote: >

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

2013-09-28 Thread Jules Wang
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

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

2013-09-28 Thread Jules Wang
: Jules Wang --- 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 --git a/include

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

2013-09-28 Thread Jules Wang
previous migration. Signed-off-by: Jules Wang --- arch_init.c | 25 - include/sysemu/sysemu.h | 3 ++- migration.c | 25 +++-- savevm.c| 20 4 files changed, 61 insertions(+), 12 deletions

[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 --- docs/curling.txt | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 docs/curling.txt diff --git a/docs/c

[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 --- hmp-commands.hx | 11 +++ hmp.c | 3 ++- include/migration/migration.h | 1 + migration.c | 3

[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 --- docs/curling.txt | 52 1 file changed, 52 insertions(+) create mode 100644 docs/curling.txt diff --git a/docs/c

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

2013-09-10 Thread Jules Wang
previous migration. Signed-off-by: Jules Wang --- 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 --- a/arch_init.c +++ b

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

2013-09-10 Thread Jules Wang
the receiver is prefectching data, how does it know where is the EOF of one migration? Currently, we use a magic number 0xfeedcafe to indicate the EOF. Any better solutions? 2. How to reduce the overhead entailed by vm_stop and iothread locks? Any solutions other than sleeping? -- Jules Wan

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

2013-09-10 Thread Jules Wang
: Jules Wang --- 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 --git a/include/migration

[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 --- include/migration/migration.h | 2 ++ migration.c | 16 2 files changed, 18 insertions(+) di