[Qemu-devel] [PATCH 2/2] target/mips: Optimize ILVEV. MSA instructions

2019-03-15 Thread Mateja Marjanovic
From: Mateja Marjanovic Optimize set of MSA instructions ILVEV, using directly tcg registers and performing logic on them insted of using helpers. Performance measurement is done by executing the instructions large number of times on a computer with Intel Core i7-3770 CPU @ 3.40GHz×8.

[Qemu-devel] [PATCH 1/2] target/mips: Optimize ILVOD. MSA instructions

2019-03-15 Thread Mateja Marjanovic
From: Mateja Marjanovic Optimize set of MSA instructions ILVOD, using directly tcg registers and performing logic on them insted of using helpers. Performance measurement is done by executing the instructions large number of times on a computer with Intel Core i7-3770 CPU @ 3.40GHz×8.

[Qemu-devel] [PATCH v5 3/5] RISC-V: Fixes to CSR_* register macros.

2019-03-15 Thread Chih-Min Chao
From: Jim Wilson This adds some missing CSR_* register macros, and documents some as being priv v1.9.1 specific. Signed-off-by: Jim Wilson Reviewed-by: Alistair Francis Message-Id: <20190212230830.9160-1-j...@sifive.com> --- target/riscv/cpu_bits.h | 35 +-- 1

Re: [Qemu-devel] [PATCH] scripts/make-release: Stop shipping u-boot source as a tarball

2019-03-15 Thread Philippe Mathieu-Daudé
On 3/15/19 10:46 AM, Peter Maydell wrote: > On Thu, 14 Mar 2019 at 21:31, Philippe Mathieu-Daudé > wrote: >> >> Hi Peter, >> >> On 3/14/19 4:56 PM, Peter Maydell wrote: >>> In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot >>> sources as a tarball, to work around a problem where

Re: [Qemu-devel] [PULL 17/29] target/riscv: Convert quadrant 1 of RVXC insns to decodetree

2019-03-15 Thread Palmer Dabbelt
On Fri, 15 Mar 2019 02:06:07 PDT (-0700), Bastian Koppelmann wrote: Hi Alistair On 3/14/19 9:28 PM, Alistair Francis wrote: On Wed, Mar 13, 2019 at 7:53 AM Palmer Dabbelt wrote: From: Bastian Koppelmann Reviewed-by: Richard Henderson Signed-off-by: Bastian Koppelmann Signed-off-by: Peer

Re: [Qemu-devel] [PATCH] xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored

2019-03-15 Thread Roger Pau Monné
On Fri, Mar 15, 2019 at 10:54:42AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Roger Pau Monne [mailto:roger@citrix.com] > > Sent: 15 March 2019 08:59 > > To: qemu-devel@nongnu.org > > Cc: Roger Pau Monne ; Stefano Stabellini > > ; Anthony > > Perard ; Paul Durrant ;

Re: [Qemu-devel] [PATCH] xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored

2019-03-15 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 15 March 2019 10:10 > To: Paul Durrant > Cc: qemu-devel@nongnu.org; Stefano Stabellini ; > Anthony Perard > ; Igor Druzhinin ; > Paolo Bonzini > ; Richard Henderson ; Eduardo Habkost > ; > Michael S. Tsirkin ; Marcel Apfelbaum > ;

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Alex Bennée
Daniel P. Berrangé writes: > On Fri, Mar 15, 2019 at 09:34:27AM +, Alex Bennée wrote: >> >> Daniel P. Berrangé writes: >> >> > On Thu, Mar 14, 2019 at 03:57:06PM +, Alex Bennée wrote: >> >> Docker Images >> >> = >> >> >> >> The addition of docker has unlocked the ability

Re: [Qemu-devel] [PATCH] curses ui: always initialize all curses_line fields

2019-03-15 Thread Peter Maydell
On Fri, 15 Mar 2019 at 08:37, Samuel Thibault wrote: > > cchar_t can contain not only attr and chars fields, but also ext_color. > Initialize the whole structure to zero instead of enumerating fields. > > Spotted by Coverity: CID 1399711 > > Signed-off-by: Samuel Thibault > --- > ui/curses.c |

