Re: [Qemu-devel] [PATCH 03/14] target-ppc: Use float64 arg in helper_compute_fprf()

2017-01-06 Thread David Gibson
On Fri, Jan 06, 2017 at 10:27:46AM +0530, Bharata B Rao wrote: > On Fri, Jan 06, 2017 at 09:01:17AM +1100, David Gibson wrote: > > On Thu, Jan 05, 2017 at 04:56:08PM +0530, Nikunj A Dadhania wrote: > > > From: Bharata B Rao > > > > > > Use float64 argument instead of unit64_t in helper_compute_fp

Re: [Qemu-devel] [PATCH v1 02/14] target-ppc: Add xxinsertw instruction

2017-01-06 Thread David Gibson
On Fri, Jan 06, 2017 at 11:44:44AM +0530, Nikunj A Dadhania wrote: > xxinsertw: VSX Vector Insert Word > > Signed-off-by: Nikunj A Dadhania The comments I had about out of bounds shifts don't seem to have been addressed here. > --- > target/ppc/helper.h | 1 + > target/ppc/int

[Qemu-devel] [PATCH] net: optimize checksum computation

2017-01-06 Thread Ladi Prosek
Very simple loop optimization with a significant performance impact. Microbenchmark results, modern x86-64: buffer size | speed up +- 1500| 1.7x 64 | 1.5x 8 | 1.15x Microbenchmark results, POWER7: buffer size | speed up +- 1500

Re: [Qemu-devel] [scripts] default shell/perl locations

2017-01-06 Thread Paolo Bonzini
On 05/01/2017 23:41, Sean Bruno wrote: > I don't suppose it would be possible to have configure check/change the > interpreter path for scripts so that operating systems that don't have > /usr/bin/perl for example, would work out of the box? We can use #!/bin/sh eval 'exec perl -x -wS $0 ${1+"$

Re: [Qemu-devel] [PATCH v1 02/14] target-ppc: Add xxinsertw instruction

2017-01-06 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Fri, Jan 06, 2017 at 11:44:44AM +0530, Nikunj A Dadhania wrote: >> xxinsertw: VSX Vector Insert Word >> >> Signed-off-by: Nikunj A Dadhania > > The comments I had about out of bounds shifts don't seem to have been > addressed here. Bound

Re: [Qemu-devel] [PATCH] m68k: Remove PCI and USB from config file

2017-01-06 Thread Laurent Vivier
Le 06/01/2017 à 08:39, Thomas Huth a écrit : > None of the ColdFire boards that we currently support has a PCI or > USB bus (and AFAIK the upcoming q800 machine does not support PCI > and USB either), so we do not need these settings the config file. > > Signed-off-by: Thomas Huth > --- > defaul

[Qemu-devel] [PATCH 01/17] Add wctablet device

2017-01-06 Thread Gerd Hoffmann
From: Anatoli Huseu1 [ kraxel: adapt to chardev changes ] Signed-off-by: Anatoli Huseu1 --- backends/Makefile.objs | 2 +- backends/wctablet.c | 347 +++ docs/qdev-device-use.txt | 2 +- qapi-schema.json | 1 + qemu-char.c

[Qemu-devel] [PATCH 03/17] wctablet: save all chars in the query buffer

2017-01-06 Thread Gerd Hoffmann
... instead of storing the first character only, to avoid things break in case multiple chars are passed in a single wctablet_chr_write call. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/backends/

[Qemu-devel] [PATCH 08/17] wctablet: drop debug code from wctablet_handler

2017-01-06 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index 84fb485..d0ee0e4 100644 --- a/backends/wctablet.c +++ b/backends/wctablet.c @@ -204,12 +204,6 @@ static void wctablet_handler(void *opaque)

[Qemu-devel] [PATCH 02/17] wctablet: add wctablet_queue_output helper

2017-01-06 Thread Gerd Hoffmann
Add helper function to place data in the output queue, so we don't duplicate the code and also check the available space every time. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/backends/

[Qemu-devel] [PATCH 05/17] wctablet: strip leading \r + \n from buffer

2017-01-06 Thread Gerd Hoffmann
Should make command detection more robust. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index 00498e1..767887e 100644 --- a/backends/wctablet.c +++ b/backends

[Qemu-devel] [PATCH 00/17] add serial wacom tablet emulation (gsoc 2016)

2017-01-06 Thread Gerd Hoffmann
Hi, Finally found the time to put the wctablet code into shape. Here comes the patch series. Patch #1 is the submission by Anatoli, almost unmodified. I've only adapted it to the recent chardev changes in the qemu code base so it actually builds and works on current qemu. The following patch

