Re: [Qemu-devel] [PATCH 05/20] arm: Move CPU files to target/ folder

2016-12-14 Thread Thomas Huth
On 14.12.2016 08:56, Laurent Vivier wrote: > Le 14/12/2016 à 08:43, Thomas Huth a écrit : >> On 13.12.2016 19:19, Peter Maydell wrote: >>> On 9 December 2016 at 12:17, Thomas Huth wrote: diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index d4160df..60770d4 100644 -

Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-14 Thread Li, Liang Z
> fast (de)inflating & fast live migration > > Hello, > > On Fri, Dec 09, 2016 at 05:35:45AM +, Li, Liang Z wrote: > > > On 12/08/2016 08:45 PM, Li, Liang Z wrote: > > > > What's the conclusion of your discussion? It seems you want some > > > > statistic before deciding whether to ripping th

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Maxime Coquelin
On 12/13/2016 10:27 PM, Michael Roth wrote: Quoting Maxime Coquelin (2016-09-13 08:30:30) > Currently, devices are plugged before features are negotiated. > If the backend doesn't support VIRTIO_F_VERSION_1, the transport > needs to rewind some settings. > > This is the case for CCW, for which

Re: [Qemu-devel] [Nbd] [Qemu-block] [PATCH] doc: Propose NBD_FLAG_INIT_ZEROES extension

2016-12-14 Thread Wouter Verhelst
Hi Eric, On Tue, Dec 13, 2016 at 04:36:08PM -0600, Eric Blake wrote: > On 12/13/2016 06:18 AM, Wouter Verhelst wrote: > > On Tue, Dec 13, 2016 at 08:38:12AM +0100, Kevin Wolf wrote: > >> Am 12.12.2016 um 19:12 hat Wouter Verhelst geschrieben: > >>> I'm not opposed to this proposal, per se, but the

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Maxime Coquelin
On 12/14/2016 08:44 AM, Cornelia Huck wrote: > 14:44 < stefanha> Not sure if anyone can think of a nicer solution. > 14:45 < stefanha> But we're going to have to keep lying to the guest if we want to preserve migration compatibility > 14:45 < stefanha> The key change in behavior with the patch

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin wrote: > > > On 12/14/2016 08:44 AM, Cornelia Huck wrote: >>> >>> > 14:44 < stefanha> Not sure if anyone can think of a nicer solution. >>> > 14:45 < stefanha> But we're going to have to keep lying to the guest if >>> > we want to preserve migration

Re: [Qemu-devel] [Qemu-ppc] [PATCH v2 5/6] target-ppc: implement xxextractuw instruction

2016-12-14 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Mon, Dec 12, 2016 at 09:31:11AM +0530, Nikunj Dadhania wrote: >> On 12 December 2016 at 06:00, David Gibson >> wrote: >> > On Fri, Dec 09, 2016 at 05:47:24PM +0530, Nikunj A Dadhania wrote: >> >> xxextractuw: VSX Vector Extract Unsigned W

Re: [Qemu-devel] [PATCH 05/20] arm: Move CPU files to target/ folder

2016-12-14 Thread Paolo Bonzini
On 14/12/2016 08:59, Thomas Huth wrote: >>> Right, good catch, thanks! Looks like I did it right in the other >>> patches and used target/ppc/cpu.h there for example ... I'll fix it for >>> ARM in the next version of the patch... >> There is the same problem in: m68k, alpha, mips and sh4. >> >> C

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Cornelia Huck
On Wed, 14 Dec 2016 08:41:55 + Stefan Hajnoczi wrote: > On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin > wrote: > > > > > > On 12/14/2016 08:44 AM, Cornelia Huck wrote: > >>> > >>> > 14:44 < stefanha> Not sure if anyone can think of a nicer solution. > >>> > 14:45 < stefanha> But we're goi

Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-14 Thread Li, Liang Z
> Subject: Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for > fast (de)inflating & fast live migration > > On 12/08/2016 08:45 PM, Li, Liang Z wrote: > > What's the conclusion of your discussion? It seems you want some > > statistic before deciding whether to ripping the bitmap fr

[Qemu-devel] [PATCH for-2.9 v2] Move target-* CPU file into a target/ folder

2016-12-14 Thread Thomas Huth
We've currently got 18 architectures in QEMU, and thus 18 target-xxx folders in the root folder of the QEMU source tree. More architectures (e.g. RISC-V, AVR) are likely to be included soon, too, so the main folder of the QEMU sources slowly gets quite overcrowded with the target-xxx folders. To di

Re: [Qemu-devel] [PATCH 19/21] iotests: test qcow2 persistent dirty bitmap

2016-12-14 Thread Max Reitz
On 2016-11-22 at 18:26, Vladimir Sementsov-Ogievskiy wrote: Signed-off-by: Vladimir Sementsov-Ogievskiy --- tests/qemu-iotests/165 | 89 ++ tests/qemu-iotests/165.out | 5 +++ tests/qemu-iotests/group | 1 + 3 files changed, 95 insertions(+)

Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Fix boot path of usb-host storage devices

