Re: [Qemu-devel] [PATCH 0/2] tpm: acpi generation tweaks

2014-08-08 Thread Stefan Berger
On 07/30/2014 07:34 AM, Michael S. Tsirkin wrote: This tweaks tpm code slightly for readability and robustness. On top of Stefen's patches. Are you going to upstream my patches and yours ? Stefan

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] po: Add Chinese translation

2014-08-08 Thread Michael Tokarev
06.08.2014 13:50, Fam Zheng wrote: > Signed-off-by: Fam Zheng > Reviewed-by: Amos Kong > Reviewed-by: Dongsheng Song > Reviewed-by: Wei Huang Thanks, applied to -trivial. I can't verify it however :) /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] build-sys: Move qapi-{types, visit, event}.o into util-obj-y

2014-08-08 Thread Michael Tokarev
07.08.2014 06:34, Fam Zheng wrote: > These three objects are repeated in multiple times in Makefiles. Let's > just add them to libqemuutil.a, and don't list explicitly elsewhere. I think it is a good idea. I wondered about these too when come across them in makefiles several times. I'm applying

Re: [Qemu-devel] [PATCH v2 0/2] Add machine type pc-1.0-qemu-kvm for live migrate compatibility with qemu-kvm

2014-08-08 Thread Serge E. Hallyn
Quoting Alex Bligh (a...@alex.org.uk): > > On 7 Aug 2014, at 20:26, Serge E. Hallyn wrote: > > > A-ha, acpi wasn't a problem. I actually had a general migration > > problem even when coming from other utopic hosts. With that fixed, > > I've got successful migration from qemu-kvm 1.0 in precise

[Qemu-devel] [PULL 6/9] hw/timer: Move extern declaration from .c to .h file

2014-08-08 Thread Michael Tokarev
From: Stefan Weil This fixes a warning from smatch (static code analyser). Fix also the comment with the renamed source file name. Signed-off-by: Stefan Weil hw/timer/tusb6010.c |3 --- include/hw/usb.h|7 ++- 2 files changed, 6 insertions(+), 4 deletions(-) Signed-off-by: Mi

[Qemu-devel] [PULL 8/9] po: Add Chinese translation

2014-08-08 Thread Michael Tokarev
From: Fam Zheng Signed-off-by: Fam Zheng Reviewed-by: Amos Kong Reviewed-by: Dongsheng Song Reviewed-by: Wei Huang Signed-off-by: Michael Tokarev --- po/zh_CN.po | 86 +++ 1 file changed, 86 insertions(+) create mode 100644 po/zh_CN

[Qemu-devel] [PULL 1/9] hw/timer/imx_*: fix TIMER_MAX clash with system symbol

2014-08-08 Thread Michael Tokarev
The symbol TIMER_MAX used in imx_epit.c and imx_gpt.c clashes with system symbol with the same name. Because all qemu source files includes qemu-common.h which, in turn, includes limits.h, which is not unusual to define it. Rename local symbol to have a reasonable prefix. Signed-off-by: Michael

[Qemu-devel] [PULL 7/9] qemu-img: Check getchar() return value in read_password() for WIN32

2014-08-08 Thread Michael Tokarev
From: Chen Gang getchar() is a standard c library function which may return with failure (e.g. -1), so like another platforms, also need check it under WIN32. And make the related code match current qemu code styles, too. Signed-off-by: Chen Gang Signed-off-by: Michael Tokarev --- qemu-img.c

[Qemu-devel] [PULL 0/9] Trivial patches for 2014-08-09

2014-08-08 Thread Michael Tokarev
There's a next pull request for the -trivial tree. Nothing exciting in there this time. Small things left from pre-2.1 time, small new things here and there, and 2 portability fixes on top of 2.1. Please consider applying. /mjt The following changes since commit 2d591ce2aeebf9620ff527c7946844a3

[Qemu-devel] [PULL 4/9] Show length mismatch error is hex

2014-08-08 Thread Michael Tokarev
From: Alex Bligh When live migrate fails due to a section length mismatch we currently see an error message like: Length mismatch: :00:03.0/virtio-net-pci.rom: 1 in != 2 The section lengths are in fact in hex, so this should read Length mismatch: :00:03.0/virtio-net-pci.rom: 0x

[Qemu-devel] [PULL 2/9] l2tpv3 (configure): it is linux-specific

2014-08-08 Thread Michael Tokarev
Some non-linux systems, for example a system with FreeBSD kernel and glibc, may declare struct mmsghdr (in glibc) but may not have linux-specific header file linux/ip.h. The actual implementation in qemu includes this linux-specific header file unconditionally, so compilation fails if it is not pr

[Qemu-devel] [PULL 5/9] virtio: Move extern declaration to header file

2014-08-08 Thread Michael Tokarev
From: Stefan Weil This fixes a warning from smatch (static code analyser). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- hw/virtio/vhost-backend.c |2 -- include/hw/virtio/vhost-backend.h |2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/

[Qemu-devel] [PULL 3/9] target-i386/cpu.c: Fix two error output indentation

2014-08-08 Thread Michael Tokarev
From: chenfan Signed-off-by: Chen Fan Reviewed-by: Igor Mammedov Signed-off-by: Michael Tokarev --- target-i386/cpu.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 6d008ab..217500c 100644 --- a/target-i386/cpu.c ++

[Qemu-devel] [PULL 9/9] build-sys: Move qapi-{types, visit, event}.o into util-obj-y

2014-08-08 Thread Michael Tokarev
From: Fam Zheng These three objects are repeated in multiple times in Makefiles. Let's just add them to libqemuutil.a, and don't list explicitly elsewhere. Signed-off-by: Fam Zheng Signed-off-by: Michael Tokarev --- Makefile |2 +- Makefile.objs | 10 ++ tests/Makefile |

[Qemu-devel] [PATCH] target-sparc64: implement Short Floating-Point Store Instructions

2014-08-08 Thread Artyom Tarasenko
Implement Short Floating-Point Store Instructions as described in the chapter 13.5.2 of UltraSPARC-IIi User's Manual. Particularly this instructions are used by NetBSD 4.0.1+ /sparc64 Signed-off-by: Artyom Tarasenko --- With this patch applied on top of cmd646 patches it's possible to install

Re: [Qemu-devel] [PATCH 3/3] block: Catch !bs->drv in bdrv_check()

2014-08-08 Thread Max Reitz
On 08.08.2014 11:15, Kevin Wolf wrote: Am 07.08.2014 um 22:47 hat Max Reitz geschrieben: qemu-img check calls bdrv_check() twice if the first run repaired some inconsistencies. If the first run however again triggered corruption prevention (on qcow2) due to very bad inconsistencies, bs->drv may

<    1   2   3