[Qemu-devel] [PATCH 07/17] wctablet: operate on line speed 9600

2017-01-06 Thread Gerd Hoffmann
Ignore all input unless line speed is 9600. This makes line speed detection work correctly and alot more reliable. Also drop the reset counter, this served as workaround for the lack of proper line speed handling and is not needed any more. The guest sends the reset sequence multiple times with

[Qemu-devel] [PATCH 13/17] wctablet: drop DPRINTF, add trace events instead

2017-01-06 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- Makefile.objs | 1 + backends/trace-events | 8 backends/wctablet.c | 18 +++--- 3 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 backends/trace-events diff --git a/Makefile.objs b/Makefile.objs index 51c36a4

[Qemu-devel] [PATCH 04/17] wctablet: drop wctablet_commands_names

2017-01-06 Thread Gerd Hoffmann
It is unused, except in a commented debug printf which is dropped too. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 25 - 1 file changed, 25 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index 787da49..00498e1 100644 --- a/backends/wctable

[Qemu-devel] [PATCH 10/17] wctablet: move init/detect sequence

2017-01-06 Thread Gerd Hoffmann
Move init/detect detection, handle it as special case. It is the only sequence which doesn't end with a newline. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index

[Qemu-devel] [PATCH 16/17] wctablet: update file comment

2017-01-06 Thread Gerd Hoffmann
Be more specific which tablet we emulate. Add spec link. Fix copyright. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index 7263671..97f1996 100644 --- a/backends/wctable

[Qemu-devel] [PATCH 12/17] wctablet: drop timer, hook into chr->accept_input instead

2017-01-06 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index f21b1f4..28daf26 100644 --- a/backends/wctablet.c +++ b/backends/wctablet.c @@ -76,10 +76,7 @@ int C

[Qemu-devel] [PATCH 09/17] wctablet: add wctablet_shift_input

2017-01-06 Thread Gerd Hoffmann
Helper function to drop leading chars from the input buffer. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index d0ee0e4..2b14241 100644 --- a/backends/wctablet.c +++ b

[Qemu-devel] [PATCH 14/17] wctablet: misc cleanups

2017-01-06 Thread Gerd Hoffmann
Some codestyle fixes, place comments first, turn lengts into #defines, delete unused stuff. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 34 -- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c inde

Re: [Qemu-devel] [PATCH 4/8] io: add ability to associate an opaque "result" with with a task

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 02:32:46PM -0600, Eric Blake wrote: > On 01/05/2017 10:03 AM, Daniel P. Berrange wrote: > > Currently there is no data associated with a successful > > task completion. This adds an opaque pointer to the task > > to store an arbitrary result. > > > > Signed-off-by: Daniel P

[Qemu-devel] [PATCH 11/17] wctablet: revamp command parser.

2017-01-06 Thread Gerd Hoffmann
Split incoming data into lines. Then use simple string compare to match commands. Drop command table and special compare functions. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 113 +++- 1 file changed, 33 insertions(+), 80 deletions(-)

[Qemu-devel] [PATCH 15/17] wctablet: switch to new input interface

2017-01-06 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 65 +++-- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/backends/wctablet.c b/backends/wctablet.c index 29b75b4..7263671 100644 --- a/backends/wctablet.c +++ b/backends/wctable

Re: [Qemu-devel] [PATCH 5/8] io: add ability to associate an error with a task

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 03:03:08PM -0600, Eric Blake wrote: > On 01/05/2017 10:03 AM, Daniel P. Berrange wrote: > > Currently when a task fails, the error is never explicitly > > associated with the task object, it is just passed along > > through the completion callback. This adds ability to > >

[Qemu-devel] [PATCH 06/17] wctablet: track line speed, reset on speed changes

2017-01-06 Thread Gerd Hoffmann
Hook up ioctl callback to get notified when the guest reconfigures the serial port. Keep track of the line speed, also reset the device (just flush buffers) on line speed changes. Signed-off-by: Gerd Hoffmann --- backends/wctablet.c | 28 1 file changed, 28 insertio

[Qemu-devel] [PATCH 17/17] wctablet: implement ST and SP commands

2017-01-06 Thread Gerd Hoffmann
ST == start sending events Sp == stop sending events Signed-off-by: Gerd Hoffmann --- backends/trace-events | 2 ++ backends/wctablet.c | 20 +++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/backends/trace-events b/backends/trace-events index f8a2e2b..8c3289

Re: [Qemu-devel] [PATCH 00/17] add serial wacom tablet emulation (gsoc 2016)