2016-12-14 Thread Gerd Hoffmann
Hi, > >> in the /chosen/qemu,boot-list property. SLOF, however, probes the > >> USB device, recognizes that it is a storage device and thus changes > >> its name to "storage", and additionally adds a child node for the > >> SCSI LUN, so the correct boot path in SLOF is something like > >> "/pci@

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Maxime Coquelin
On 12/14/2016 09:59 AM, Cornelia Huck wrote: On Wed, 14 Dec 2016 08:41:55 + Stefan Hajnoczi wrote: On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin wrote: On 12/14/2016 08:44 AM, Cornelia Huck wrote: 14:44 < stefanha> Not sure if anyone can think of a nicer solution. 14:45 < stefa

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Dr. David Alan Gilbert
* Maxime Coquelin (maxime.coque...@redhat.com) wrote: > > > On 12/14/2016 09:59 AM, Cornelia Huck wrote: > > On Wed, 14 Dec 2016 08:41:55 + > > Stefan Hajnoczi wrote: > > > > > On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin > > > wrote: > > > > > > > > > > > > On 12/14/2016 08:44 AM, C

Re: [Qemu-devel] [PATCH 20/21] qcow2-refcount: rename inc_refcounts() and make it public

2016-12-14 Thread Max Reitz
On 2016-11-22 at 18:26, Vladimir Sementsov-Ogievskiy wrote: This is needed for the following patch, which will introduce refcounts checking for qcow2 bitmaps. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/qcow2-refcount.c | 53 ++ block/q

[Qemu-devel] [Bug 1641637] Re: incorrect illegal SSE3 instructions reporting on x86_64

2016-12-14 Thread Ziyue Yang
Hi Jie, Seems that the problem was caused by not specifying the cpu model when running QEMU. when running qemu-x86_64 ./28 QEMU would recognize the cpu model as "qemu64", which act like a cpu doesn't support advanced instruction sets like SSSE3. To workaround, you can run qemu-x86_86 -cpu core2

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Maxime Coquelin
On 12/14/2016 10:50 AM, Dr. David Alan Gilbert wrote: * Maxime Coquelin (maxime.coque...@redhat.com) wrote: On 12/14/2016 09:59 AM, Cornelia Huck wrote: On Wed, 14 Dec 2016 08:41:55 + Stefan Hajnoczi wrote: On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin wrote: On 12/14/2016 08:

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Cornelia Huck
On Wed, 14 Dec 2016 10:44:05 +0100 Maxime Coquelin wrote: > On 12/14/2016 09:59 AM, Cornelia Huck wrote: > > On Wed, 14 Dec 2016 08:41:55 + > > Stefan Hajnoczi wrote: > > > >> On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin > >> wrote: > >>> > >>> > >>> On 12/14/2016 08:44 AM, Cornelia Huc

Re: [Qemu-devel] [PATCH 00/23] arm: Add virtualization to GICv3, and enable EL2 on 64-bit CPUs

2016-12-14 Thread Peter Maydell
On 13 December 2016 at 21:16, Andrew Jones wrote: > On Tue, Dec 13, 2016 at 10:36:01AM +, Peter Maydell wrote: >> This patchset adds support for the Virtualization extensions to QEMU's >> GICv3 emulation. This was the last missing piece that was stopping >> us from turning on the EL2 support i

Re: [Qemu-devel] [PATCH 21/21] qcow2-bitmap: refcounts

2016-12-14 Thread Max Reitz
On 2016-11-22 at 18:26, Vladimir Sementsov-Ogievskiy wrote: Calculate refcounts for qcow2 bitmaps. It is needed for qcow2's qemu-img check implementation. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/qcow2-bitmap.c | 73 ++ block/qcow2

Re: [Qemu-devel] [PATCH for-2.9 v2] Move target-* CPU file into a target/ folder

2016-12-14 Thread Markus Armbruster
Thomas Huth writes: > We've currently got 18 architectures in QEMU, and thus 18 target-xxx > folders in the root folder of the QEMU source tree. More architectures > (e.g. RISC-V, AVR) are likely to be included soon, too, so the main > folder of the QEMU sources slowly gets quite overcrowded with

Re: [Qemu-devel] [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
Hi, > > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > > > On 12/12/2016 11:05 PM, Michael S. Tsirkin wrote: > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > >> On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) wrote: > >>> Hi, Michael & Herbert > >>> >

Re: [Qemu-devel] [PATCH for-2.9 v2] Move target-* CPU file into a target/ folder

2016-12-14 Thread Peter Maydell
On 14 December 2016 at 11:21, Markus Armbruster wrote: > Thomas Huth writes: > >> We've currently got 18 architectures in QEMU, and thus 18 target-xxx >> folders in the root folder of the QEMU source tree. More architectures >> (e.g. RISC-V, AVR) are likely to be included soon, too, so the main >

Re: [Qemu-devel] [Qemu-stable] [PATCH v2] virtio-bus: Plug devices after features are negotiated

2016-12-14 Thread Marcel Apfelbaum
On 12/14/2016 12:08 PM, Cornelia Huck wrote: On Wed, 14 Dec 2016 10:44:05 +0100 Maxime Coquelin wrote: On 12/14/2016 09:59 AM, Cornelia Huck wrote: On Wed, 14 Dec 2016 08:41:55 + Stefan Hajnoczi wrote: On Wed, Dec 14, 2016 at 8:28 AM, Maxime Coquelin wrote: On 12/14/2016 08:44 AM,

