Re: [Qemu-devel] [RISU PATCH v3 05/22] risu: add zlib indication to help text

2018-06-14 Thread Alex Bennée
Richard Henderson writes: > On 06/13/2018 02:55 AM, Alex Bennée wrote: >> This is a simple aide-memoir as it can be tricky to determine this >> with a simple statically compiled binary. >> >> Signed-off-by: Alex Bennée >> --- >> risu.c | 5 - >> 1 file changed, 4 insertions(+), 1

[Qemu-devel] [PULL 2/2] sdl2: restore window dimensions by resize

2018-06-14 Thread Gerd Hoffmann
From: Amadeusz Sławiński instead of destroying and recreating window, fixes segfault caused by handle_keyup trying to access no more existing window when using Ctrl-Alt-U to restore window "un-scaled" dimensions Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault.

Re: [Qemu-devel] [PATCH 0/4] Fix usb-ccid hotplug regression

2018-06-14 Thread Gerd Hoffmann
On Wed, Jun 13, 2018 at 06:18:19PM +0200, Paolo Bonzini wrote: > On 31/05/2018 21:51, Marc-André Lureau wrote: > > Hi, > > > > The following series fixes the usb-ccid hotplug regression introduced > > by commit 675f22c6d3b0: the plugged device is not completely removed > > on device_del anymore,

Re: [Qemu-devel] [PATCH 2/3] migration: Wake rate limiting for urgent requests

2018-06-14 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Wed, Jun 13, 2018 at 11:26:41AM +0100, Dr. David Alan Gilbert (git) wrote: > > [...] > > > @@ -2932,10 +2943,24 @@ static void *migration_thread(void *opaque) > > > > migration_update_counters(s, current_time); > > > > +urgent =

Re: [Qemu-devel] [PATCH 9/9] hw/arm/virt: Add virt-3.0 machine type

2018-06-14 Thread Auger Eric
Hi Dan, Laszlo, On 06/14/2018 10:59 AM, Daniel P. Berrangé wrote: > On Thu, Jun 14, 2018 at 10:56:20AM +0200, Laszlo Ersek wrote: >> Hi Eric, >> >> On 06/14/18 08:27, Auger Eric wrote: >>> Hi Laszlo, >>> >>> On 06/13/2018 11:05 PM, Laszlo Ersek wrote: On 06/13/18 10:48, Eric Auger wrote:

Re: [Qemu-devel] [PATCH v4 3/3] hw/vfio/display: add ramfb support

2018-06-14 Thread Erik Skultety
On Thu, Jun 14, 2018 at 12:36:25AM +0200, Gerd Hoffmann wrote: > On Wed, Jun 13, 2018 at 01:50:47PM -0600, Alex Williamson wrote: > > On Wed, 13 Jun 2018 10:41:49 +0200 > > Gerd Hoffmann wrote: > > > > > So we have a boot display when using a vgpu as primary display. > > > > > > Use

[Qemu-devel] [PULL v2 2/3] coverity-model: replay data is considered trusted

2018-06-14 Thread Markus Armbruster
From: Paolo Bonzini Replay data is not considered a possible attack vector; add a model that does not use getc so that "tainted data" warnings are suppressed. Signed-off-by: Paolo Bonzini Message-Id: <20180514141218.28438-1-pbonz...@redhat.com> Reviewed-by: Markus Armbruster [Whitespace

[Qemu-devel] [PULL v2 0/3] Miscellaneous patches for 2018-06-13

2018-06-14 Thread Markus Armbruster
The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: Merge remote-tracking branch 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 15:34:34 +0100) are available in the Git repository at: git://repo.or.cz/qemu/armbru.git

Re: [Qemu-devel] [PATCH v2 3/4] block: Remove deprecated -drive option serial

2018-06-14 Thread Richard W.M. Jones
On Thu, Jun 14, 2018 at 11:55:43AM +0200, Kevin Wolf wrote: > The -drive option serial was deprecated in QEMU 2.10. It's time to > remove it. > > Tests need to be updated to set the serial number with -global instead > of using the -drive option. Libguestfs uses this option to set the disk

Re: [Qemu-devel] [PATCH v1 3/3] travis: reduce time taken for trace-backend testing

2018-06-14 Thread Philippe Mathieu-Daudé
On 06/14/2018 09:53 AM, Alex Bennée wrote: > These builds are reaching regular timeouts and probably don't need to > be so widely exercised. ftrace and ust in particular are used in > conjunction with whole system profiling which makes most sense with > KVM setups, hence the native softmmu target.

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Daniel P . Berrangé
On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: > On Wed, Jun 13, 2018 at 10:28:09AM +0100, Daniel P. Berrangé wrote: > > On Wed, Jun 13, 2018 at 12:02:59PM +0800, Peter Xu wrote: > > > On Tue, Jun 12, 2018 at 09:52:45AM +0100, Peter Maydell wrote: > > > > On 12 June 2018 at 07:24, Peter

[Qemu-devel] [PULL 1/2] ui: darwin: gtk: Add missing input keymap

2018-06-14 Thread Gerd Hoffmann
From: Keno Fischer In appears the input keymap for osx was forgotten in the commit that converted the gtk frontend to keycodemapdb. Add it. Fixes: 2ec78706 ("ui: convert GTK and SDL1 frontends to keycodemapdb") CC: Daniel P. Berrange Signed-off-by: Keno Fischer Message-id:

Re: [Qemu-devel] [PATCH v4 3/3] hw/vfio/display: add ramfb support