2017-01-06 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH 00/17] add serial wacom tablet emulation (gsoc 2016) Type: series Message-id: 1483692945-9866-1-git-send-email-kra...@redhat.com === TEST SCRIPT BEGIN === #!/bin/bash B

Re: [Qemu-devel] [PATCH 0/6] CAN bus support for QEMU (SJA1000 PCI so far)

2017-01-06 Thread Pavel Pisa
Hello all, On Friday 06 of January 2017 00:22:28 no-re...@patchew.org wrote: > Hi, > > Your series seems to have some coding style problems. See output below for > more information: > > Message-id: cover.1483655893.git.p...@cmp.felk.cvut.cz > Subject: [Qemu-devel] [PATCH 0/6] CAN bus support for Q

Re: [Qemu-devel] [PATCH] [m25p80] Abort in case we overrun the internal data buffer

2017-01-06 Thread Peter Maydell
On 5 January 2017 at 21:39, Jean-Christophe DUBOIS wrote: > So I think this behavior could be triggered either by buggy SPI controller > emulator or by buggy guest software. And it seems hard to determine where > the fault comes from from within Qemu. Obviously if the fault is in a Qemu > emulator

Re: [Qemu-devel] qemu-softmmu aborted with "Bad ram pointer"

2017-01-06 Thread Peter Maydell
On 5 January 2017 at 22:52, Max Filippov wrote: > Hello, > > debugging XIP kernel running directly from CFI FLASH I've got to a point > where QEMU aborts with the message "Bad ram pointer 0xbb4". > > It turns out that that happens when QEMU tries to translate code from FLASH > immediately after th

Re: [Qemu-devel] TSC frequency configuration & invtsc migration (was Re: [PATCH 4/4] kvm: Allow migration with invtsc)

2017-01-06 Thread Marcelo Tosatti
On Thu, Jan 05, 2017 at 10:19:50AM -0200, Eduardo Habkost wrote: > On Thu, Jan 05, 2017 at 08:48:32AM -0200, Marcelo Tosatti wrote: > > On Wed, Jan 04, 2017 at 11:36:31PM -0200, Eduardo Habkost wrote: > > > On Wed, Jan 04, 2017 at 08:26:27PM -0200, Marcelo Tosatti wrote: > > > > On Wed, Jan 04, 201

Re: [Qemu-devel] [PATCH RESEND 2/6] crypto: add AEAD algorithms framework

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 08:49:37AM +0800, Longpeng(Mike) wrote: > This patch introduce AEAD algorithms framework. So AEAD is essentially just encryption with extra metadata on input and output stages. As such I don't think this should be implemented via new objects in QEMU. Instead, we should add

Re: [Qemu-devel] [PATCH RESEND 6/6] crypto: add AEAD algorithms testcases

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 08:49:41AM +0800, Longpeng(Mike) wrote: > This patch add some AEAD algorithms testcases > > Signed-off-by: Longpeng(Mike) > --- > tests/Makefile.include | 2 + > tests/test-crypto-aead.c | 357 > +++ > 2 files changed, 359

Re: [Qemu-devel] [PATCH v3 1/3] arm_generic_timer: Add the ARM Generic Timer

2017-01-06 Thread Peter Maydell
On 20 December 2016 at 22:42, Alistair Francis wrote: > Add the ARM generic timer. This allows the guest to poll the timer for > values and also supports secure writes only. > > Signed-off-by: Alistair Francis > --- > V3: > - Use ARM ARM names > - Indicate that we don't support all of the regis

Re: [Qemu-devel] Proposal PCI/PCIe device placement on PAPR guests

2017-01-06 Thread Greg Kurz
Resending because of bad qemu-devel address... On Thu, 5 Jan 2017 16:46:18 +1100 David Gibson wrote: > There was a discussion back in November on the qemu list which spilled > onto the libvirt list about how to add support for PCIe devices to > POWER VMs, specifically 'pseries' machine type PAPR

Re: [Qemu-devel] [PATCH v3 2/3] arm_generic_timer: Add support for the ReadBase memory map

2017-01-06 Thread Peter Maydell
On 20 December 2016 at 22:42, Alistair Francis wrote: > Add support for the read only regions in the ReadBase memory map. > > Signed-off-by: Alistair Francis > --- > > hw/timer/arm_generic_timer.c | 27 +++ > include/hw/timer/arm_generic_timer.h | 12

Re: [Qemu-devel] [PATCH v3 3/3] xlnx-zynqmp: Connect the ARM Generic Timer

2017-01-06 Thread Peter Maydell
On 20 December 2016 at 22:42, Alistair Francis wrote: > Signed-off-by: Alistair Francis > --- > > hw/arm/xlnx-zynqmp.c | 14 ++ > include/hw/arm/xlnx-zynqmp.h | 2 ++ > 2 files changed, 16 insertions(+) > > diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c > index 0d8