[Qemu-devel] [PATCH v6 1/2] hw/arm: Add arm SBSA reference machine, skeleton part

2019-03-15 Thread Hongbo Zhang
For the Aarch64, there is one machine 'virt', it is primarily meant to run on KVM and execute virtualization workloads, but we need an environment as faithful as possible to physical hardware, for supporting firmware and OS development for pysical Aarch64 machines. This patch introduces new

[Qemu-devel] [PATCH v6 2/2] hw/arm: Add arm SBSA reference machine, devices part

2019-03-15 Thread Hongbo Zhang
Following the previous patch, this patch adds peripheral devices to the newly introduced SBSA-ref machine. Signed-off-by: Hongbo Zhang --- hw/arm/sbsa-ref.c | 451 ++ 1 file changed, 451 insertions(+) diff --git a/hw/arm/sbsa-ref.c

[Qemu-devel] [PATCH v6 0/2] Add Arm SBSA Reference Machine

2019-03-15 Thread Hongbo Zhang
For the Aarch64, there is one machine 'virt', it is primarily meant to run on KVM and execute virtualization workloads, but we need an environment as faithful as possible to physical hardware, to support firmware and OS development for pysical Aarch64 machines. This machine comes with: -

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Daniel P . Berrangé
On Fri, Mar 15, 2019 at 09:34:27AM +, Alex Bennée wrote: > > Daniel P. Berrangé writes: > > > On Thu, Mar 14, 2019 at 03:57:06PM +, Alex Bennée wrote: > >> Docker Images > >> = > >> > >> The addition of docker has unlocked the ability to build a lot more > >> tests as well

Re: [Qemu-devel] [PATCH] xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored

2019-03-15 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 15 March 2019 08:59 > To: qemu-devel@nongnu.org > Cc: Roger Pau Monne ; Stefano Stabellini > ; Anthony > Perard ; Paul Durrant ; > Igor Druzhinin > ; Paolo Bonzini ; Richard > Henderson ; > Eduardo

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Alex Bennée
Fam Zheng writes: >> On Mar 15, 2019, at 16:57, Alex Bennée wrote: >> >> I had installed the gitlab-runner from the Debian repo but it was out >> of date and didn't seem to work correctly. > > If there can be a sidecar x86 box next to the test bot, it can be the > controller node which runs

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Daniel P . Berrangé
On Thu, Mar 14, 2019 at 06:22:44PM +, Peter Maydell wrote: > On Thu, 14 Mar 2019 at 15:57, Alex Bennée wrote: > > Testing in the Cloud > > > > > > After BuildBot went out-of-service we have been relying heavily on Travis > > as our primary CI platform. This has been

Re: [Qemu-devel] [PATCH] scripts/make-release: Stop shipping u-boot source as a tarball

2019-03-15 Thread Peter Maydell
On Thu, 14 Mar 2019 at 21:31, Philippe Mathieu-Daudé wrote: > > Hi Peter, > > On 3/14/19 4:56 PM, Peter Maydell wrote: > > In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot > > sources as a tarball, to work around a problem where they > > contained a file and directory that had the

Re: [Qemu-devel] [PATCH v7 6/7] vhost-user-blk: Add support to reconnect backend

2019-03-15 Thread Daniel P . Berrangé
On Thu, Mar 14, 2019 at 03:31:47PM +0300, Yury Kotov wrote: > Hi, > > 14.03.2019, 14:44, "Daniel P. Berrangé" : > > On Thu, Mar 14, 2019 at 07:34:03AM -0400, Michael S. Tsirkin wrote: > >>  On Thu, Mar 14, 2019 at 11:24:22AM +, Daniel P. Berrangé wrote: > >>  > On Tue, Mar 12, 2019 at