2018-06-14 Thread Laszlo Ersek
On 06/14/18 00:36, Gerd Hoffmann wrote: > On Wed, Jun 13, 2018 at 01:50:47PM -0600, Alex Williamson wrote: >> I suppose in the UEFI case runtime services can be used to continue >> writing this display, > > Yes. Small clarification for the wording -- "UEFI runtime services" do not include

[Qemu-devel] [PULL 0/2] Ui 20180614 patches

2018-06-14 Thread Gerd Hoffmann
The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: Merge remote-tracking branch 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 15:34:34 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/ui-20180614-pull-request

[Qemu-devel] [PATCH v2 3/4] block: Remove deprecated -drive option serial

2018-06-14 Thread Kevin Wolf
The -drive option serial was deprecated in QEMU 2.10. It's time to remove it. Tests need to be updated to set the serial number with -global instead of using the -drive option. Signed-off-by: Kevin Wolf Reviewed-by: Markus Armbruster Reviewed-by: Jeff Cody Signed-off-by: Kevin Wolf ---

[Qemu-devel] [PATCH v2 2/4] block: Remove deprecated -drive option addr

2018-06-14 Thread Kevin Wolf
The -drive option addr was deprecated in QEMU 2.10. It's time to remove it. Signed-off-by: Kevin Wolf Reviewed-by: Markus Armbruster Reviewed-by: Jeff Cody --- include/sysemu/blockdev.h | 1 - blockdev.c| 17 + device-hotplug.c | 4

Re: [Qemu-devel] [PATCH v2] CODING_STYLE: Define our preferred form for multiline comments

2018-06-14 Thread Peter Maydell
On 13 June 2018 at 17:55, John Snow wrote: > The same reasoning could be used to justify > > /* two > * lines */ > > as it's ... actually just two lines. I think people don't seem to like > this much either (why? does it look 'naked' on the end?) I dislike the way it breaks up the line of

Re: [Qemu-devel] [PATCH] ps2: check PS2Queue wptr pointer in post_load routine

2018-06-14 Thread liujunjie (A)
ping > -Original Message- > From: liujunjie (A) > Sent: Thursday, June 07, 2018 4:03 PM > To: kra...@redhat.com; berra...@redhat.com > Cc: Gonglei (Arei) ; wangxin (U) > ; Huangweidong (C) > ; fangying ; > qemu-devel@nongnu.org; liujunjie (A) > Subject: [PATCH] ps2: check PS2Queue wptr

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Peter Maydell
On 14 June 2018 at 09:14, Daniel P. Berrangé wrote: > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: >> Then is there an easy way to port the specfile and tools to QEMU >> repository so that we can pack that even with a git tree? > Well if we want to have a RPM spec file for QEMU

Re: [Qemu-devel] [PATCH] xilinx_spips: Make dma transactions as per dma_burst_size

2018-06-14 Thread Edgar E. Iglesias
On Thu, Jun 14, 2018 at 10:57:04AM +0530, Sai Pavan Boddu wrote: > Qspi dma has a burst length of 64 bytes, So limit transaction length to > 64 max. Hi Sai, Is this a v2 or a resend? > > Signed-off-by: Sai Pavan Boddu > --- > hw/ssi/xilinx_spips.c | 18 +++--- >

Re: [Qemu-devel] [PATCH v4 2/2] intel-iommu: start to use error_report_once

2018-06-14 Thread Markus Armbruster
Auger Eric writes: > Hi, > On 06/13/2018 10:05 AM, Markus Armbruster wrote: >> Peter Xu writes: >> >>> Replace existing trace_vtd_err() with error_report_once() then stderr >>> will capture something if any of the error happens, meanwhile we don't >>> suffer from any DDOS. Then remove the

Re: [Qemu-devel] [PATCH v4 2/2] intel-iommu: start to use error_report_once

2018-06-14 Thread Peter Maydell
On 14 June 2018 at 13:51, Markus Armbruster wrote: > Auger Eric writes: > >> Hi, >> On 06/13/2018 10:05 AM, Markus Armbruster wrote: >>> Peter Xu writes: >>> Replace existing trace_vtd_err() with error_report_once() then stderr will capture something if any of the error happens,

Re: [Qemu-devel] [PULL v2 0/3] Miscellaneous patches for 2018-06-13

2018-06-14 Thread Markus Armbruster
Peter Maydell writes: > On 14 June 2018 at 13:43, Markus Armbruster wrote: >> The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: >> >> Merge remote-tracking branch >> 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 >> 15:34:34 +0100) >> >>

Re: [Qemu-devel] [PATCH v2 1/4] block: Remove deprecated -drive geometry options

2018-06-14 Thread Markus Armbruster
Kevin Wolf writes: > The -drive options cyls, heads, secs and trans were deprecated in > QEMU 2.10. It's time to remove them. > > hd-geo-test tested both the old version with geometry options in -drive > and the new one with -device. Therefore the code using -drive doesn't > have to be replaced

[Qemu-devel] [PATCH resend v2] qga: unset frozen state if no mount points are frozen

2018-06-14 Thread Chen Hanxiao
From: Chen Hanxiao If we set mountpoints to qmp_guest_fsfreeze_freeze_list, we may got nothing to freeze as all mountpoints are not valid. So call ga_unset_frozen in this senario. Also, if we return 0 frozen fs, there is no need to call guest-fsfreeze-thaw. Cc: Michael Roth Signed-off-by:

Re: [Qemu-devel] [RFC v2] target/arm: add ARMv6-M UNDEFINED 32-bit instruction test