Re: [Qemu-devel] [PATCH 6/8] io: change the QIOTask callback signature

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 03:47:57PM -0600, Eric Blake wrote: > On 01/05/2017 10:03 AM, Daniel P. Berrange wrote: > > Currently the QIOTaskFunc signature takes an Object * for > > the source, and an Error * for any error. We also need to > > be able to provide a result pointer. Rather than continue >

Re: [Qemu-devel] [PATCH v3 0/3] Add the generic ARM timer

2017-01-06 Thread Peter Maydell
On 20 December 2016 at 22:41, Alistair Francis wrote: > These three patches and and connect the Generic ARM Timer. This includes > support for dropping insecure writes and includes the ReadBase memory > map. Now reviewed. The really sticky bit I suspect is going to be how we model the required co

Re: [Qemu-devel] [PULL 0/4] migration: QTAILQ migration

2017-01-06 Thread Peter Maydell
On 5 January 2017 at 16:32, Amit Shah wrote: > The following changes since commit dbe2b65566e76d3c3a0c3358285c0336ac61e757: > > Merge remote-tracking branch > 'remotes/vivier/tags/m68k-for-2.9-pull-request' into staging (2016-12-28 > 17:11:11 +) > > are available in the git repository at:

Re: [Qemu-devel] [Qemu-arm] [PATCH] target-arm: Implement new HLT trap for semihosting

2017-01-06 Thread Peter Maydell
On 18 October 2016 at 13:16, Peter Maydell wrote: > Version 2.0 of the semihosting specification introduces new trap > instructions for AArch32: HLT 0xF000 for A32 and HLT 0x3C for T32. > Implement these (in the same way we implement the existing HLT > semihosting trap for A64). > > The old traps