Re: [Qemu-devel] [PATCH 6/6] xen-pt: Round pci regions sizes to XEN_PAGE_SIZE

2019-03-15 Thread Paul Durrant
> -Original Message- > From: Jason Andryuk [mailto:jandr...@gmail.com] > Sent: 14 March 2019 18:16 > To: Paul Durrant > Cc: qemu-devel@nongnu.org; xen-de...@lists.xenproject.org; > marma...@invisiblethingslab.com; Simon > Gaiser ; Stefano Stabellini > ; Anthony Perard > > Subject: Re:

[Qemu-devel] [PATCH] ci: store Patchew configuration in the tree

2019-03-15 Thread Paolo Bonzini
Patchew cannot yet retrieve the configuration from the QEMU Git tree, but this is planned. In the meanwhile, let's start storing it as YAML so that the Patchew configuration (currently accessible only to administrators) is public and documented. Signed-off-by: Paolo Bonzini --- .patchew.yml |

[Qemu-devel] [PATCH 2/2] ui/cocoa: fix grabbing issue in fullscreen mode

2019-03-15 Thread Chen Zhang via Qemu-devel
Signed-off-by: Chen Zhang --- ui/cocoa.m | 35 +++ 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 5d0a6599d9..8e74f6e283 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -410,11 +410,31 @@ QemuCocoaView *cocoaView; {

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Fam Zheng
> On Mar 15, 2019, at 16:57, Alex Bennée wrote: > > I had installed the gitlab-runner from the Debian repo but it was out > of date and didn't seem to work correctly. If there can be a sidecar x86 box next to the test bot, it can be the controller node which runs gitlab-runner, the test

[Qemu-devel] [PATCH 1/2] Fix absolute input device grabbing issues on Mojave

2019-03-15 Thread Chen Zhang via Qemu-devel
Signed-off-by: Chen Zhang --- ui/cocoa.m | 29 + 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 420b2411c1..5d0a6599d9 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -405,6 +405,24 @@ QemuCocoaView *cocoaView; return

[Qemu-devel] [PATCH 0/2] ui/cocoa: Fix absolute input device grabbing issue on Mojave

2019-03-15 Thread Chen Zhang via Qemu-devel
On Mojave, absolute input device, i.e. tablet, had trouble re-grabbing the cursor in re-entry into the virtual screen area. In some cases, the `window` property of NSEvent object is nil, after exit of cursor, meaning that the `-locationInWindow` method would return value in screen coordinates.

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Alex Bennée
Daniel P. Berrangé writes: > On Thu, Mar 14, 2019 at 03:57:06PM +, Alex Bennée wrote: >> Docker Images >> = >> >> The addition of docker has unlocked the ability to build a lot more >> tests as well as compile testing on a much wider range of distros. I >> think there are two

Re: [Qemu-devel] [PULL 17/29] target/riscv: Convert quadrant 1 of RVXC insns to decodetree

2019-03-15 Thread Bastian Koppelmann
Hi Alistair On 3/14/19 9:28 PM, Alistair Francis wrote: On Wed, Mar 13, 2019 at 7:53 AM Palmer Dabbelt wrote: From: Bastian Koppelmann Reviewed-by: Richard Henderson Signed-off-by: Bastian Koppelmann Signed-off-by: Peer Adelt This commit is the first bad commit in breaking 32-bit boot.

Re: [Qemu-devel] [PATCH 6/6] xen-pt: Round pci regions sizes to XEN_PAGE_SIZE

2019-03-15 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper > Sent: 14 March 2019 19:37 > To: Simon Gaiser ; Jason Andryuk > ; Paul Durrant > > Cc: Anthony Perard ; > xen-de...@lists.xenproject.org; Stefano Stabellini > ; qemu-devel@nongnu.org; > marma...@invisiblethingslab.com > Subject: Re: [PATCH

Re: [Qemu-devel] [Qemu-arm] [PATCH] Check access permission to ADDVL/ADDPL/RDVL

2019-03-15 Thread Amir CHARIF
Thanks Eric, happy to join ^^ -Message d'origine- De : Eric Blake Envoyé : jeudi 14 mars 2019 18:44 À : Richard Henderson ; Peter Maydell ; Amir CHARIF Cc : qemu-arm ; QEMU Developers Objet : Re: [Qemu-devel] [Qemu-arm] [PATCH] Check access permission to ADDVL/ADDPL/RDVL On

[Qemu-devel] [PATCH] xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored

2019-03-15 Thread Roger Pau Monne
Or if it's not possible to honor the hinted address an error is returned instead. This makes it easier to spot the actual failure, instead of failing later on when the caller of xen_remap_bucket realizes the mapping has not been created at the requested address. Also note that at least on FreeBSD

Re: [Qemu-devel] [RFC] arm/cpu: fix soft lockup panic after resuming from stop

2019-03-15 Thread Christoffer Dall
Hi Steve, On Wed, Mar 13, 2019 at 10:11:30AM +, Steven Price wrote: > > Personally I think what we need is: > > * Either a patch like the one from Heyi Guo (save/restore CNTVCT_EL0) or > alternatively hooking up KVM_KVMCLOCK_CTRL to prevent the watchdog > firing when user space explicitly

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Alex Bennée
Peter Maydell writes: > On Thu, 14 Mar 2019 at 15:57, Alex Bennée wrote: >> Testing in the Cloud >> >> >> After BuildBot went out-of-service we have been relying heavily on Travis >> as our primary CI platform. This has been creaking somewhat under the >> strain and while

Re: [Qemu-devel] State of QEMU CI as we enter 4.0

2019-03-15 Thread Alex Bennée
Fam Zheng writes: >> On Mar 15, 2019, at 02:22, Peter Maydell wrote: >> >> On Thu, 14 Mar 2019 at 15:57, Alex Bennée wrote: >>> Testing in the Cloud >>> >>> >>> After BuildBot went out-of-service we have been relying heavily on Travis >>> as our primary CI platform. This

[Qemu-devel] [PATCH V4 3/3] audio/paaudio: fix microphone input being unusable

2019-03-15 Thread Martin Schrodt
The current code does not specify the metrics of the buffers for the input device. This makes PulseAudio choose very bad defaults, which causes input to be unusable: Audio put in gets out 30 seconds later. This patch fixes that and makes the latency configurable as well. Signed-off-by: Martin

[Qemu-devel] [PATCH V4 2/3] audio/paaudio: prolong and make latency configurable

2019-03-15 Thread Martin Schrodt
The latency of a connection to the PulseAudio server is determined by the tlength parameter. This was hardcoded to 10ms, which is a bit too tight on my machine, causing audio on host and guest to malfunction. A setting of 15ms works fine here. To allow tweaking, I also made the setting

[Qemu-devel] [PATCH V4 0/3] Fixes for PulseAudio driver

2019-03-15 Thread Martin Schrodt
Version 2 of the series added proper commit messages and fixed a typo. Version 3 fixes coding style problems Version 4 reintroduces the check, whether PA support adjusting latency, and sets the default buffer_length to the constant value that was present beforehand (works well, and testing

[Qemu-devel] [PATCH V4 1/3] audio/paaudio: fix ignored buffer_length setting

2019-03-15 Thread Martin Schrodt
Audiodev configuration allows to set the length of the buffered data. The setting was ignored and a constant value used instead. This patch makes the code apply the setting properly, and uses the previous default if nothing is supplied. Signed-off-by: Martin Schrodt --- audio/paaudio.c | 24

Re: [Qemu-devel] [PATCH v2 04/11] hw/arm/virt: Add virtual ACPI device

2019-03-15 Thread Igor Mammedov
On Thu, 14 Mar 2019 16:55:36 + Shameerali Kolothum Thodi wrote: > Hi Igor, > > > -Original Message- > > From: Igor Mammedov [mailto:imamm...@redhat.com] > > Sent: 12 March 2019 15:48 > > To: Shameerali Kolothum Thodi > > Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; > >

[Qemu-devel] [PATCH] curses ui: always initialize all curses_line fields

2019-03-15 Thread Samuel Thibault
cchar_t can contain not only attr and chars fields, but also ext_color. Initialize the whole structure to zero instead of enumerating fields. Spotted by Coverity: CID 1399711 Signed-off-by: Samuel Thibault --- ui/curses.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 2/3] make latency configurable

2019-03-15 Thread Martin Schrodt
Hi, On 3/15/19 8:53 AM, Gerd Hoffmann wrote: > Hi, > >> r = pa_stream_connect_playback (stream, dev, attr, >> PA_STREAM_INTERPOLATE_TIMING >> -#ifdef PA_STREAM_ADJUST_LATENCY >> |PA_STREAM_ADJUST_LATENCY

Re: [Qemu-devel] [PATCH 1/3] fix: buffer_length is ignored

2019-03-15 Thread Martin Schrodt
On 3/15/19 9:01 AM, Gerd Hoffmann wrote: > On Fri, Mar 15, 2019 at 08:49:06AM +0100, Martin Schrodt wrote: >> Hi, >> >> On 3/15/19 8:43 AM, Gerd Hoffmann wrote: >>> Hi, >>> -qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, 46440); +

Re: [Qemu-devel] [PATCH v3 12/12] docs/interop/firmware.json: Prefer -machine to if=pflash

2019-03-15 Thread Michal Privoznik
On 3/14/19 8:01 PM, Markus Armbruster wrote: Michal Privoznik writes: On 3/8/19 2:14 PM, Markus Armbruster wrote: The previous commit added a way to configure firmware with -blockdev rather than -drive if=pflash. Document it as the preferred way. Signed-off-by: Markus Armbruster ---

Re: [Qemu-devel] [PATCH 0/2] kconfig: add fine-grained dependencies for MSI

2019-03-15 Thread Andrea Bolognani
On Thu, 2019-03-14 at 15:30 +0100, Paolo Bonzini wrote: > RISC-V targets did not include PCIe ports before the Kconfig transition, > and grew them afterwards, but they are nonfunctional because the interrupt > controller does not support MSI. This patch restores the situation prior to > the

Re: [Qemu-devel] [PATCH v3 08/23] ui/vnc: Use gcrypto_random_bytes for start_auth_vnc

2019-03-15 Thread Gerd Hoffmann
On Thu, Mar 14, 2019 at 08:26:14PM -0700, Richard Henderson wrote: > Use a better interface for random numbers than rand(). > Fail gracefully if for some reason we cannot use the crypto system. > > Cc: Gerd Hoffmann > Signed-off-by: Richard Henderson > --- > v2: Use qcrypto_random_bytes, not

Re: [Qemu-devel] [PATCH v3 07/23] ui/vnc: Split out authentication_failure

2019-03-15 Thread Gerd Hoffmann
On Thu, Mar 14, 2019 at 08:26:13PM -0700, Richard Henderson wrote: > There were 3 copies of this code, one of which used the wrong > data size for the failure indicator. > > Cc: Gerd Hoffmann > Signed-off-by: Richard Henderson Reviewed-by: Gerd Hoffmann

Re: [Qemu-devel] [PATCH 1/3] fix: buffer_length is ignored

2019-03-15 Thread Martin Schrodt
Hi, On 3/15/19 8:43 AM, Gerd Hoffmann wrote: > Hi, > >> -qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, 46440); >> +qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, >> ppdo->buffer_length); > > I'd just use > > ppdo->has_buffer_length ? ppdo->buffer_length :