2018-06-14 Thread Alex Bennée
Stefan Hajnoczi writes: > Test that 32-bit instructions declared UNDEFINED in the ARMv6-M > Reference Manual really do raise an exception. Also test that the 6 > 32-bit instructions defined in the ARMv6-M Reference Manual do not raise > an exception. > > The Intel HEX (.hex) file is included

Re: [Qemu-devel] [PATCH v0 2/2] qmp: add block-set-copy-on-read command

2018-06-14 Thread Kevin Wolf
Am 13.06.2018 um 18:41 hat Max Reitz geschrieben: > On 2018-06-13 18:02, Eric Blake wrote: > > On 06/13/2018 10:47 AM, Denis Plotnikov wrote: > >> The command enables/disables copy-on-read mode for VM's disk while > >> VM is running. > >> > >> This is needed when using external disk readers to

[Qemu-devel] [PATCH v2 4/4] block: Remove dead deprecation warning code

2018-06-14 Thread Kevin Wolf
We removed all options from the 'deprecated' array, so the code is dead and can be removed as well. Signed-off-by: Kevin Wolf --- blockdev.c | 12 1 file changed, 12 deletions(-) diff --git a/blockdev.c b/blockdev.c index 695e10d398..4ab3d6ec0b 100644 --- a/blockdev.c +++

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Peter Xu
On Thu, Jun 14, 2018 at 11:50:23AM +0100, Peter Maydell wrote: > On 14 June 2018 at 09:14, Daniel P. Berrangé wrote: > > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: > >> Then is there an easy way to port the specfile and tools to QEMU > >> repository so that we can pack that even

Re: [Qemu-devel] [PATCH 12/18] block-qdict: Clean up qdict_crumple() a bit

2018-06-14 Thread Markus Armbruster
Kevin Wolf writes: > Am 13.06.2018 um 17:23 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Am 12.06.2018 um 14:58 hat Markus Armbruster geschrieben: >> >> When you mix scalar and non-scalar keys, whether you get an "already >> >> set as scalar" or an "already set as dict"

[Qemu-devel] [PULL v2 1/3] Revert "Makefile: add target to print generated files"

2018-06-14 Thread Markus Armbruster
This reverts commit 9578f8cc3e8bd71de8e3f543dc7b95644d64824e. The patch snuck in by accident without having been posted to qemu-devel. It's entirely redundant: existing target print-% already serves the purpose. Cc: Michael S. Tsirkin Signed-off-by: Markus Armbruster Message-Id:

Re: [Qemu-devel] [PATCH v14 1/6] i386: Set TOPOEXT unconditionally for comapatibility

2018-06-14 Thread Moger, Babu
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Wednesday, June 13, 2018 9:22 PM > To: Moger, Babu > Cc: m...@redhat.com; marcel.apfelb...@gmail.com; pbonz...@redhat.com; > r...@twiddle.net; mtosa...@redhat.com; qemu-devel@nongnu.org; >

Re: [Qemu-devel] [PATCH v1 06/11] pc-dimm: don't allow to access "size" before the device was realized

2018-06-14 Thread Igor Mammedov
On Wed, 13 Jun 2018 16:03:35 +0200 David Hildenbrand wrote: > On 13.06.2018 14:56, Igor Mammedov wrote: > > On Mon, 11 Jun 2018 14:16:50 +0200 > > David Hildenbrand wrote: > > > >> "size" should not be queried before the device was realized. Let' make > >> that explicit. > >> > >>

Re: [Qemu-devel] [PATCH v2 0/2] kvm: x86 CPU power management

2018-06-14 Thread Daniel P . Berrangé
On Tue, Jun 12, 2018 at 09:47:11PM +0300, Michael S. Tsirkin wrote: > This adds ability to expose host CPU power management capabilities to > guests. For intel guests, this is sufficient for guest to enable > low power CPU power management. For AMD guests it isn't sufficient, > deeper C-states are

[Qemu-devel] [PATCH] pc-bios/s390-ccw: Optimize the s390-ccw bios for size

2018-06-14 Thread Thomas Huth
Since we're storing the firmware blobs in the QEMU git repository, it would be nice if the blobs would be a little bit smaller. By using -Os and -fno-asynchronous-unwind-tables the size of the s390-ccw.img can be decreased by ca. 4kB, and the size of s390-netboot.img even by ca. 45kB. The change

Re: [Qemu-devel] [PATCH v4 1/2] qapi: allow empty branches in flat unions

2018-06-14 Thread Anton Nefedov
On 14/6/2018 10:19 AM, Markus Armbruster wrote: Anton Nefedov writes: It often happens that just a few discriminator values imply extra data in a flat union. Existing checks did not make possible to leave other values uncovered. Such cases had to be worked around by either stating a dummy