Re: [Qemu-devel] [PATCH 8/8] io: introduce a DNS resolver API

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 04:51:53PM -0600, Eric Blake wrote: > On 01/05/2017 10:03 AM, Daniel P. Berrange wrote: > > + * > > + * Resolving addresses synchronously > > + * > > + *int mylisten(SocketAddress *addr, Error **errp) { > > + * QIODNSResolver *resolver = qio_dns_resolver_get_i

Re: [Qemu-devel] [PATCH v3] [i.MX] fix CS handling during SPI access.

2017-01-06 Thread mar.krzeminski
W dniu 04.01.2017 o 22:54, Jean-Christophe DUBOIS pisze: Le 04/01/2017 à 21:56, mar.krzeminski a écrit : W dniu 03.01.2017 o 21:35, Jean-Christophe Dubois pisze: The i.MX SPI device was not de-asserting the CS line at the end of memory access. This triggered a SIGSEGV in Qemu when the sabr

Re: [Qemu-devel] [PATCH 1/2] configure: add libsystemd check

2017-01-06 Thread Stefan Hajnoczi
On Thu, Jan 05, 2017 at 05:45:50PM +, Daniel P. Berrange wrote: > On Thu, Jan 05, 2017 at 05:31:06PM +, Stefan Hajnoczi wrote: > > libsystemd provides APIs for daemons that wish to integrate socket > > activation and other systemd-related functionality. This will be used > > as an optional

Re: [Qemu-devel] [PATCH 01/17] Add wctablet device

2017-01-06 Thread Eric Blake
On 01/06/2017 02:55 AM, Gerd Hoffmann wrote: > From: Anatoli Huseu1 > > [ kraxel: adapt to chardev changes ] More chardev changes are in the pipeline, thanks to: https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg00606.html Will be some interesting merge conflicts to resolve between these

Re: [Qemu-devel] [PATCH 08/17] wctablet: drop debug code from wctablet_handler

2017-01-06 Thread Eric Blake
On 01/06/2017 02:55 AM, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > backends/wctablet.c | 6 -- > 1 file changed, 6 deletions(-) Why not just squash this into 1/17? > > diff --git a/backends/wctablet.c b/backends/wctablet.c > index 84fb485..d0ee0e4 100644 > --- a/backends/w

Re: [Qemu-devel] [PATCH 14/17] wctablet: misc cleanups

2017-01-06 Thread Eric Blake
On 01/06/2017 02:55 AM, Gerd Hoffmann wrote: > Some codestyle fixes, place comments first, > turn lengts into #defines, delete unused stuff. s/lengts/lengths/ > > Signed-off-by: Gerd Hoffmann > --- > backends/wctablet.c | 34 -- > 1 file changed, 16 insertions(+

Re: [Qemu-devel] [PATCH v3 1/2] migration: allow to prioritize save state entries

2017-01-06 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > During migration, save state entries are saved/loaded without a specific > order - we just traverse the savevm_state.handlers list and do it one by > one. This might not be enough. > > There are requirements that we need to load specific device's vmstate > f

Re: [Qemu-devel] [PATCH 16/17] wctablet: update file comment

2017-01-06 Thread Eric Blake
On 01/06/2017 02:55 AM, Gerd Hoffmann wrote: > Be more specific which tablet we emulate. > Add spec link. Fix copyright. > > Signed-off-by: Gerd Hoffmann > --- > backends/wctablet.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/backends/wctablet.c b/backends/

Re: [Qemu-devel] [PATCH 13/17] wctablet: drop DPRINTF, add trace events instead

2017-01-06 Thread Eric Blake
On 01/06/2017 02:55 AM, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > Makefile.objs | 1 + > backends/trace-events | 8 > backends/wctablet.c | 18 +++--- > 3 files changed, 16 insertions(+), 11 deletions(-) > create mode 100644 backends/trace-event

[Qemu-devel] [PATCH] m68k: QOMify the MCF Fast Ethernet Controller device

2017-01-06 Thread Thomas Huth
When running qemu-system-m68k with the "-net" parameter (for example simply "-net nic -net user"), there is currently a confusing warning message saying: Warning: requested NIC (anonymous, model mcf_fec) was not created (not supported by this machine?) This seems to happen because the MCF NIC h

Re: [Qemu-devel] [PATCH v3 0/2] VT-d migration support

2017-01-06 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > This series enables VT-d IOMMU migration. > > v3: > - save/load for csr [Jason] > > v2: > - remove SaveStateEntry.priority, let priority store only in one > place, which is VMStateDescription. Meanwhile, provide another > helper to fetch the priority. >

Re: [Qemu-devel] [PATCH 1/8] ui: fix regression handling bare 'websocket' option to -vnc

2017-01-06 Thread Eric Blake
On 01/05/2017 10:06 AM, Daniel P. Berrange wrote: > The -vnc argument is documented as accepting two syntaxes for > the 'websocket' option, either a bare option name, or a port > number. If using the bare option name, it is supposed to apply > the display number as an offset to base port 5700. e.g.

[Qemu-devel] [Bug 1654137] Re: Ctrl-A b not working in 2.8.0

2017-01-06 Thread Andreas Gustafsson
I am also seeing this problem. In case it was not clear from Paul's original report, it affects guests using a serial console. Also, it is not specific to NetBSD. I can reproduce it using a Linux guest on a Linux host, by running the following on a Debian 8 system: wget http://landley.net/ab

Re: [Qemu-devel] [PATCH] ui/cocoa.m: add toast file support

2017-01-06 Thread Peter Maydell
On 30 December 2016 at 20:42, Programmingkid wrote: > Add the ability for the user to use .toast files with QEMU. This format works > just like ISO files. > > Signed-off-by: John Arbuckle > --- > ui/cocoa.m | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ui/cocoa.m b/ui/

Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: fix sending mouse event to guest

2017-01-06 Thread Peter Maydell
On 1 January 2017 at 21:31, Programmingkid wrote: > The mouse down event should not be sent to the guest if the mouse down event > causes QEMU to move the foreground from the background. This patch prevents > these activation clicks from going to the guest. > > Signed-off-by: John Arbuckle > ---

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 1/2] run_tests: put logs into per-test file

2017-01-06 Thread Andrew Jones
On Fri, Jan 06, 2017 at 11:33:00AM +0800, Peter Xu wrote: > We were using test.log before to keep all the test logs. This patch > creates one log file per test case under logs/ directory with name > "TESTNAME.log". > > A new file global.bash is added to store global informations. > > Signed-off-b

Re: [Qemu-devel] [PATCH v5 3/4] Plumb the HAXM-based hardware acceleration support

2017-01-06 Thread Vincent Palatin
On Thu, Jan 5, 2017 at 10:38 PM, Paolo Bonzini wrote: > > > On 05/01/2017 15:01, Paolo Bonzini wrote: >> >> >> On 05/01/2017 14:50, Vincent Palatin wrote: >>> Sorry I missed it. >>> I move it to qemu_cpu_kick() as asked in the Darwin patch. >>> Apart from the above change, can you check if th

[Qemu-devel] [Bug 1399943] Re: qemu-system-sparc loses serial console data on EAGAIN

2017-01-06 Thread Mark Cave-Ayland
Fix confirmed in QEMU 2.8 release. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1399943 Title: qemu-system-sparc loses serial console data o

