[Qemu-devel] [PATCH v2 2/2] tests: Use query-usernet instead of 'info usernet'

2018-02-25 Thread Fam Zheng
Signed-off-by: Fam Zheng --- tests/vm/basevm.py | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 686d88decf..f51604e0ab 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -101,7 +101,7 @@

[Qemu-devel] [PATCH v2 0/2] slirp: Add query-usernet QMP command

2018-02-25 Thread Fam Zheng
v2: Fix compiler error. [patchew] The command is a counterpart of HMP "info usernet" and is at least very useful for the VM tests. So add it. Fam Zheng (2): slirp: Add "query-usernet" QMP command tests: Use query-usernet instead of 'info usernet' net/slirp.c| 26 +++

Re: [Qemu-devel] [PATCH 0/2] slirp: Add query-usernet QMP command

2018-02-25 Thread Fam Zheng
On Sun, 02/25 23:10, no-re...@patchew.org wrote: > Hi, > > This series failed build test on s390x host. Please find the details below. > > Type: series > Message-id: 20180226070311.10057-1-f...@redhat.com > Subject: [Qemu-devel] [PATCH 0/2] slirp: Add query-usernet QMP command > > === TEST

Re: [Qemu-devel] [PATCH qemu repost] qmp: Add qom-list-properties to list QOM object properties

2018-02-25 Thread Alexey Kardashevskiy
On 23/02/18 22:33, Paolo Bonzini wrote: > On 22/02/2018 06:00, Alexey Kardashevskiy wrote: >> There is already 'device-list-properties' which does most of the job, >> however it does not handle everything returned by qom-list-types such >> as machines as they inherit directly from TYPE_OBJECT and

Re: [Qemu-devel] [PATCH v4 RFC 3/3] util/uri.c: wrap single statement blocks with braces {}

2018-02-25 Thread Su Hang
I can't be too happy to know my first patch get accepted! ^_^ I hope I can make more contributions to community! > -Original Messages- > From: "Thomas Huth" > Sent Time: 2018-02-26 14:49:46 (Monday) > To: "Su Hang" , boxa...@163.com > Cc:

Re: [Qemu-devel] [PATCH 0/2] slirp: Add query-usernet QMP command

2018-02-25 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Type: series Message-id: 20180226070311.10057-1-f...@redhat.com Subject: [Qemu-devel] [PATCH 0/2] slirp: Add query-usernet QMP command === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be invoked under the

[Qemu-devel] [PATCH 0/2] slirp: Add query-usernet QMP command

2018-02-25 Thread Fam Zheng
The command is a counterpart of HMP "info usernet" and is at least very useful for the VM tests. So add it. Fam Zheng (2): slirp: Add "query-usernet" QMP command tests: Use query-usernet instead of 'info usernet' net/slirp.c| 26 +++ qapi/net.json | 201

[Qemu-devel] [PATCH 1/2] slirp: Add "query-usernet" QMP command

2018-02-25 Thread Fam Zheng
HMP "info usernet" has been available but it isn't ideal for programed use cases. This closes the gap in QMP by adding a counterpart "query-usernet" command. It is basically translated from the HMP slirp_connection_info() loop, which now calls the QMP implementation and prints the data, just like

[Qemu-devel] [PATCH 2/2] tests: Use query-usernet instead of 'info usernet'

2018-02-25 Thread Fam Zheng
Signed-off-by: Fam Zheng --- tests/vm/basevm.py | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 686d88decf..f51604e0ab 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -101,7 +101,7 @@

Re: [Qemu-devel] [PATCH v4 RFC 3/3] util/uri.c: wrap single statement blocks with braces {}

2018-02-25 Thread Thomas Huth
On 25.02.2018 05:35, Su Hang wrote: > For this patch, using curly braces to wrap `if` `while` `else` statements, > which only hold single statement. For example: > ''' > if (cond) > statement; > ''' > to > ''' > if (cond) { > statement; > } > ''' > > And using tricks that compare the