Re: [Qemu-devel] [virtio-dev] Re: [PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net

2018-06-14 Thread Cornelia Huck
I've been pointed to this discussion (which I had missed previously) and I'm getting a headache. Let me first summarize how I understand how this feature is supposed to work, then I'll respond to some individual points. The basic idea is to enable guests to migrate seamlessly, while still making

Re: [Qemu-devel] [PULL 0/8] Linux user for 3.0 patches

2018-06-14 Thread Peter Maydell
On 12 June 2018 at 11:58, Laurent Vivier wrote: > The following changes since commit 9f55925b8f50a962d1d08d815044db7767ae3838: > > Merge remote-tracking branch > 'remotes/vivier/tags/m68k-for-3.0-pull-request' into staging (2018-06-11 > 12:46:16 +0100) > > are available in the Git repository

[Qemu-devel] [PATCH v1 2/3] travis: reduce coverage of gprof build

2018-06-14 Thread Alex Bennée
This build is regularly timing out and even switching off linux-user wasn't enough. Instead explicitly choose a target list of broadly the "major" architectures. This is enough to check the gprof build machinery works without worrying about the actual coverage results. I did try various YAML

[Qemu-devel] [PATCH v1 3/3] travis: reduce time taken for trace-backend testing

2018-06-14 Thread Alex Bennée
These builds are reaching regular timeouts and probably don't need to be so widely exercised. ftrace and ust in particular are used in conjunction with whole system profiling which makes most sense with KVM setups, hence the native softmmu target. We also expand simple to cover the multiple log

Re: [Qemu-devel] [PATCH v1 06/11] pc-dimm: don't allow to access "size" before the device was realized

2018-06-14 Thread Igor Mammedov
On Wed, 13 Jun 2018 18:33:37 -0300 Eduardo Habkost wrote: > On Wed, Jun 13, 2018 at 04:03:35PM +0200, David Hildenbrand wrote: > > On 13.06.2018 14:56, Igor Mammedov wrote: > > > On Mon, 11 Jun 2018 14:16:50 +0200 > > > David Hildenbrand wrote: > > > > > >> "size" should not be queried

Re: [Qemu-devel] [PATCH 2/3] qcow2: refactor data compression

2018-06-14 Thread Kevin Wolf
Am 08.06.2018 um 21:20 hat Vladimir Sementsov-Ogievskiy geschrieben: > Make a separate function for compression to be parallelized later. > - use .avail_aut field instead of .next_out to calculate size of s/avail_aut/avail_out/ >compressed data. It looks more natural and it allows to keep

Re: [Qemu-devel] [PULL 0/1] Block patches

2018-06-14 Thread Peter Maydell
On 13 June 2018 at 15:53, Jeff Cody wrote: > The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: > > Merge remote-tracking branch > 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 > 15:34:34 +0100) > > are available in the git repository at: >

Re: [Qemu-devel] [PATCH 3/3] qcow2: add compress threads

2018-06-14 Thread Kevin Wolf
Am 08.06.2018 um 21:20 hat Vladimir Sementsov-Ogievskiy geschrieben: > Do data compression in separate threads. This significantly improve > performance for qemu-img convert with -W (allow async writes) and -c > (compressed) options. > > Signed-off-by: Vladimir Sementsov-Ogievskiy Looks correct

[Qemu-devel] [RFCv2 PATCH 1/1] SPARC64: add icount support

2018-06-14 Thread Mark Cave-Ayland
This patch adds gen_io_start()/gen_io_end() to various instructions as required in order to boot my OpenBIOS test images on qemu-system-sparc64 with icount enabled. Signed-off-by: Mark Cave-Ayland --- target/sparc/translate.c | 97 1 file

Re: [Qemu-devel] [qemu-s390x] [PATCH] pc-bios/s390-ccw: Optimize the s390-ccw bios for size

2018-06-14 Thread Christian Borntraeger
On 06/14/2018 10:48 AM, Thomas Huth wrote: > Since we're storing the firmware blobs in the QEMU git repository, it > would be nice if the blobs would be a little bit smaller. By using -Os > and -fno-asynchronous-unwind-tables the size of the s390-ccw.img can be > decreased by ca. 4kB, and the

Re: [Qemu-devel] [qemu-s390x] [PATCH] pc-bios/s390-ccw: Optimize the s390-ccw bios for size

2018-06-14 Thread Thomas Huth
On 14.06.2018 12:55, Christian Borntraeger wrote: > > On 06/14/2018 10:48 AM, Thomas Huth wrote: >> Since we're storing the firmware blobs in the QEMU git repository, it >> would be nice if the blobs would be a little bit smaller. By using -Os >> and -fno-asynchronous-unwind-tables the size of