Re: [Qemu-devel] [RESEND PATCH] target-arm/abi32: check for segfault in do_kernel_trap

2017-01-06 Thread Seraphime Kirkovski
,qemu-arm Bcc: Subject: Re: [Qemu-devel] [RESEND PATCH] target-arm/abi32: check for segfault in do_kernel_trap Reply-To: In-Reply-To: Hi Peter, thanks for the feedback. On Thu, Jan 05, 2017 at 02:42:38PM +, Peter Maydell wrote: > If you compare what happens with this segv code with > what

Re: [Qemu-devel] [kvm-unit-tests PATCH v3 2/2] run_tests: allow run tests in parallel

2017-01-06 Thread Andrew Jones
On Fri, Jan 06, 2017 at 11:33:01AM +0800, Peter Xu wrote: > run_task.sh is getting slow. This patch is trying to make it faster by > running the tests concurrently. > > We provide a new parameter "-j" for the run_tests.sh, which can be used > to specify how many run queues we want for the tests. D

Re: [Qemu-devel] [PATCH 2/8] ui: fix reporting of VNC auth in query-vnc-servers

2017-01-06 Thread Eric Blake
On 01/05/2017 10:06 AM, Daniel P. Berrange wrote: > Currently the VNC authentication info is emitted at the > top level of the query-vnc-servers data. This is wrong > because the authentication scheme differs between plain > and websockets when TLS is enabled. We should instead > report auth agains

Re: [Qemu-devel] [PULL 0/3] Net patches

2017-01-06 Thread Peter Maydell
On 6 January 2017 at 03:32, Jason Wang wrote: > The following changes since commit e92fbc753df4fab9ee524b5ea07a51bee8b6bae4: > > Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' > into staging (2017-01-05 12:44:23 +) > > are available in the git repository at: > > h

Re: [Qemu-devel] [PATCH v2] [i.MX] Remove MSGDATA register support.

2017-01-06 Thread Peter Maydell
On 2 January 2017 at 21:11, Jean-Christophe Dubois wrote: > From the documentation it is not clear what this SPI register is about. > > Moreover, neither linux driver nor xvisor driver are using this SPI register. > > For now we just remove it and issue a log on register write access. > > Signed-o

Re: [Qemu-devel] Proposal for 2.9 release schedule

2017-01-06 Thread Peter Maydell
On 4 January 2017 at 14:51, Stefan Hajnoczi wrote: > On Tue, Jan 03, 2017 at 05:06:13PM +0100, Paolo Bonzini wrote: >> On 03/01/2017 16:53, Stefan Hajnoczi wrote: >> > On Fri, Dec 23, 2016 at 03:15:58PM +0100, Paolo Bonzini wrote: >> >> Considering that Easter is on April 16th, we'd probably want

Re: [Qemu-devel] [RESEND PATCH] target-arm/abi32: check for segfault in do_kernel_trap

2017-01-06 Thread Peter Maydell
On 6 January 2017 at 14:35, Seraphime Kirkovski wrote: > In terms of implementation, I find it would be better to extract the > __kernel_cmpxchg code in a separate function. On the one hand, this > would avoid code duplication or strange gotos and make do_kernel_trap > more readable. On the other

Re: [Qemu-devel] [PATCH 3/8] ui: refactor VncDisplay to allow multiple listening sockets

2017-01-06 Thread Eric Blake
On 01/05/2017 10:06 AM, Daniel P. Berrange wrote: > Currently there is only a single listener for plain VNC and > a single listener for websockets VNC. This means that is s/is/if/ > getaddrinfo() returns multiple IP addresses, for a hostname, > the VNC server can only listen on one of them. This

Re: [Qemu-devel] qemu-softmmu aborted with "Bad ram pointer"

2017-01-06 Thread Max Filippov
On Fri, Jan 6, 2017 at 2:23 AM, Peter Maydell wrote: > On 5 January 2017 at 22:52, Max Filippov wrote: >> Hello, >> >> debugging XIP kernel running directly from CFI FLASH I've got to a point >> where QEMU aborts with the message "Bad ram pointer 0xbb4". >> >> It turns out that that happens when

[Qemu-devel] [PATCH v2] qga: add systemd socket activation support

2017-01-06 Thread Stefan Hajnoczi
AF_UNIX and AF_VSOCK listen sockets can be passed in by systemd on startup. This allows systemd to manage the listen socket until the first client connects and between restarts. Advantages of socket activation are that parallel startup of network services becomes possible and that unused daemons

Re: [Qemu-devel] [PATCH v2] qga: add systemd socket activation support