Re: [Qemu-devel] [PATCH v4 RFC 2/3] util/uri.c: remove brackets that wrap `return` statement's content.

2018-02-25 Thread Thomas Huth
On 25.02.2018 05:35, Su Hang wrote: > only remove brackets that wrap `return` statements' content. > > use `perl -pi -e "s/return \((.*?)\);/return \1;/g" util/uri.c` > to remove pattern like this: "return (1);" > > Signed-off-by: Su Hang > --- > util/uri.c | 160 >

Re: [Qemu-devel] [PATCH v4 RFC 1/3] util/uri.c: Coding style check, Only whitespace involved. Using `clang-format -i util/uri.c` first, then change back few code manually, to make sure only whitespace

2018-02-25 Thread Thomas Huth
On 25.02.2018 05:35, Su Hang wrote: > Signed-off-by: Su Hang Looks like the patch description accidentally somehow moved into the "Subject" line ... but I hope that can be fixed when the patch is picked up, so: Reviewed-by: Thomas Huth

Re: [Qemu-devel] [PATCH v2 2/3] migration: use the free page reporting feature from balloon

2018-02-25 Thread Wei Wang
On 02/09/2018 07:50 PM, Dr. David Alan Gilbert wrote: * Wei Wang (wei.w.w...@intel.com) wrote: Use the free page reporting feature from the balloon device to clear the bits corresponding to guest free pages from the dirty bitmap, so that the free memory are not sent. Signed-off-by: Wei Wang

Re: [Qemu-devel] [PATCH v2 0/3] virtio-balloon: free page hint reporting support

2018-02-25 Thread Wei Wang
On 02/09/2018 06:53 PM, Dr. David Alan Gilbert wrote: * Wei Wang (wei.w.w...@intel.com) wrote: On 02/09/2018 04:15 AM, Dr. David Alan Gilbert wrote: * Wei Wang (wei.w.w...@intel.com) wrote: This is the deivce part implementation to add a new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT to the

Re: [Qemu-devel] [PATCH v2 3/3] virtio-balloon: add a timer to limit the free page report waiting time

2018-02-25 Thread Wei Wang
On 02/09/2018 08:15 PM, Dr. David Alan Gilbert wrote: * Wei Wang (wei.w.w...@intel.com) wrote: This patch adds a timer to limit the time that host waits for the free page hints reported by the guest. Users can specify the time in ms via "free-page-wait-time" command line option. If a user

[Qemu-devel] QEMU GSoC 2018 Project Idea (Apply polling to QEMU NVMe)

2018-02-25 Thread Huaicheng Li
Hi all, The project would be about utilizing shadow doorbell buffer features in NVMe 1.3 to enable QEMU side polling for virtualized NVMe device, thus achieving comparable performance as in virtio-dataplane. **Why not virtio?** The reason is many industrial/academic researchers uses QEMU NVMe as

[Qemu-devel] [PATCH v4 1/2] Add a git-publish configuration file

2018-02-25 Thread Fam Zheng
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora/Debian official repo. One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method

[Qemu-devel] [PATCH v4 0/2] Add git-publish config file

2018-02-25 Thread Fam Zheng
v4: Fix prefixes. [Stefan] Keep rich profiles. [Paolo] v3: Fix trivial hunk placement. [Michael] Fix PPC sub-list. [Michael] v2: Add README paragraph [Marc-Andr??, Stefan] Fix 'trivial' profile [Marc-Andr??] Rename profiles [Stefan] Fam Zheng (2): Add a git-publish

[Qemu-devel] [PATCH v4 2/2] README: Document 'git-publish' workflow

2018-02-25 Thread Fam Zheng
Signed-off-by: Fam Zheng --- README | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README b/README index 2c8e1c8cc4..7833b97365 100644 --- a/README +++ b/README @@ -56,7 +56,7 @@ The QEMU source code is maintained under the

Re: [Qemu-devel] [PATCH v2] intel-iommu: Accept 64-bit writes to FEADDR

