[PATCH] vl: Fixup mismatching ram size

2022-02-22 Thread lichun
There is a mismatch between 'memory-backend' and '-m 0'(implicitly). Signed-off-by: lichun <706701...@qq.com> --- softmmu/vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/softmmu/vl.c b/softmmu/vl.c index 1fe028800f..70eb2e53e9 100644 --- a/softmmu/vl.c +++

[PATCH] savevm: check for incoming-state in savevm

2021-02-01 Thread lichun
Running #qemu-system-i386 test.img -monitor stdio -incoming tcp:0.0.0.0:1234 (qemu) savevm we get: before the patch: bdrv_co_pwritev: Assertion `!(bs->open_flags & 0x0800)' failed. Aborted after: Error: Guest is waiting for an incoming migration Signed-of

Re: [PATCH] hmp: Update current monitor acts on the entire handle_hmp_command()

2020-11-13 Thread lichun
>Am 13.11.2020 um 12:13 hat lichun geschrieben: >> monitor_parse_arguments() also need to known the current monitoar: >>  (gdb) bt >>  #0  0x55ac6a6d in mon_get_cpu_sync (mon=0x0, >>synchronize=synchronize@entry=true) at ../monitor/misc.c:270 >>  #1 

[PATCH] hmp: Update current monitor acts on the entire handle_hmp_command()

2020-11-12 Thread lichun
55568b12b3 "$pc", cmdline@entry=0x568b12b0 "xp $pc") at ../monitor/hmp.c:1073 Therefore update current monitor as soon as possible to avoid hmp/xp command failure. Fixes: ff04108a0e36 ("hmp: Update current monitor only in handle_hmp_command()") Signed-off-by: li

Re: Re: [PATCH] console: avoid passing con=NULL to graphic_hw_update_done() In graphic_hw_update(), first select an existing console, a specific-console or active_console(if not specified), then updat

2020-11-06 Thread lichun
>  Hi, > >If you have an long commit message put it into the body not the subject >please. Okey, I should leave a blank line. > >On Sat, Nov 07, 2020 at 01:03:39AM +0800, lichun wrote: >> Signed-off-by: lichun >> --- >>  ui/console.c | 5 +++-- >>  1

[PATCH] console: avoid passing con=NULL to graphic_hw_update_done() In graphic_hw_update(), first select an existing console, a specific-console or active_console(if not specified), then updating the

2020-11-06 Thread lichun
Signed-off-by: lichun --- ui/console.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/console.c b/ui/console.c index e8e5970..e07d2c3 100644 --- a/ui/console.c +++ b/ui/console.c @@ -270,10 +270,11 @@ void graphic_hw_update_done(QemuConsole *con) void

Re: Re: [PATCH v2] chardev/tcp: fix error message double free error

2020-07-01 Thread lichun
>On 01/07/20 09:06, Markus Armbruster wrote: >> lichun writes: >> >>> Signed-off-by: lichun >>> --- >>>  chardev/char-socket.c | 3 ++- >>>  1 file changed, 2 insertions(+), 1 deletion(-) >>> >>> diff --git a/chardev/char-soc

Re: Re: [PATCH v2] chardev/tcp: fix error message double free error

2020-06-27 Thread lichun
>Hi > >On Thu, Jun 25, 2020 at 10:47 AM Markus Armbruster wrote: >> >> lichun writes: >> >> > Signed-off-by: lichun >> > --- >> >  chardev/char-socket.c | 3 ++- >> >  1 file changed, 2 insertions(+), 1 deletion(-) >> > &g

Re: Re: [PATCH] chardev/tcp: fix error message double free error

2020-06-21 Thread lichun
>Hi > >On Sun, Jun 21, 2020 at 10:54 AM lichun wrote: >> >> Signed-off-by: lichun >> --- >>  chardev/char-socket.c | 5 - >>  1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/chardev/char-socket.c b/chardev/char-socket.c >

[PATCH v2] chardev/tcp: fix error message double free error

2020-06-21 Thread lichun
Signed-off-by: lichun --- chardev/char-socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chardev/char-socket.c b/chardev/char-socket.c index afebeec5c3..569d54c144 100644 --- a/chardev/char-socket.c +++ b/chardev/char-socket.c @@ -142,6 +142,8 @@ static void

[PATCH] chardev/tcp: fix error message double free error

2020-06-21 Thread lichun
Signed-off-by: lichun --- chardev/char-socket.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chardev/char-socket.c b/chardev/char-socket.c index afebeec5c3..3b6c1c5848 100644 --- a/chardev/char-socket.c +++ b/chardev/char-socket.c @@ -1086,7 +1086,10 @@ static void

[PATCH] i440FX-pcihost: add 'allow-hotplug' property for configuring whether to expose the BSEL to the guest.

2019-11-18 Thread lichun
Signed-off-by: lichun <706701...@qq.com> --- hw/acpi/pcihp.c | 2 +- hw/pci-host/i440fx.c | 11 +++ include/hw/pci-host/i440fx.h | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/hw/acpi/pcihp.c b/hw/acpi/pcihp.c index 8413348..4f5e0d3

[Qemu-devel] [PATCH] Fixed dump_buffer function parameter offset does not take effect

2019-04-05 Thread lichun
Signed-off-by: lichun <706701...@qq.com> --- qemu-io-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index 09750a2..8d93dc6 100644 --- a/qemu-io-cmds.c +++ b/qemu-io-cmds.c @@ -357,7 +357,7 @@ static void dump_buffer(const void *