2017-01-06 Thread Daniel P. Berrange
On Fri, Jan 06, 2017 at 03:29:30PM +, Stefan Hajnoczi wrote: > AF_UNIX and AF_VSOCK listen sockets can be passed in by systemd on > startup. This allows systemd to manage the listen socket until the > first client connects and between restarts. Advantages of socket > activation are that paral

Re: [Qemu-devel] [PATCH 3/8] ui: refactor VncDisplay to allow multiple listening sockets

2017-01-06 Thread Daniel P. Berrange
On Fri, Jan 06, 2017 at 09:23:24AM -0600, Eric Blake wrote: > On 01/05/2017 10:06 AM, Daniel P. Berrange wrote: > > Currently there is only a single listener for plain VNC and > > a single listener for websockets VNC. This means that is > > s/is/if/ > > > getaddrinfo() returns multiple IP address

Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: fix sending mouse event to guest

2017-01-06 Thread Programmingkid
On Jan 6, 2017, at 8:48 AM, Peter Maydell wrote: > On 1 January 2017 at 21:31, Programmingkid wrote: >> The mouse down event should not be sent to the guest if the mouse down event >> causes QEMU to move the foreground from the background. This patch prevents >> these activation clicks from goin

Re: [Qemu-devel] [PATCH 4/8] ui: refactor code for populating SocketAddress from vnc_display_open

2017-01-06 Thread Eric Blake
On 01/05/2017 10:06 AM, Daniel P. Berrange wrote: > The code which interprets the CLI args to populate the SocketAddress > objects for plain & websockets VNC is quite complex already and will > need further enhancements shortly. Refactor it into separate methods > to avoid vnc_display_open getting

[Qemu-devel] [PATCH v2 01/47] trace: introduce some Makefile rules for module code gen

2017-01-06 Thread Daniel P. Berrange
Introduce rules that are able to generate trace.[ch] files in every subdirectory which has a trace-events file. Signed-off-by: Daniel P. Berrange --- .gitignore | 6 +++ Makefile | 65 +++- Makefile.objs

[Qemu-devel] [PATCH v2 02/47] trace: switch io/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the io/ directory to include the io/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- io/Makefile.objs | 2 ++ io/channel-buffer.c | 2 +- io/channel-command.c | 2 +- io/channel-file.c| 2 +- io/channel-s

[Qemu-devel] [PATCH v2 06/47] trace: switch block/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the block/ directory to include the block/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- block.c | 2 +- block/Makefile.objs | 2 ++ block/backup.c| 2 +- block/block-backend.c | 2 +- b

[Qemu-devel] [PATCH v2 16/47] trace: switch hw/nvram/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/nvram/ directory to include the hw/nvram/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/nvram/Makefile.objs | 2 ++ hw/nvram/ds1225y.c | 2 +- hw/nvram/fw_cfg.c | 2 +- 4 files changed, 5 in

[Qemu-devel] [PATCH v2 00/47] Switch all subdirs over to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
This is the final part of my trace events refactoring. Previously we merged code that split trace-events up into one file per sub-directory. We also merged code to the code-generator that enables us to generate and use multiple independant sets of trace events. This is the final glue that makes u

[Qemu-devel] [PATCH v2 04/47] trace: switch crypto/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the crypto/ directory to include the crypto/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- crypto/Makefile.objs | 2 ++ crypto/secret.c | 2 +- crypto/tlscreds.c | 2 +- crypto/tlscredsanon.c | 2 +-

[Qemu-devel] [PATCH v2 14/47] trace: switch hw/usb/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/usb/ directory to include the hw/usb/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- hw/usb/Makefile.objs | 3 +++ hw/usb/bus.c | 2 +- hw/usb/combined-packet.c | 2 +- hw/usb/core.c

[Qemu-devel] [PATCH v2 07/47] trace: switch hw/block/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/block/ directory to include the hw/block/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/block/Makefile.objs | 2 ++ hw/block/dataplane/virtio-blk.c | 2 +- hw/block/hd-geometry.c

[Qemu-devel] [PATCH v2 23/47] trace: switch hw/isa/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/isa/ directory to include the hw/isa/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- hw/isa/Makefile.objs | 2 ++ hw/isa/pc87312.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a

[Qemu-devel] [PATCH v2 03/47] trace: switch util/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the util/ directory to include the util/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- util/Makefile.objs | 2 ++ util/buffer.c | 2 +- util/hbitmap.c | 2 +- util/oslib-po

[Qemu-devel] [PATCH v2 21/47] trace: switch hw/sparc/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/sparc/ directory to include the hw/sparc/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/sparc/Makefile.objs | 2 ++ hw/sparc/leon3.c | 2 +- hw/sparc/sun4m.c | 2 +- 4 files changed, 5 in