[Qemu-devel] [PATCH v7 0/1] virtio-crypto: add Linux driver

2016-12-14 Thread Gonglei
v7: - fix "BUG: smp_processor_id() in preemptible [] code" reported by Halil, using get_cpu/put_cpu instead of calling smp_processor_id() directly. - fix a possible spinlock recursion in virtcrypto_dataq_callback(), we should release the spinlock before invoking the callback. - re

[Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei
This patch introduces virtio-crypto driver for Linux Kernel. The virtio crypto device is a virtual cryptography device as well as a kind of virtual hardware accelerator for virtual machines. The encryption anddecryption requests are placed in the data queue and are ultimately handled by thebackend

Re: [Qemu-devel] [Qemu-ppc] [RFC PATCH qemu] spapr_pci: Create PCI-express root bus by default

2016-12-14 Thread Marcel Apfelbaum
On 12/13/2016 05:15 PM, Benjamin Herrenschmidt wrote: On Tue, 2016-12-13 at 14:25 +0200, Marcel Apfelbaum wrote: Hrm, the suggestion of providing both a vanilla-PCI and PCI-E host bridge came up before. I think one of us spotted a problem with that, but I don't recall what it was now. I guess

Re: [Qemu-devel] [PATCH for-2.9 v2] Move target-* CPU file into a target/ folder

2016-12-14 Thread Thomas Huth
On 14.12.2016 12:33, Peter Maydell wrote: > On 14 December 2016 at 11:21, Markus Armbruster wrote: >> Thomas Huth writes: >> >>> We've currently got 18 architectures in QEMU, and thus 18 target-xxx >>> folders in the root folder of the QEMU source tree. More architectures >>> (e.g. RISC-V, AVR) a

Re: [Qemu-devel] [PATCHv3 2/5] pseries: Stubs for HPT resizing

2016-12-14 Thread Suraj Jitindar Singh
On Mon, 2016-12-12 at 15:06 +1100, David Gibson wrote: > This introduces stub implementations of the H_RESIZE_HPT_PREPARE and > H_RESIZE_HPT_COMMIT hypercalls which we hope to add in a PAPR > extension to allow run time resizing of a guest's hash page > table.  It > also adds a new machine property

Re: [Qemu-devel] [PATCHv3 4/5] pseries: Enable HPT resizing for 2.9

2016-12-14 Thread Suraj Jitindar Singh
On Mon, 2016-12-12 at 15:06 +1100, David Gibson wrote: > We've now implemented a PAPR extensions which allows PAPR guests > (i.e. > "pseries" machine type) to resize their hash page table during > runtime. > > However, that extension is only enabled if explicitly chosen on the > command line.  Thi

Re: [Qemu-devel] [PATCHv3 5/5] pseries: Use smaller default hash page tables when guest can resize

2016-12-14 Thread Suraj Jitindar Singh
On Mon, 2016-12-12 at 15:06 +1100, David Gibson wrote: > We've now implemented a PAPR extension allowing PAPR guest to resize > their hash page table (HPT) during runtime. > > This patch makes use of that facility to allocate smaller HPTs by > default. > Specifically when a guest is aware of the H

Re: [Qemu-devel] [PATCHv3 3/5] pseries: Implement HPT resizing

2016-12-14 Thread Suraj Jitindar Singh
On Mon, 2016-12-12 at 15:06 +1100, David Gibson wrote: > This patch implements hypercalls allowing a PAPR guest to resize its > own > hash page table.  This will eventually allow for more flexible memory > hotplug. > > The implementation is partially asynchronous, handled in a special > thread > r

Re: [Qemu-devel] [PATCHv3 3/5] pseries: Implement HPT resizing

2016-12-14 Thread Suraj Jitindar Singh
On Mon, 2016-12-12 at 15:06 +1100, David Gibson wrote: > This patch implements hypercalls allowing a PAPR guest to resize its > own > hash page table.  This will eventually allow for more flexible memory > hotplug. > > The implementation is partially asynchronous, handled in a special > thread > r

Re: [Qemu-devel] [PATCH] target-i386: Add Intel SHA_NI instruction support.

2016-12-14 Thread Paolo Bonzini
On 14/12/2016 03:50, Yi Sun wrote: > Add SHA_NI feature bit. Its spec can be found at: > https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf > > Signed-off-by: Yi Sun > --- > target-i386/cpu.c | 2 +- > target-i386/cpu.h | 1 + > 2 files changed, 2 ins

Re: [Qemu-devel] [PATCH] bugfix: vm halt when in reset looping

2016-12-14 Thread Paolo Bonzini
On 14/12/2016 07:48, hangaohuai wrote: > reset mc146818rtc device when RESET event happens. > > Fix the problem: > 1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboot; > 2. VM being reset by others, hmp_system_reset; > 3. seabios resume check the CMOS_RESET_CODE, if

Re: [Qemu-devel] [PATCH 07/21] qcow2: add bitmaps extension

2016-12-14 Thread Vladimir Sementsov-Ogievskiy
07.12.2016 21:25, Max Reitz wrote: On 22.11.2016 18:26, Vladimir Sementsov-Ogievskiy wrote: Add bitmap extension as specified in docs/specs/qcow2.txt. For now, just mirror extension header into Qcow2 state and check constraints. For now, disable image resize if it has bitmaps. It will be fixed

Re: [Qemu-devel] [PATCH] Update language files for QEMU 2.8.0

2016-12-14 Thread Stefan Hajnoczi
On Tue, Dec 13, 2016 at 09:49:17PM +, Stefan Hajnoczi wrote: > Update translation files (change created via 'make -C po update'). > > Signed-off-by: Stefan Hajnoczi > --- > po/bg.po | 40 > po/de_DE.po| 40 ++-

[Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Maxime Coquelin
This patch fixes a cross-version migration regression introduced by commit d1b4259f ("virtio-bus: Plug devices after features are negotiated"). The problem is encountered when host's vhost backend does not support VIRTIO_F_VERSION_1, and migration is initiated from a v2.7 or prior machine with vir

Re: [Qemu-devel] [PATCH] Update language files for QEMU 2.8.0

2016-12-14 Thread Kevin Wolf
Am 13.12.2016 um 22:49 hat Stefan Hajnoczi geschrieben: > Update translation files (change created via 'make -C po update'). > > Signed-off-by: Stefan Hajnoczi Should we actually try to translate the additional string instead of just adding it as a placeholder? I can send a de_DE patch, if you l

Re: [Qemu-devel] [PATCH for-2.9 v2] qom: Make all interface types abstract

2016-12-14 Thread Markus Armbruster
Eduardo Habkost writes: > "qom-list-types abstract=false" currently returns all interface > types, as if they were not abstract. Fix this by making sure all > interface types are abstract. > > All interface types have instance_size == 0, so we can use > it to set abstract=true on type_initialize(

Re: [Qemu-devel] [PATCH] bugfix: vm halt when in reset looping

2016-12-14 Thread Hangaohuai
Thanks for the review and proposals . I will think over the suspend and resume of VM. On 14/12/2016 07:48, hangaohuai wrote: > reset mc146818rtc device when RESET event happens. > > Fix the problem: > 1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboot; > 2. VM being

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Cornelia Huck
On Wed, 14 Dec 2016 13:52:37 +0100 Maxime Coquelin wrote: > This patch fixes a cross-version migration regression introduced > by commit d1b4259f ("virtio-bus: Plug devices after features are > negotiated"). > > The problem is encountered when host's vhost backend does not support > VIRTIO_F_VER

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael S. Tsirkin
On Wed, Dec 14, 2016 at 01:52:37PM +0100, Maxime Coquelin wrote: > This patch fixes a cross-version migration regression introduced > by commit d1b4259f ("virtio-bus: Plug devices after features are > negotiated"). > > The problem is encountered when host's vhost backend does not support > VIRTIO_

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael S. Tsirkin
On Wed, Dec 14, 2016 at 02:12:10PM +0100, Cornelia Huck wrote: > On Wed, 14 Dec 2016 13:52:37 +0100 > Maxime Coquelin wrote: > > > This patch fixes a cross-version migration regression introduced > > by commit d1b4259f ("virtio-bus: Plug devices after features are > > negotiated"). > > > > The p

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Cornelia Huck
On Wed, 14 Dec 2016 15:16:13 +0200 "Michael S. Tsirkin" wrote: > On Wed, Dec 14, 2016 at 02:12:10PM +0100, Cornelia Huck wrote: > > On Wed, 14 Dec 2016 13:52:37 +0100 > > Maxime Coquelin wrote: > > > > > This patch fixes a cross-version migration regression introduced > > > by commit d1b4259f (

[Qemu-devel] [Bug 1603734] Re: Hang in fsqrt

2016-12-14 Thread Ziyue Yang
Bug fixed showed by https://github.com/unicorn-engine/unicorn/pull/609 and the test case shows no problem on the most recent 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 Q

Re: [Qemu-devel] [PATCH] Update language files for QEMU 2.8.0

2016-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2016 at 12:54 PM, Kevin Wolf wrote: > Am 13.12.2016 um 22:49 hat Stefan Hajnoczi geschrieben: > And would that crash be considered a release blocker, too? If it's a regression in 2.8, then yes. Otherwise no. Since it's a user interface crash it's very visible to users and would

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Maxime Coquelin
On 12/14/2016 02:21 PM, Cornelia Huck wrote: On Wed, 14 Dec 2016 15:16:13 +0200 "Michael S. Tsirkin" wrote: On Wed, Dec 14, 2016 at 02:12:10PM +0100, Cornelia Huck wrote: On Wed, 14 Dec 2016 13:52:37 +0100 Maxime Coquelin wrote: This patch fixes a cross-version migration regression intro

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Marcel Apfelbaum
On 12/14/2016 02:52 PM, Maxime Coquelin wrote: This patch fixes a cross-version migration regression introduced by commit d1b4259f ("virtio-bus: Plug devices after features are negotiated"). The problem is encountered when host's vhost backend does not support VIRTIO_F_VERSION_1, and migration i

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2016 at 1:29 PM, Maxime Coquelin wrote: > On 12/14/2016 02:21 PM, Cornelia Huck wrote: >> >> On Wed, 14 Dec 2016 15:16:13 +0200 >> "Michael S. Tsirkin" wrote: >> >>> On Wed, Dec 14, 2016 at 02:12:10PM +0100, Cornelia Huck wrote: On Wed, 14 Dec 2016 13:52:37 +0100 Ma

Re: [Qemu-devel] [PATCH kvm-unit-tests v8 00/10] arm/arm64: add gic framework

2016-12-14 Thread Andrew Jones
On Thu, Dec 08, 2016 at 06:50:20PM +0100, Andrew Jones wrote: > > v8: > - Main change is rebasing to Wei's sysreg framework, which is part >of his PMU series, which I've applied to arm/next. That rebase >leads to dropping the first two patches of the v7 series, expecting >get_mpidr()

Re: [Qemu-devel] [PATCH for-2.9 v2] qom: Make all interface types abstract

2016-12-14 Thread Eduardo Habkost
On Wed, Dec 14, 2016 at 02:04:50PM +0100, Markus Armbruster wrote: > Eduardo Habkost writes: > > > "qom-list-types abstract=false" currently returns all interface > > types, as if they were not abstract. Fix this by making sure all > > interface types are abstract. > > > > All interface types hav

[Qemu-devel] [PATCH for-2.8] ui/gtk: fix "Copy" menu item segfault

2016-12-14 Thread Stefan Hajnoczi
The "Copy" menu item copies VTE terminal text to the clipboard. This only works with VTE terminals, not with graphics consoles. Disable the menu item when the current notebook page isn't a VTE terminal. This patch fixes a segfault. Reproducer: Start QEMU and click the Copy menu item when the gu

Re: [Qemu-devel] [PATCH for-2.8] ui/gtk: fix "Copy" menu item segfault

2016-12-14 Thread Stefan Weil
Am 14.12.2016 um 15:25 schrieb Stefan Hajnoczi: > The "Copy" menu item copies VTE terminal text to the clipboard. This > only works with VTE terminals, not with graphics consoles. > > Disable the menu item when the current notebook page isn't a VTE > terminal. > > This patch fixes a segfault. R

Re: [Qemu-devel] [PATCH] multiboot: copy the cmdline verbatim

2016-12-14 Thread Eduardo Habkost
On Wed, Dec 14, 2016 at 03:35:29PM +0200, Vlad Lungu wrote: > > get_opt_value() truncates the value at the first comma > Use memcpy() instead > > Signed-off-by: Vlad Lungu Your patch is corrupted. I suggest using git-send-email instead of Thunderbird, but you might want to take a look at: http:

[Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Stefan Hajnoczi
There are missing translations for the new "Copy" menu item. The following people provided them to me on IRC just in time for the QEMU 2.8 release: * de_DE - Stefan Hajnoczi * fr_FR - Laurent Vivier * it- Pino Toscano * zh_CN - Fam Zheng Reported-by: Kevin Wolf Cc: Fam Zheng Cc: Pi

Re: [Qemu-devel] [PATCH 03/54] char: use a static array for backends

2016-12-14 Thread Eric Blake
On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > Number and kinds of backends is known at compile-time, use a fixed-sized > static array to simplify iterations & lookups. > > Signed-off-by: Marc-André Lureau > --- > qemu-char.c | 101 > ---

[Qemu-devel] any known virtio-net regressions in Qemu 2.7?

2016-12-14 Thread Stefan Priebe - Profihost AG
Hello, after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs. Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2. I'm using virtio for the network cards. Greets, Stefan

[Qemu-devel] [PATCH] Further tidy-up on block status

2016-12-14 Thread Alex Bligh
(NB: I've already applied this and pushed it) * Change NBD_OPT_LIST_METADATA etc. to explicitly send a list of queries and add a count of queries so we can extend the command later (rather than rely on the length of option) * For NBD_OPT_LIST_METADATA make absence of any query (as opposed to

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Fam Zheng
On Wed, 12/14 14:47, Stefan Hajnoczi wrote: > There are missing translations for the new "Copy" menu item. > > The following people provided them to me on IRC just in time for the > QEMU 2.8 release: > > * de_DE - Stefan Hajnoczi > * fr_FR - Laurent Vivier > * it- Pino Toscano > * zh_C

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael Roth
Quoting Maxime Coquelin (2016-12-14 06:52:37) > This patch fixes a cross-version migration regression introduced > by commit d1b4259f ("virtio-bus: Plug devices after features are > negotiated"). > > The problem is encountered when host's vhost backend does not support > VIRTIO_F_VERSION_1, and mi

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2016 at 3:10 PM, Fam Zheng wrote: > On Wed, 12/14 14:47, Stefan Hajnoczi wrote: >> There are missing translations for the new "Copy" menu item. >> >> The following people provided them to me on IRC just in time for the >> QEMU 2.8 release: >> >> * de_DE - Stefan Hajnoczi >> * fr

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael S. Tsirkin
On Wed, Dec 14, 2016 at 09:08:52AM -0600, Michael Roth wrote: > Quoting Maxime Coquelin (2016-12-14 06:52:37) > > This patch fixes a cross-version migration regression introduced > > by commit d1b4259f ("virtio-bus: Plug devices after features are > > negotiated"). > > > > The problem is encounter

Re: [Qemu-devel] [PATCH for-2.8] ui/gtk: fix "Copy" menu item segfault

2016-12-14 Thread Gerd Hoffmann
On Mi, 2016-12-14 at 14:25 +, Stefan Hajnoczi wrote: > The "Copy" menu item copies VTE terminal text to the clipboard. This > only works with VTE terminals, not with graphics consoles. > > Disable the menu item when the current notebook page isn't a VTE > terminal. > > This patch fixes a seg

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Maxime Coquelin
On 12/14/2016 04:15 PM, Michael S. Tsirkin wrote: On Wed, Dec 14, 2016 at 09:08:52AM -0600, Michael Roth wrote: Quoting Maxime Coquelin (2016-12-14 06:52:37) This patch fixes a cross-version migration regression introduced by commit d1b4259f ("virtio-bus: Plug devices after features are negot

Re: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

2016-12-14 Thread Alexandre DERUMIER
Hi Stefan, do you have upgraded kernel ? maybe it could be related to vhost-net module too. - Mail original - De: "Stefan Priebe, Profihost AG" À: "qemu-devel" Envoyé: Mercredi 14 Décembre 2016 16:04:08 Objet: [Qemu-devel] any known virtio-net regressions in Qemu 2.7? Hello, after

Re: [Qemu-devel] [RFC] qmp: query-device-slots command

2016-12-14 Thread Markus Armbruster
Eduardo Habkost writes: > On Tue, Dec 13, 2016 at 08:51:34PM +0100, Markus Armbruster wrote: >> Eduardo Habkost writes: >> >> > On Tue, Dec 13, 2016 at 12:04:17PM +0100, Markus Armbruster wrote: >> >> Quick interface review only: >> >> >> >> Eduardo Habkost writes: >> >> >> >> > This adds a

Re: [Qemu-devel] [PATCH v2] egl-helpers: Change file licensing to LGPLv2

2016-12-14 Thread Peter Maydell
On 8 December 2016 at 10:45, Frediano Ziglio wrote: > The relicense permits sharing the code with Spice which > is LGPL. > > All people listed below have agreed to the > relicense: > - Arei Gonglei; > - Cole Robinson; > - Gerd Hoffmann; > - Peter Maydell. > > Signed-off-by: Frediano Ziglio > Acke

Re: [Qemu-devel] [PATCH kvm-unit-tests v8 00/10] arm/arm64: add gic framework

2016-12-14 Thread Alex Bennée
Andrew Jones writes: > On Thu, Dec 08, 2016 at 06:50:20PM +0100, Andrew Jones wrote: >> >> v8: >> - Main change is rebasing to Wei's sysreg framework, which is part >>of his PMU series, which I've applied to arm/next. That rebase >>leads to dropping the first two patches of the v7 serie

Re: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Halil Pasic
On 12/14/2016 12:50 PM, Gonglei wrote: > diff --git a/drivers/crypto/virtio/virtio_crypto_core.c > b/drivers/crypto/virtio/virtio_crypto_core.c > new file mode 100644 > index 000..c0854a1 > --- /dev/null > +++ b/drivers/crypto/virtio/virtio_crypto_core.c > @@ -0,0 +1,474 @@ [..] > + > +stati

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Pino Toscano
On Wednesday, 14 December 2016 14:47:13 CET Stefan Hajnoczi wrote: > There are missing translations for the new "Copy" menu item. > > The following people provided them to me on IRC just in time for the > QEMU 2.8 release: > > * de_DE - Stefan Hajnoczi > * fr_FR - Laurent Vivier > * it-

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Laurent Vivier
Le 14/12/2016 à 15:47, Stefan Hajnoczi a écrit : > There are missing translations for the new "Copy" menu item. > > The following people provided them to me on IRC just in time for the > QEMU 2.8 release: > > * de_DE - Stefan Hajnoczi > * fr_FR - Laurent Vivier > * it- Pino Toscano > *

Re: [Qemu-devel] [PATCH for-2.9 01/30] target-arm: Add VBAR support to ARM1176 CPUs

2016-12-14 Thread Peter Maydell
On 29 November 2016 at 15:43, Cédric Le Goater wrote: > ARM1176 CPUs support the Vector Base Address Register but currently, > qemu only supports VBAR on ARMv7 CPUs. Fix this by adding a new > feature ARM_FEATURE_VBAR which can used for ARMv7 and ARM1176 CPUs. > > The VBAR feature is always set fo

Re: [Qemu-devel] [PATCH for-2.8.1 v2] machine: Convert abstract typename on compat_props to subclass names

2016-12-14 Thread Greg Kurz
On Mon, 12 Dec 2016 18:49:05 -0200 Eduardo Habkost wrote: > Original problem description by Greg Kurz: > > > Since commit "9a4c0e220d8a hw/virtio-pci: fix virtio > > behaviour", passing -device virtio-blk-pci.disable-modern=off > > has no effect on 2.6 machine types because the internal > > virt

Re: [Qemu-devel] [PATCH 18/19] tests/tcg: Add and update Makefiles

2016-12-14 Thread Alex Bennée
Pranith Kumar writes: > This commit fixes the makefiles to bring them to the desired state. > > Signed-off-by: Pranith Kumar > --- > tests/tcg/alpha/Makefile | 38 +++-- > tests/tcg/arm/Makefile | 32 +++-- > tests/tcg/cris/

Re: [Qemu-devel] [PATCH 09/21] qcow2: add .bdrv_load_autoloading_dirty_bitmaps

2016-12-14 Thread Vladimir Sementsov-Ogievskiy
07.12.2016 23:51, Max Reitz wrote: On 22.11.2016 18:26, Vladimir Sementsov-Ogievskiy wrote: Auto loading bitmaps are bitmaps in Qcow2, with the AUTO flag set. They are loaded when the image is opened and become BdrvDirtyBitmaps for the corresponding drive. Extra data in bitmaps is not supported

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2016 at 3:41 PM, Laurent Vivier wrote: > Le 14/12/2016 à 15:47, Stefan Hajnoczi a écrit : >> There are missing translations for the new "Copy" menu item. >> >> The following people provided them to me on IRC just in time for the >> QEMU 2.8 release: >> >> * de_DE - Stefan Hajnoczi

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael Roth
Quoting Michael S. Tsirkin (2016-12-14 09:15:38) > On Wed, Dec 14, 2016 at 09:08:52AM -0600, Michael Roth wrote: > > Quoting Maxime Coquelin (2016-12-14 06:52:37) > > > This patch fixes a cross-version migration regression introduced > > > by commit d1b4259f ("virtio-bus: Plug devices after feature

Re: [Qemu-devel] [PATCH 04/54] char: move callbacks in CharDriver

2016-12-14 Thread Eric Blake
On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > This makes the code more declarative, and avoids to duplicate the s/to duplicate/duplicating/ > information on all instances. > > Signed-off-by: Marc-André Lureau > --- > backends/baum.c | 13 +- > backends/msmouse.c| 13 +- > back

Re: [Qemu-devel] [PATCH 05/54] char: fold single-user functions in caller

2016-12-14 Thread Eric Blake
On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > This shorten a bit the code. Grammar: This shortens the code a bit. > > Signed-off-by: Marc-André Lureau > --- > qemu-char.c | 97 > - > 1 file changed, 31 insertions(+), 66 deletion

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Kevin Wolf
Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben: > On Wed, Dec 14, 2016 at 3:41 PM, Laurent Vivier wrote: > > Le 14/12/2016 à 15:47, Stefan Hajnoczi a écrit : > >> There are missing translations for the new "Copy" menu item. > >> > >> The following people provided them to me on IRC just in

Re: [Qemu-devel] [PATCH for-2.9 v2] Move target-* CPU file into a target/ folder

2016-12-14 Thread Markus Armbruster
Thomas Huth writes: > On 14.12.2016 12:33, Peter Maydell wrote: >> On 14 December 2016 at 11:21, Markus Armbruster wrote: >>> Thomas Huth writes: >>> We've currently got 18 architectures in QEMU, and thus 18 target-xxx folders in the root folder of the QEMU source tree. More architect

Re: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests

2016-12-14 Thread Alex Bennée
Pranith Kumar writes: > Hello, > > The following patch series adds litmus tests to test consistency for > MTTCG enabled qemu. These patches apply on top of the clean up > tests/tcg folder made by my previous patch series. > > The tests were generated using the litmus tool. The sources and > inst

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Laurent Vivier
Le 14/12/2016 à 17:08, Kevin Wolf a écrit : > Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben: >> On Wed, Dec 14, 2016 at 3:41 PM, Laurent Vivier wrote: >>> Le 14/12/2016 à 15:47, Stefan Hajnoczi a écrit : There are missing translations for the new "Copy" menu item. The follo

[Qemu-devel] [PATCH v2] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Maxime Coquelin
This patch fixes a cross-version migration regression introduced by commit d1b4259f ("virtio-bus: Plug devices after features are negotiated"). The problem is encountered when host's vhost backend does not support VIRTIO_F_VERSION_1, and migration is initiated from a v2.7 or prior QEMU version wit

Re: [Qemu-devel] [PATCH v2] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Cornelia Huck
On Wed, 14 Dec 2016 17:19:58 +0100 Maxime Coquelin wrote: > This patch fixes a cross-version migration regression introduced > by commit d1b4259f ("virtio-bus: Plug devices after features are > negotiated"). > > The problem is encountered when host's vhost backend does not support > VIRTIO_F_VER

Re: [Qemu-devel] [PATCH] Further tidy-up on block status

2016-12-14 Thread Vladimir Sementsov-Ogievskiy
14.12.2016 18:08, Alex Bligh wrote: (NB: I've already applied this and pushed it) * Change NBD_OPT_LIST_METADATA etc. to explicitly send a list of queries and add a count of queries so we can extend the command later (rather than rely on the length of option) * For NBD_OPT_LIST_METADATA m

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Kevin Wolf
Am 14.12.2016 um 17:17 hat Laurent Vivier geschrieben: > Le 14/12/2016 à 17:08, Kevin Wolf a écrit : > > Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben: > >> On Wed, Dec 14, 2016 at 3:41 PM, Laurent Vivier wrote: > >>> Le 14/12/2016 à 15:47, Stefan Hajnoczi a écrit : > There are missi

Re: [Qemu-devel] [PATCH for-2.9 v4 0/6] crypto: add HMAC algorithms support

2016-12-14 Thread Daniel P. Berrange
On Tue, Dec 13, 2016 at 06:42:54PM +0800, Longpeng(Mike) wrote: > Since QEMU has been supported cryptodev, so it is necessary to support > more crypto algorithms(i.e. hmac,aead) in QEMU backend. > > This patchset add HMAC algorithms support. Thanks, this all looks good, so I've queued this series

Re: [Qemu-devel] [RFC] qmp: query-device-slots command

2016-12-14 Thread Eduardo Habkost
On Wed, Dec 14, 2016 at 04:34:04PM +0100, Markus Armbruster wrote: > Eduardo Habkost writes: > > > On Tue, Dec 13, 2016 at 08:51:34PM +0100, Markus Armbruster wrote: > >> Eduardo Habkost writes: > >> > >> > On Tue, Dec 13, 2016 at 12:04:17PM +0100, Markus Armbruster wrote: > >> >> Quick interfa

Re: [Qemu-devel] [PATCH for-2.8] po: add missing translations in de, fr, it, zh

2016-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2016 at 3:40 PM, Pino Toscano wrote: > On Wednesday, 14 December 2016 14:47:13 CET Stefan Hajnoczi wrote: >> There are missing translations for the new "Copy" menu item. >> >> The following people provided them to me on IRC just in time for the >> QEMU 2.8 release: >> >> * de_DE -

Re: [Qemu-devel] [PATCH] Further tidy-up on block status

2016-12-14 Thread Alex Bligh
Vladimir, >> +non-zero number of metadata contexts during negotiation. Servers SHOULD >> +reply to clients sending `NBD_CMD_BLOCK_STATUS without > > backquote Fixed >> +If zero queries are sent, then the server MUST return all >> +the metadata contexts it knows about. > > I think that

Re: [Qemu-devel] [PATCH v2] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Maxime Coquelin
On 12/14/2016 05:24 PM, Cornelia Huck wrote: On Wed, 14 Dec 2016 17:19:58 +0100 Maxime Coquelin wrote: > This patch fixes a cross-version migration regression introduced > by commit d1b4259f ("virtio-bus: Plug devices after features are > negotiated"). > > The problem is encountered when hos

[Qemu-devel] [PATCH v3] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Maxime Coquelin
This patch fixes a cross-version migration regression introduced by commit d1b4259f ("virtio-bus: Plug devices after features are negotiated"). The problem is encountered when host's vhost backend does not support VIRTIO_F_VERSION_1, and migration is initiated from a v2.7 or prior machine with vir

Re: [Qemu-devel] [Nbd] [Qemu-block] [PATCH] doc: Propose NBD_FLAG_INIT_ZEROES extension

2016-12-14 Thread Eric Blake
On 12/14/2016 02:22 AM, Wouter Verhelst wrote: > Hi Eric, > > On Tue, Dec 13, 2016 at 04:36:08PM -0600, Eric Blake wrote: >> On 12/13/2016 06:18 AM, Wouter Verhelst wrote: >>> On Tue, Dec 13, 2016 at 08:38:12AM +0100, Kevin Wolf wrote: Am 12.12.2016 um 19:12 hat Wouter Verhelst geschrieben: >

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael Roth
Quoting Michael Roth (2016-12-14 10:02:15) > Quoting Michael S. Tsirkin (2016-12-14 09:15:38) > > On Wed, Dec 14, 2016 at 09:08:52AM -0600, Michael Roth wrote: > > > Quoting Maxime Coquelin (2016-12-14 06:52:37) > > > > This patch fixes a cross-version migration regression introduced > > > > by com

Re: [Qemu-devel] [Nbd] [Qemu-block] [PATCH] doc: Propose NBD_FLAG_INIT_ZEROES extension

2016-12-14 Thread Alex Bligh
> ... But your argument that 16 bits is at a premium may be worth > considering an alternative representation for the same information. > > Possibility 1: when we run out of our current 16 transmission flags, > we'll need a way to extend the protocol to support more than that. To > do that, we'

Re: [Qemu-devel] [PATCH] multiboot: copy the cmdline verbatim

2016-12-14 Thread Paolo Bonzini
On 14/12/2016 17:19, Vlad Lungu wrote: > get_opt_value() truncates the value at the first comma. > Use memcpy() instead. Looks good since get_opt_value is already used by the caller. Have you tested this with multiple initrd modules too? Paolo > Signed-off-by: Vlad Lungu > --- > hw/i386/mul

Re: [Qemu-devel] [PATCH] virtio-pci: Fix cross-version migration with older machines

2016-12-14 Thread Michael Roth
Quoting Michael Roth (2016-12-14 10:53:41) > Quoting Michael Roth (2016-12-14 10:02:15) > > Quoting Michael S. Tsirkin (2016-12-14 09:15:38) > > > On Wed, Dec 14, 2016 at 09:08:52AM -0600, Michael Roth wrote: > > > > Quoting Maxime Coquelin (2016-12-14 06:52:37) > > > > > This patch fixes a cross-v

  1   2   3   >