Re: [Qemu-devel] [PATCH 1/3] fix: buffer_length is ignored

2019-03-15 Thread Gerd Hoffmann
On Fri, Mar 15, 2019 at 08:49:06AM +0100, Martin Schrodt wrote: > Hi, > > On 3/15/19 8:43 AM, Gerd Hoffmann wrote: > > Hi, > > > >> -qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, 46440); > >> +qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, > >> ppdo->buffer_length);

Re: [Qemu-devel] [PATCH 2/3] make latency configurable

2019-03-15 Thread Gerd Hoffmann
Hi, > r = pa_stream_connect_playback (stream, dev, attr, > PA_STREAM_INTERPOLATE_TIMING > -#ifdef PA_STREAM_ADJUST_LATENCY > |PA_STREAM_ADJUST_LATENCY > -#endif Unrelated change, separate commit please.

[Qemu-devel] [Bug 1815889] Re: qemu-system-x86_64 crashed with signal 31 in __pthread_setaffinity_new()

2019-03-15 Thread Launchpad Bug Tracker
This bug was fixed in the package mesa - 19.0.0-1ubuntu1 --- mesa (19.0.0-1ubuntu1) disco; urgency=medium * Merge from Debian. (LP: #1818516) * revert-set-full-thread-affinity.diff: Fix qemu crash. (LP: #1815889) -- Timo Aaltonen Thu, 14 Mar 2019 18:48:18 +0200 ** Changed

Re: [Qemu-devel] [PATCH 1/3] fix: buffer_length is ignored

2019-03-15 Thread Gerd Hoffmann
Hi, > -qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, 46440); > +qapi_AudiodevPaPerDirectionOptions_base(ppdo), _as, > ppdo->buffer_length); I'd just use ppdo->has_buffer_length ? ppdo->buffer_length : dev->timer_period * 4 here. cheers, Gerd

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-15 Thread Gerd Hoffmann
On Thu, Mar 14, 2019 at 08:11:21PM +0100, BALATON Zoltan wrote: > On Thu, 14 Mar 2019, Gerd Hoffmann wrote: > > gets radeonfb going for me, on top of your i2c patches. > > --- > > hw/display/ati_int.h | 1 + > > hw/display/ati_regs.h | 1 + > > hw/display/ati.c | 35