[Qemu-devel] [PATCH v2 08/47] trace: switch hw/char/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/char/ directory to include the hw/char/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/char/Makefile.objs | 2 ++ hw/char/escc.c | 2 +- hw/char/grlib_apbuart.c | 2 +- hw/

[Qemu-devel] [PATCH v2 27/47] trace: switch hw/ppc/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/ppc/ directory to include the hw/ppc/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/ppc/Makefile.objs| 3 +++ hw/ppc/ppc.c| 2 +- hw/ppc/prep.c | 2 +- hw/ppc/spapr.c

[Qemu-devel] [PATCH v2 20/47] trace: switch hw/dma/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/dma/ directory to include the hw/dma/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- hw/dma/Makefile.objs | 2 ++ hw/dma/i8257.c | 2 +- hw/dma/rc4030.c | 2 +- hw/dma/sparc32_dma.c | 2 +- hw/d

[Qemu-devel] [PATCH v2 25/47] trace: switch hw/i386/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/i386/ directory to include the hw/i386/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/i386/Makefile.objs | 2 ++ hw/i386/x86-iommu.c| 2 +- hw/i386/xen/xen_platform.c | 1 + hw/i386/

[Qemu-devel] [PATCH v2 05/47] trace: switch migration/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the migration/ directory to include the migration/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- migration/Makefile.objs | 2 ++ migration/exec.c | 2 +- migration/fd.c | 2 +- migration/m

[Qemu-devel] [PATCH v2 29/47] trace: switch hw/s390x/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/s390x/ directory to include the hw/s390x/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/s390x/Makefile.objs | 3 +++ hw/s390x/css.c | 2 +- hw/s390x/virtio-ccw.c | 2 +- 4 files changed, 6 i

[Qemu-devel] [PATCH v2 13/47] trace: switch hw/misc/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/misc/ directory to include the hw/misc/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/misc/Makefile.objs | 3 +++ hw/misc/aspeed_scu.c | 2 +- hw/misc/eccmemctl.c | 2 +- hw/misc/mi

[Qemu-devel] [PATCH v2 10/47] trace: switch hw/net/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/net/ directory to include the hw/net/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/net/Makefile.objs| 3 +++ hw/net/e1000e.c | 2 +- hw/net/e1000e_core.c| 2 +- hw/n

[Qemu-devel] [PATCH v2 30/47] trace: switch hw/vfio/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/vfio/ directory to include the hw/vfio/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/vfio/Makefile.objs | 2 ++ hw/vfio/common.c | 2 +- hw/vfio/pci-quirks.c | 2 +- hw/vfio/pci.c | 2 +

[Qemu-devel] [PATCH v2 32/47] trace: switch hw/arm/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/arm/ directory to include the hw/arm/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- hw/arm/Makefile.objs | 2 ++ hw/arm/virt-acpi-build.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH v2 17/47] trace: switch hw/display/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/display/ directory to include the hw/display/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs| 2 +- hw/display/Makefile.objs | 3 +++ hw/display/g364fb.c | 2 +- hw/display/jazz_led.c

[Qemu-devel] [PATCH v2 09/47] trace: switch hw/intc/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/intc/ directory to include the hw/intc/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/intc/Makefile.objs | 2 ++ hw/intc/apic.c | 2 +- hw/intc/apic_common.c | 2 +- hw/intc

[Qemu-devel] [PATCH v2 26/47] trace: switch hw/9pfs/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/9pfs/ directory to include the hw/9pfs/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/9pfs/9p.c | 2 +- hw/9pfs/Makefile.objs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --

[Qemu-devel] [PATCH v2 38/47] trace: switch target/i386/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the target/i386/ directory to include the target/i386/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- target/i386/Makefile.objs | 2 ++ target/i386/kvm.c | 2 +- 3 files changed, 4 insertions(+), 2 d

[Qemu-devel] [PATCH v2 11/47] trace: switch hw/virtio/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the hw/virtio/ directory to include the hw/virtio/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/virtio/Makefile.objs| 2 ++ hw/virtio/virtio-balloon.c | 2 +- hw/virtio/virtio-rng.c | 2 +- hw/

[Qemu-devel] [PATCH v2 34/47] trace: switch ui/ directory to modular trace.h file

2017-01-06 Thread Daniel P. Berrange
Switch files in the ui/ directory to include the ui/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- ui/Makefile.objs | 3 +++ ui/console.c | 2 +- ui/gtk-egl.c | 2 +- ui/gtk-gl-area.c | 2 +- ui/gtk.c |

  1   2   3   >