2018-02-25 Thread Peter Xu
On Sat, Feb 24, 2018 at 09:30:12AM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > Xen is doing this [1] and currently triggers an abort. > > [1] >

[Qemu-devel] [PATCH v2 RFC] scripts/checkpatch.pl: add check for `while` and `for`

2018-02-25 Thread Su Hang
Add check for `while` and `for` statements, which condition has more than one line. The former checkpatch.pl can check `if` statement, which condition has more than one line, whether block misses brace round, like this: ''' if (cond1 || cond2) statement; ''' But it doesn't do the same

Re: [Qemu-devel] [PATCH v4 RFC 0/3] util/uri.c: Coding style format

2018-02-25 Thread Fam Zheng
On Sun, 02/25 21:56, Thomas Huth wrote: > On 25.02.2018 05:57, no-re...@patchew.org wrote: > > LINKppc-softmmu/qemu-system-ppc > > collect2: error: ld returned 1 exit status > > make[1]: *** [Makefile:193: qemu-system-ppc] Error 1 > > make: *** [Makefile:404: subdir-ppc-softmmu] Error 2 > >

[Qemu-devel] [Bug 1751674] Re: qemu-system-arm segmentation fault trying to dump VM memory

2018-02-25 Thread Gustavo Moreira
Yeah, the page fails uploading the code dump file. Actually it seems to upload the whole file but then it shows a "Timeout error" error. Anyway, let me know if you need that file and if so how can I send it to you. ** Description changed: Qemu segfaults trying to generate a VM memory dump:

[Qemu-devel] [Bug 1751674] [NEW] qemu-system-arm segmentation fault trying to dump VM memory

2018-02-25 Thread Gustavo Moreira
Public bug reported: Qemu segfaults trying to generate a VM memory dump: $ QEMU_AUDIO_DRV=none qemu-git-src/arm-softmmu/qemu-system-arm -M vexpress-a9 -smp 4 -m 1024 -machine secure=off,dump-guest-core=on -kernel linux-4.9.75/arch/arm/boot/zImage -append "root=/dev/mmcblk0 rw rootfstype=ext4

Re: [Qemu-devel] [RFC v4 00/21] blockjobs: add explicit job management

2018-02-25 Thread no-reply
Hi, This series failed build test on ppcle host. Please find the details below. Message-id: 20180223235142.21501-1-js...@redhat.com Subject: [Qemu-devel] [RFC v4 00/21] blockjobs: add explicit job management Type: series === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be invoked

Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link

2018-02-25 Thread no-reply
Hi, This series failed build test on ppcle host. Please find the details below. Message-id: 20180224154033.29559-1-mre...@redhat.com Subject: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link Type: series === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be invoked under the

Re: [Qemu-devel] [PATCH] virtio-gpu-3d: add support for second capability set (v4)

2018-02-25 Thread Dave Airlie
Gerd, This seems to have passed the bots, but realised I hadn't cc'ed you. Please pick it up whenever you get a chance. Dave. On 23 February 2018 at 12:38, Dave Airlie wrote: > From: Dave Airlie > > Due to a kernel bug we can never increase the size of

Re: [Qemu-devel] [PATCH v4 RFC 0/3] util/uri.c: Coding style format

2018-02-25 Thread Thomas Huth
On 25.02.2018 05:57, no-re...@patchew.org wrote: > Hi, > > This series failed build test on s390x host. Please find the details below. [...] > GEN trace/generated-helpers.c > CC mipsel-softmmu/trace/control-target.o > CC ppc-softmmu/memory_mapping.o > CC

[Qemu-devel] [PULL 1/4] linux-user: Move CPU type name selection to a function

2018-02-25 Thread Laurent Vivier
Instead of a sequence of "#if ... #endif" move the selection to a function in linux-user/*/target_elf.h We can't add them in linux-user/*/target_cpu.h because we will need to include "elf.h" to use ELF flags with eflags, and including "elf.h" in "target_cpu.h" introduces some conflicts in

[Qemu-devel] [PULL 3/4] linux-user, m68k: select CPU according to ELF header values