Re: [Qemu-devel] [virtio-dev] Re: [PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net

2018-06-14 Thread Michael S. Tsirkin
On Wed, Jun 13, 2018 at 06:02:01PM -0700, Siwei Liu wrote: > >> And it's the guest that needs failover support not the VM. > > > > > > Isn't guest and VM synonymous? Guest is whatever software is running on top of the hypervisor. The virtual machine is the interface between the two. -- MST

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Alex Bennée
Peter Xu writes: > On Thu, Jun 14, 2018 at 11:50:23AM +0100, Peter Maydell wrote: >> On 14 June 2018 at 09:14, Daniel P. Berrangé wrote: >> > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: >> >> Then is there an easy way to port the specfile and tools to QEMU >> >> repository so

Re: [Qemu-devel] [PATCH 12/18] block-qdict: Clean up qdict_crumple() a bit

2018-06-14 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Thu, Jun 14, 2018 at 10:40:58AM +0200, Kevin Wolf wrote: >> Am 13.06.2018 um 17:23 hat Markus Armbruster geschrieben: >> > Kevin Wolf writes: >> > >> > > Am 12.06.2018 um 14:58 hat Markus Armbruster geschrieben: >> > >> When you mix scalar and non-scalar keys,

[Qemu-devel] [RFC v2] target/arm: add ARMv6-M UNDEFINED 32-bit instruction test

2018-06-14 Thread Stefan Hajnoczi
Test that 32-bit instructions declared UNDEFINED in the ARMv6-M Reference Manual really do raise an exception. Also test that the 6 32-bit instructions defined in the ARMv6-M Reference Manual do not raise an exception. The Intel HEX (.hex) file is included to save people the trouble of

Re: [Qemu-devel] [PATCH] ui: darwin: gtk: Add missing input keymap

2018-06-14 Thread Daniel P . Berrangé
CC'ing Gerd as ui/ tree maintainer. On Thu, Jun 14, 2018 at 09:23:55AM +0100, Daniel P. Berrangé wrote: > On Wed, Jun 13, 2018 at 07:51:56PM -0400, Keno Fischer wrote: > > In appears the input keymap for osx was forgotten in the commit that > > converted the gtk frontend to keycodemapdb. Add it.

Re: [Qemu-devel] [PATCH V8 11/17] qapi: Add new command to query colo status

2018-06-14 Thread Markus Armbruster
"Dr. David Alan Gilbert" writes: > * Zhang Chen (zhangc...@gmail.com) wrote: >> On Mon, Jun 11, 2018 at 2:48 PM, Markus Armbruster >> wrote: >> >> > Zhang Chen writes: >> > >> > > On Thu, Jun 7, 2018 at 8:59 PM, Markus Armbruster >> > > wrote: >> > > >> > >> Zhang Chen writes: >> > >> >> >

Re: [Qemu-devel] [PATCH 9/9] hw/arm/virt: Add virt-3.0 machine type

2018-06-14 Thread Laszlo Ersek
Hi Eric, On 06/14/18 08:27, Auger Eric wrote: > Hi Laszlo, > > On 06/13/2018 11:05 PM, Laszlo Ersek wrote: >> On 06/13/18 10:48, Eric Auger wrote: >> >>> PATCH: merge of ECAM and VCPU extension >>> - Laszlo reviewed the ECAM changes but I dropped his R-b >>> due to the squash >> >> Was there

[Qemu-devel] [RFCv2 PATCH 0/1] SPARC64: add icount support

2018-06-14 Thread Mark Cave-Ayland
This is a patch I've had in an earlier form for a while but never really developed due to experiencing random hangs when writing to the SPARC64 CPU timers. Fortunately it seems the recent icount timer fixes have resolved the underlying issues and with this patch I am able to boot all my

Re: [Qemu-devel] [PULL 50/69] hw/alpha/dp264: Use the TYPE_SMC37C669_SUPERIO

2018-06-14 Thread Philippe Mathieu-Daudé
On 06/13/2018 02:17 PM, Philippe Mathieu-Daudé wrote: > On 06/13/2018 01:35 PM, Philippe Mathieu-Daudé wrote: >> On 06/13/2018 01:21 PM, Paolo Bonzini wrote: >>> On 01/06/2018 20:51, Emilio G. Cota wrote: On Tue, Mar 13, 2018 at 23:47:00 +0100, Paolo Bonzini wrote: > From: Philippe

Re: [Qemu-devel] [PULL 0/3] Miscellaneous patches for 2018-06-13

2018-06-14 Thread Markus Armbruster
no-re...@patchew.org writes: > Hi, > > This series seems to have some coding style problems. See output below for > more information: Quick respin coming.

[Qemu-devel] [PATCH v1 1/3] travis: display config.log when configure fails

2018-06-14 Thread Alex Bennée
From: Daniel P. Berrangé When configure fails in CI systems we must be able to see the contents of the config.log file to diagnose the root cause. Signed-off-by: Daniel P. Berrangé Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Fam Zheng [AJB: used Eric's suggested

[Qemu-devel] [PATCH v1 0/3] Current Travis Patches

2018-06-14 Thread Alex Bennée
Hi, Mine are mostly aimed at reducing the build time of a number of bits of the matrix which keep tripping up on the time limit. I'll put the pull-req in tomorrow if there are no major complaints. Alex Bennée (2): travis: reduce coverage of gprof build travis: reduce time taken for

[Qemu-devel] [PATCH] coverity-model: Fix indentation messed up in commit 04a0afe5285

2018-06-14 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- scripts/coverity-model.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c index 48b112393b..2ec753db05 100644 --- a/scripts/coverity-model.c +++ b/scripts/coverity-model.c @@

Re: [Qemu-devel] [PATCH v2 4/4] block: Remove dead deprecation warning code

2018-06-14 Thread Markus Armbruster
Kevin Wolf writes: > We removed all options from the 'deprecated' array, so the code is dead > and can be removed as well. > > Signed-off-by: Kevin Wolf Reviewed-by: Markus Armbruster

Re: [Qemu-devel] [PATCH] ui: darwin: gtk: Add missing input keymap

2018-06-14 Thread Daniel P . Berrangé
On Wed, Jun 13, 2018 at 07:51:56PM -0400, Keno Fischer wrote: > In appears the input keymap for osx was forgotten in the commit that > converted the gtk frontend to keycodemapdb. Add it. > > Fixes: 2ec78706 ("ui: convert GTK and SDL1 frontends to keycodemapdb") > CC: Daniel P. Berrange >

Re: [Qemu-devel] [PATCH v4 04/14] pc: prepare for multi stage hotplug handlers

2018-06-14 Thread Igor Mammedov
On Thu, 14 Jun 2018 08:14:05 +0200 David Hildenbrand wrote: > On 14.06.2018 00:05, Michael S. Tsirkin wrote: > > On Wed, Jun 13, 2018 at 09:37:54PM +0200, David Hildenbrand wrote: > > [ ... specific to machine_foo wiring ...] > > > > virtio_mem_plug() { > >

[Qemu-devel] [PATCH v2 1/4] block: Remove deprecated -drive geometry options

2018-06-14 Thread Kevin Wolf
The -drive options cyls, heads, secs and trans were deprecated in QEMU 2.10. It's time to remove them. hd-geo-test tested both the old version with geometry options in -drive and the new one with -device. Therefore the code using -drive doesn't have to be replaced there, we just need to remove

Re: [Qemu-devel] [PATCH v4 1/3] osdep: add wait.h compat macros

2018-06-14 Thread Markus Armbruster
"Michael S. Tsirkin" writes: > Man page for WCOREDUMP says: > > WCOREDUMP(wstatus) returns true if the child produced a core dump. > This macro should be employed only if WIFSIGNALED returned true. > > This macro is not specified in POSIX.1-2001 and is not > available on some UNIX

Re: [Qemu-devel] [PULL v2 0/3] Miscellaneous patches for 2018-06-13

2018-06-14 Thread Peter Maydell
On 14 June 2018 at 13:43, Markus Armbruster wrote: > The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: > > Merge remote-tracking branch > 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 > 15:34:34 +0100) > > are available in the Git

Re: [Qemu-devel] [PATCH v1 2/3] travis: reduce coverage of gprof build

2018-06-14 Thread Philippe Mathieu-Daudé
On 06/14/2018 09:53 AM, Alex Bennée wrote: > This build is regularly timing out and even switching off linux-user > wasn't enough. Instead explicitly choose a target list of broadly the > "major" architectures. This is enough to check the gprof build > machinery works without worrying about the

Re: [Qemu-devel] [PATCH 5/9] hw/arm/virt: GICv3 DT node with one or two redistributor regions

2018-06-14 Thread Andrew Jones
On Wed, Jun 13, 2018 at 10:48:39AM +0200, Eric Auger wrote: > This patch allows the creation of a GICv3 node with 1 or 2 > redistributor regions depending on the number of smu_cpus. > The second redistributor region is located just after the > existing RAM region, at 256GB and contains up to up to

Re: [Qemu-devel] [PATCH 12/18] block-qdict: Clean up qdict_crumple() a bit

2018-06-14 Thread Daniel P . Berrangé
On Thu, Jun 14, 2018 at 10:40:58AM +0200, Kevin Wolf wrote: > Am 13.06.2018 um 17:23 hat Markus Armbruster geschrieben: > > Kevin Wolf writes: > > > > > Am 12.06.2018 um 14:58 hat Markus Armbruster geschrieben: > > >> When you mix scalar and non-scalar keys, whether you get an "already > > >>

Re: [Qemu-devel] [PATCH 9/9] hw/arm/virt: Add virt-3.0 machine type

2018-06-14 Thread Daniel P . Berrangé
On Thu, Jun 14, 2018 at 10:56:20AM +0200, Laszlo Ersek wrote: > Hi Eric, > > On 06/14/18 08:27, Auger Eric wrote: > > Hi Laszlo, > > > > On 06/13/2018 11:05 PM, Laszlo Ersek wrote: > >> On 06/13/18 10:48, Eric Auger wrote: > >> > >>> PATCH: merge of ECAM and VCPU extension > >>> - Laszlo

[Qemu-devel] [PATCH v2 0/4] block: Remove deprecated -drive options

2018-06-14 Thread Kevin Wolf
We deprecated a bunch of -drive options in 2.10, so let's remove them for 3.0. v2: - Simplified hd-geo-test code after removing test cases [Markus] - Split patch 3 and 4 so that the deprecation warning code can be easily restored if we ever need it again [Markus] Kevin Wolf (4): block:

Re: [Qemu-devel] bug in reopen arch

2018-06-14 Thread Kevin Wolf
Am 12.06.2018 um 20:57 hat Vladimir Sementsov-Ogievskiy geschrieben: > Hi all! > > I've faced the following problem: > >     1. create image with dirty bitmap, a.qcow2 (start qemu and run qmp >     command block-dirty-bitmap-add) > >     2. run the following commands: > >     qemu-img

Re: [Qemu-devel] [PATCH 2/3] migration: Wake rate limiting for urgent requests

2018-06-14 Thread Peter Xu
On Thu, Jun 14, 2018 at 09:50:35AM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Wed, Jun 13, 2018 at 11:26:41AM +0100, Dr. David Alan Gilbert (git) > > wrote: > > > > [...] > > > > > @@ -2932,10 +2943,24 @@ static void *migration_thread(void *opaque) > > >

Re: [Qemu-devel] [PATCH 3/3] migration/postcopy: Wake rate limit sleep on postcopy request

2018-06-14 Thread Peter Xu
On Wed, Jun 13, 2018 at 11:26:42AM +0100, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Use the 'urgent request' mechanism added in the previous patch > for entries added to the postcopy request queue for RAM. Ignore > the rate limiting while we have requests. > >

[Qemu-devel] [PULL v2 3/3] Purge uses of banned g_assert_FOO()

2018-06-14 Thread Markus Armbruster
We banned use of certain g_assert_FOO() functions outside tests, and made checkpatch.pl flag them (commit 6e9389563e5). We neglected to purge existing uses. Do that now. Signed-off-by: Markus Armbruster Message-Id: <20180608170231.27912-1-arm...@redhat.com> Reviewed-by: Eric Blake

Re: [Qemu-devel] [PATCH v3 1/9] ppc4xx_i2c: Remove unimplemented sdata and intr registers

2018-06-14 Thread BALATON Zoltan
On Thu, 14 Jun 2018, David Gibson wrote: On Thu, Jun 14, 2018 at 02:17:00AM +0200, BALATON Zoltan wrote: Signed-off-by: BALATON Zoltan But.. they are implemented. Albeit as an entirely software controlled register. They were implemented only in that they could be written and read but did

Re: [Qemu-devel] [PATCH] target/arm: Allow ARMv6-M Thumb2 instructions

2018-06-14 Thread Stefan Hajnoczi
On Wed, Jun 13, 2018 at 08:10:23PM +0300, Julia Suvorova via Qemu-devel wrote: > On 13.06.2018 17:05, Stefan Hajnoczi wrote: > > On Tue, Jun 12, 2018 at 11:46:32PM +0300, Julia Suvorova wrote: > > > ARMv6-M supports 6 Thumb2 instructions. This patch checks for these > > > instructions and allows

Re: [Qemu-devel] [RFC v1 1/1] virtio-crypto: Allow disabling of cipher algorithms for virtio-crypto device

2018-06-14 Thread Daniel P . Berrangé
On Wed, Jun 13, 2018 at 07:28:08PM +0200, Halil Pasic wrote: > > > On 06/13/2018 05:05 PM, Daniel P. Berrangé wrote: > > On Wed, Jun 13, 2018 at 11:01:05AM -0400, Farhan Ali wrote: > > > Hi Daniel > > > > > > On 06/13/2018 05:37 AM, Daniel P. Berrangé wrote: > > > > On Tue, Jun 12, 2018 at

Re: [Qemu-devel] [PATCH 12/18] block-qdict: Clean up qdict_crumple() a bit

2018-06-14 Thread Kevin Wolf
Am 13.06.2018 um 17:23 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Am 12.06.2018 um 14:58 hat Markus Armbruster geschrieben: > >> When you mix scalar and non-scalar keys, whether you get an "already > >> set as scalar" or an "already set as dict" error depends on qdict > >>

Re: [Qemu-devel] [PATCH 9/9] hw/arm/virt: Add virt-3.0 machine type

2018-06-14 Thread Auger Eric
Hi Laszlo, On 06/14/2018 10:56 AM, Laszlo Ersek wrote: > Hi Eric, > > On 06/14/18 08:27, Auger Eric wrote: >> Hi Laszlo, >> >> On 06/13/2018 11:05 PM, Laszlo Ersek wrote: >>> On 06/13/18 10:48, Eric Auger wrote: >>> PATCH: merge of ECAM and VCPU extension - Laszlo reviewed the ECAM

Re: [Qemu-devel] [PATCH v0 2/2] qmp: add block-set-copy-on-read command

2018-06-14 Thread Alberto Garcia
On Thu 14 Jun 2018 11:00:55 AM CEST, Kevin Wolf wrote: > Am 13.06.2018 um 18:41 hat Max Reitz geschrieben: >> On 2018-06-13 18:02, Eric Blake wrote: >> > On 06/13/2018 10:47 AM, Denis Plotnikov wrote: >> >> The command enables/disables copy-on-read mode for VM's disk while >> >> VM is running. >>

Re: [Qemu-devel] [PATCH v0 2/2] qmp: add block-set-copy-on-read command

2018-06-14 Thread Kevin Wolf
Am 14.06.2018 um 11:03 hat Alberto Garcia geschrieben: > On Thu 14 Jun 2018 11:00:55 AM CEST, Kevin Wolf wrote: > > Am 13.06.2018 um 18:41 hat Max Reitz geschrieben: > >> On 2018-06-13 18:02, Eric Blake wrote: > >> > On 06/13/2018 10:47 AM, Denis Plotnikov wrote: > >> >> The command

Re: [Qemu-devel] [PATCH v4 04/14] pc: prepare for multi stage hotplug handlers

2018-06-14 Thread Igor Mammedov
On Wed, 13 Jun 2018 17:51:01 +0200 David Hildenbrand wrote: > On 13.06.2018 17:48, Igor Mammedov wrote: > > On Wed, 13 Jun 2018 12:58:46 +0200 > > David Hildenbrand wrote: > > > >> On 08.06.2018 17:12, Michael S. Tsirkin wrote: > >>> On Fri, Jun 08, 2018 at 03:07:53PM +0200, David

Re: [Qemu-devel] [PATCH V8 11/17] qapi: Add new command to query colo status

2018-06-14 Thread Dr. David Alan Gilbert
* Markus Armbruster (arm...@redhat.com) wrote: > "Dr. David Alan Gilbert" writes: > > > * Zhang Chen (zhangc...@gmail.com) wrote: > >> On Mon, Jun 11, 2018 at 2:48 PM, Markus Armbruster > >> wrote: > >> > >> > Zhang Chen writes: > >> > > >> > > On Thu, Jun 7, 2018 at 8:59 PM, Markus

Re: [Qemu-devel] Questions about qemu enabling TCI (tcg/tci.c)

2018-06-14 Thread Peter Maydell
On 13 June 2018 at 15:10, yt zhang wrote: > Dear technicians, > Good day. > I encountered some difficulties in learning about the TCI part of QEMU. > When I use the following configuration command to enable TCI: > > "configure --enable-tcg-interpreter" > > Run the command as: > >

Re: [Qemu-devel] [PULL 0/3] Miscellaneous patches for 2018-06-13

2018-06-14 Thread Peter Maydell
On 13 June 2018 at 14:10, Markus Armbruster wrote: > The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: > > Merge remote-tracking branch > 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 > 15:34:34 +0100) > > are available in the Git

Re: [Qemu-devel] [libvirt] [PATCH v6 2/2] vl: fix use of --daemonize with --preconfig

2018-06-14 Thread Igor Mammedov
On Wed, 13 Jun 2018 14:09:32 -0300 Eduardo Habkost wrote: > On Wed, Jun 13, 2018 at 03:23:09PM +0100, Daniel P. Berrangé wrote: > > On Wed, Jun 13, 2018 at 11:17:30AM -0300, Eduardo Habkost wrote: > > > On Tue, Jun 12, 2018 at 01:50:33PM +0100, Daniel P. Berrangé wrote: > > > > On Tue, Jun

Re: [Qemu-devel] [PATCH v4 1/3] osdep: add wait.h compat macros

2018-06-14 Thread Peter Maydell
On 14 June 2018 at 13:56, Markus Armbruster wrote: > Suggest to drop the last sentence from the comment, and have the commit > message state you're providing a stub. This patch is already in upstream, commit 28012e190e68... thanks -- PMM

Re: [Qemu-devel] [PATCH v3 0/7] Reenable hmp for preconfig mode

2018-06-14 Thread Igor Mammedov
On Mon, 11 Jun 2018 14:44:41 +0200 Markus Armbruster wrote: > "Dr. David Alan Gilbert" writes: > > > * Markus Armbruster (arm...@redhat.com) wrote: > >> Let's also provide "quit", both in HMP and QMP. > > > > I tried enabling quit, but it fails with an incorrect > > state transition. >

Re: [Qemu-devel] [PATCH 12/18] block-qdict: Clean up qdict_crumple() a bit

2018-06-14 Thread Kevin Wolf
Am 14.06.2018 um 13:52 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Am 13.06.2018 um 17:23 hat Markus Armbruster geschrieben: > >> Kevin Wolf writes: > >> > >> > Am 12.06.2018 um 14:58 hat Markus Armbruster geschrieben: > >> >> When you mix scalar and non-scalar keys, whether

[Qemu-devel] [Bug 1463463] Re: PCI devices on PCI to PCI bridges stopped being accessable from Xen with QEMU 2.3.0

2018-06-14 Thread Thomas Huth
Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is

[Qemu-devel] [Bug 1386478] Re: PS/2 keyboard returns incorrect scan code for F7 to guest

2018-06-14 Thread Thomas Huth
I think this has been fixed by: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=8c10e0baf0260b5 ... so closing this ticket now. If you still have trouble, please re-open it. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of

[Qemu-devel] [RFC PATCH 1/2] hw/isa/smc37c669-superio: Basic 'Config Registers' implementation

2018-06-14 Thread Philippe Mathieu-Daudé
The Config Register 0..3 are used by the BIOS to enable functionalities. The FDC37C669 incorporates Software Configurable Logic (SCL) for ease of use. Use of the SCL feature allows programmable system configuration of key functions such as the FDC, parallel port, and UARTs.

[Qemu-devel] [Bug 1437367] Re: Qemu guest fails to write files with raw disk (like \\.\PhysicalDrive1) on Windows host.

2018-06-14 Thread Thomas Huth
Is there still anything left to do here, or could we close this ticket nowadays? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1437367 Title:

Re: [Qemu-devel] [PATCH v2 02/13] iommu: Add IOMMU index argument to notifier APIs

2018-06-14 Thread Alex Bennée
Peter Maydell writes: > Add support for multiple IOMMU indexes to the IOMMU notifier APIs. > When initializing a notifier with iommu_notifier_init(), the caller > must pass the IOMMU index that it is interested in. When a change > happens, the IOMMU implementation must pass >

Re: [Qemu-devel] [PATCH v2 01/13] iommu: Add IOMMU index concept to IOMMU API

2018-06-14 Thread Alex Bennée
Peter Maydell writes: > If an IOMMU supports mappings that care about the memory > transaction attributes, then it no longer has a unique > address -> output mapping, but more than one. We can > represent these using an IOMMU index, analogous to TCG's > mmu indexes. > > Signed-off-by: Peter

Re: [Qemu-devel] [PATCH v14 2/6] i386: Enable TOPOEXT feature on AMD EPYC CPU

2018-06-14 Thread Eduardo Habkost
On Wed, Jun 13, 2018 at 09:18:23PM -0400, Babu Moger wrote: > Enable TOPOEXT feature on EPYC CPU. This is required to support > hyperthreading on VM guests. Also extend xlevel to 0x801E. > > Signed-off-by: Babu Moger > --- > target/i386/cpu.c | 11 +-- > 1 file changed, 9

Re: [Qemu-devel] [PATCH v14 3/6] i386: Disable TOPOEXT feature on pc-2.12

2018-06-14 Thread Eduardo Habkost
On Wed, Jun 13, 2018 at 09:18:24PM -0400, Babu Moger wrote: > Disable TOPOEXT feature for older machines. > > Signed-off-by: Babu Moger > --- > include/hw/i386/pc.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h > index 04d1f8c..ecccf6b

[Qemu-devel] [RFC PATCH 0/2] smc37c669: Fix parallel overlapping VGA ioport

2018-06-14 Thread Philippe Mathieu-Daudé
Hi, This RFC series attempt to fix a regression introduced in a4cb773928e, and reported by Emilio: http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg00317.html Mark noticed the VGA and parallel I/O were overlapping: (qemu) info mtree address-space: memory

Re: [Qemu-devel] [PATCH v3 00/17] tcg: tb_lock removal redux v3

2018-06-14 Thread Alex Bennée
Alex Bennée writes: > Emilio G. Cota writes: > >> On Wed, May 30, 2018 at 16:05:14 -0700, Richard Henderson wrote: >>> On 05/30/2018 03:46 PM, Richard Henderson wrote: >>> > Thanks. Queued to tcg-next. >>> Hmph. Unqueued, at least for now. >>> >>>

  1   2   3   4   >