Re: [Qemu-devel] [PATCH v13 19/25] replay: add BH oneshot event for block layer

2019-03-15 Thread Pavel Dovgalyuk
> From: Kevin Wolf [mailto:kw...@redhat.com] > Am 21.02.2019 um 12:05 hat Pavel Dovgalyuk geschrieben: > > Replay is capable of recording normal BH events, but sometimes > > there are single use callbacks scheduled with aio_bh_schedule_oneshot > > function. This patch enables recording and

Re: [Qemu-devel] [PATCH v2 04/13] spapr/xive: add state synchronization with KVM

2019-03-15 Thread Cédric Le Goater
On 3/15/19 1:23 AM, David Gibson wrote: > On Thu, Mar 14, 2019 at 08:56:25AM +0100, Cédric Le Goater wrote: >> On 3/14/19 3:10 AM, David Gibson wrote: >>> On Mon, Mar 11, 2019 at 09:41:12PM +0100, Cédric Le Goater wrote: On 2/26/19 1:01 AM, David Gibson wrote: > On Fri, Feb 22, 2019 at

[Qemu-devel] [PATCH V4 0/4] Migration/colo: Fix upstream bugs when occur failover

2019-03-15 Thread Zhang Chen
From: Zhang Chen This series focus on COLO failover bug fix and optimization. V4: - Remove merged patch. - Fix grammer issues in patch 2/4 to address markus's comments. - Rebased on upstream code. V3: - Fix grammer issues in patch 4/7. - Add more information in commit log of patch 5/7.