2018-02-25 Thread Laurent Vivier
M680x0 doesn't support the same set of instructions as ColdFire, so we can't use "any" CPU type to execute m68020 instructions. We select CPU type ("m68040" or "any" for ColdFire) according to the ELF header. If we can't, we use by default the value used until now: "any". Signed-off-by: Laurent

[Qemu-devel] [PULL 2/4] linux-user: introduce functions to detect CPU type

2018-02-25 Thread Laurent Vivier
From: YunQiang Su Add a function to return ELF e_flags and use it to select the CPU model. Signed-off-by: YunQiang Su [lv: split the patch and some cleanup in get_elf_eflags()] Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson

[Qemu-devel] [PULL 0/4] Linux user for 2.12 patches

2018-02-25 Thread Laurent Vivier
The following changes since commit 0a773d55ac76c5aa89ed9187a3bc5af8c5c2a6d0: maintainers: Add myself as a OpenBSD maintainer (2018-02-23 12:05:07 +) are available in the Git repository at: git://github.com/vivier/qemu.git tags/linux-user-for-2.12-pull-request for you to fetch changes

[Qemu-devel] [PULL 4/4] linux-user: MIPS set cpu to r6 CPU if binary is R6

2018-02-25 Thread Laurent Vivier
From: YunQiang Su So here we need to detect the version of binaries and set cpu_model for it. Signed-off-by: YunQiang Su [lv: original patch modified to move code into cpu_get_model()] Signed-off-by: Laurent Vivier Reviewed-by: Richard

Re: [Qemu-devel] Windows vioinput guest driver tablet input bug

2018-02-25 Thread Yan Vugenfirer
Hello Justin, Thanks a lot for the patch proposal. I opened the issue on virtio-win GitHub page to track the issue: https://github.com/virtio-win/kvm-guest-drivers-windows/issues/249 Best regards, Yan. > On 25 Feb 2018, at 13:41, Justin Gatzen wrote: > > The last

Re: [Qemu-devel] [PATCH v3] linux-user: Support f_flags in statfs when available.

2018-02-25 Thread Laurent Vivier
Le 23/02/2018 à 05:57, Shea Levy a écrit : > Signed-off-by: Shea Levy > --- > configure | 21 +++ > linux-user/syscall.c | 3 +++ > linux-user/syscall_defs.h | 53 > +++ > 3 files changed, 77

[Qemu-devel] Windows vioinput guest driver tablet input bug

2018-02-25 Thread Justin Gatzen
Hi, The vioinput Windows guest driver does not seem to work with mouse wheel or side buttons for virtio-tablet-pci devices, while virtio-mouse-pci works as expected. Linux guest drivers are unaffected. Tablets are being categorized as mice due to the EXPOSE_ABS_AXES_WITH_BUTTONS_AS_MOUSE compile

Re: [Qemu-devel] Windows vioinput guest driver tablet input bug

2018-02-25 Thread Justin Gatzen
The last email's diff got mangled due to long lines. The original source has long lines still but it shouldnt get cut off his time. Justin, diff --git a/vioinput/sys/HidMouse.c b/vioinput/sys/HidMouse.c index 69dac235..528bd3d6 100644 --- a/vioinput/sys/HidMouse.c +++ b/vioinput/sys/HidMouse.c

[Qemu-devel] [Bug 1688231] Re: [Qemu-ppc] sendkey is not working for any of the keystrokes

2018-02-25 Thread Thomas Huth
** Changed in: qemu Status: New => Won't Fix -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1688231 Title: [Qemu-ppc] sendkey is not working for any of the keystrokes Status in QEMU:

[Qemu-devel] [Bug 1751422] Re: some instructions translate error in x86

2018-02-25 Thread Thomas Huth
Could you please provide some more information about the problem? What's exactly the error? If you've already got a patch, please have a look at https://wiki.qemu.org/Contribute/SubmitAPatch to get some information how to submit it. ** Changed in: qemu Status: New => Incomplete -- You