[PATCH] hw/acpi/nvdimm.c : Don't use '#' flag of printf format

2020-10-26 Thread jokenzhang
Signed-off-by: jokenzhang Reported-by: Euler Robot --- hw/acpi/nvdimm.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c index 8f7cc16add..8ad5516142 100644 --- a/hw/acpi/nvdimm.c +++ b/hw/acpi/nvdimm.c @@ -556,7

[PATCH] hw/acpi/nvdimm.c : Don't use '#' flag of printf format

2020-10-26 Thread jokenzhang
Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/acpi/nvdimm.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c index 8f7cc16add..dab3329890 100644 --- a/hw/acpi/nvdimm.c +++ b/hw/acpi

[PATCH 3/3] hw/9pfs : add space before the open parenthesis '('

2020-10-28 Thread jokenzhang
Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/9pfs/cofs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c index 55991916ec..0b321b456e 100644 --- a/hw/9pfs/cofs.c +++ b/hw/9pfs/cofs.c @@ -23,7 +23,7

[PATCH 1/3] hw/9pfs : add spaces around operator

2020-10-28 Thread jokenzhang
Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/9pfs/9p-local.c | 10 +- hw/9pfs/9p.c | 16 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c index 3107637209..af52c1daac

[PATCH 2/3] hw/9pfs : open brace '{' following struct go on the same line

2020-10-28 Thread jokenzhang
Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/9pfs/9p.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 3dd1b50b1a..32df81f360 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -143,8 +143,7

[PATCH] hw/hyperv/vmbus.c : Don't use '#' flag of printf format

2020-10-29 Thread jokenzhang
Fix code style. Don't use '#' flag of printf format ('%#') in format strings, use '0x' prefix instead Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/hyperv/vmbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 1/3] hw/9pfs : add spaces around operator

2020-10-29 Thread jokenzhang
Fix code style. Operator needs spaces both sides. Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/9pfs/9p-local.c | 10 +- hw/9pfs/9p.c | 16 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/hw/9pfs/9p-local.c b

[PATCH v2 2/3] hw/9pfs : open brace '{' following struct go on the same line

2020-10-29 Thread jokenzhang
Fix code style. Open braces for struct should go on the same line. Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/9pfs/9p.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 3dd1b50b1a..32df81f360

[PATCH v2 3/3] hw/9pfs : add space before the open parenthesis '('

2020-10-29 Thread jokenzhang
Fix code style. Space required before the open parenthesis '('. Signed-off-by: jokenzhang Signed-off-by: Kai Deng Reported-by: Euler Robot --- hw/9pfs/cofs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c index 55991916ec..0b321b4

Question about commit 1adf528ec3bd ("hw/rtc/pl031: Send RTC_CHANGE QMP event")

2022-05-18 Thread jokenzhang via
Hi Eric, Have you ever tested the value reported by the PL031 RTC_CHANGE when the qemu clock is using the virtual clock, which is not identical to mc146818. For instance, adding 20s to the guest RTC value, the expected value should be 20, but the actual value is 1652863291: {"timestamp": {"secon