Re: [Qemu-devel] [PATCH v7 6/7] vhost-user-blk: Add support to reconnect backend

2019-03-15 Thread Yongji Xie
On Fri, 15 Mar 2019 at 11:09, Michael S. Tsirkin wrote: > > On Fri, Mar 15, 2019 at 10:46:34AM +0800, Yongji Xie wrote: > > On Thu, 14 Mar 2019 at 19:18, Michael S. Tsirkin wrote: > > > > > > On Wed, Mar 13, 2019 at 10:47:08AM +0800, Yongji Xie wrote: > > > > On Wed, 13 Mar 2019 at 09:16,

[Qemu-devel] [PATCH V4 3/4] Migration/colo.c: Add the necessary checks for colo_do_failover

2019-03-15 Thread Zhang Chen
From: Zhang Chen Signed-off-by: Zhang Chen Reviewed-by: Dr. David Alan Gilbert --- migration/colo.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/migration/colo.c b/migration/colo.c index dbe2b88807..d1ae2e6d11 100644 --- a/migration/colo.c +++

Re: [Qemu-devel] [PATCH v3 16/23] aspeed/scu: Use qemu_guest_getrandom_nofail

2019-03-15 Thread Cédric Le Goater
On 3/15/19 4:26 AM, Richard Henderson wrote: > The random number is intended for use by the guest. As such, we should > honor the -seed argument for reproducibility. Use the *_nofail routine > instead of rolling our own error handling locally. > > Cc: qemu-...@nongnu.org > Cc: Cédric Le Goater

[Qemu-devel] [PATCH V4 4/4] Migration/colo.c: Make user obtain the COLO mode info after failover

2019-03-15 Thread Zhang Chen
From: Zhang Chen Add the last_colo_mode to save the status after failover. This patch can solve the issue that user got nothing to call query_colo_status after failover. Signed-off-by: Zhang Chen --- migration/colo.c | 28 +++- 1 file changed, 23 insertions(+), 5

[Qemu-devel] [PATCH V4 1/4] Migration/colo.c: Fix COLO failover status error

2019-03-15 Thread Zhang Chen
From: Zhang Chen When finished COLO failover, the status is FAILOVER_STATUS_COMPLETED. The origin codes misunderstand the FAILOVER_STATUS_REQUIRE. Signed-off-by: Zhang Chen Reviewed-by: Dr. David Alan Gilbert --- migration/colo.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[Qemu-devel] [PATCH V4 2/4] Migration/colo.c: Add new COLOExitReason to handle all failover state

2019-03-15 Thread Zhang Chen
From: Zhang Chen In this patch we add the processing state for COLOExitReason, because we have to identify COLO in the failover processing state or failover error state. In the way, we can handle all the failover state. We have improved the description of the COLOExitReason by the way.

Re: [Qemu-devel] [PATCH V2 1/3] audio/paaudio: fix ignored buffer_length setting

2019-03-15 Thread Martin Schrodt
On 3/14/19 10:34 PM, Philippe Mathieu-Daudé wrote: >> +static int qpa_validate_per_direction_opts (Audiodev *dev, >> AudiodevPaPerDirectionOptions *pdo) > > If this function is expected to return a boolean value, please use the > 'bool' C type and true/false. > >> +{ >> +if

[Qemu-devel] [PATCH] MAINTAINERS: Update the latest email address

2019-03-15 Thread Zhang Chen
From: Zhang Chen Signed-off-by: Zhang Chen --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0e7baa9aa2..f127b1356c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2167,7 +2167,7 @@ F: include/migration/failover.h F:

Re: [Qemu-devel] [PATCH] intel-iommu: optimize nodmar memory regions

2019-03-15 Thread Peter Xu
On Thu, Mar 14, 2019 at 11:36:39AM +0100, Sergio Lopez wrote: > > Paolo Bonzini writes: > > > On 13/03/19 12:45, Sergio Lopez wrote: > >> > >> Peter Xu writes: > >> > >>> Previously we have per-device system memory aliases when DMAR is > >>> disabled by the system. It will slow the system

Re: [Qemu-devel] [PATCH] intel-iommu: optimize nodmar memory regions

2019-03-15 Thread Peter Xu
On Wed, Mar 13, 2019 at 12:21:34PM +0100, Paolo Bonzini wrote: > On 13/03/19 10:43, Peter Xu wrote: > > Previously we have per-device system memory aliases when DMAR is > > disabled by the system. It will slow the system down if there are > > lots of devices especially when DMAR is disabled,

<    1   2   3