Re: [Qemu-devel] [PATCH] linux-headers: Update linux headers to 5.2-rc1

2019-05-20 Thread Cornelia Huck
On Mon, 20 May 2019 08:25:52 +0200 Cédric Le Goater wrote: > Update the QEMU copy of the Linux headers to upstream 5.2-rc1 (linux > commit a188339ca5a3). > > Signed-off-by: Cédric Le Goater FWIW, I have a headers update queued in my s390-next branch as well, and I plan to send a pull req sooni

Re: [Qemu-devel] [PATCH] linux-headers: Update linux headers to 5.2-rc1

2019-05-20 Thread Cédric Le Goater
On 5/20/19 9:03 AM, Cornelia Huck wrote: > On Mon, 20 May 2019 08:25:52 +0200 > Cédric Le Goater wrote: > >> Update the QEMU copy of the Linux headers to upstream 5.2-rc1 (linux >> commit a188339ca5a3). >> >> Signed-off-by: Cédric Le Goater > > FWIW, I have a headers update queued in my s390-ne

Re: [Qemu-devel] [PATCH v3 5/8] migration: Add multifd-compress parameter

2019-05-20 Thread Wei Yang
On Wed, May 15, 2019 at 02:15:41PM +0200, Juan Quintela wrote: >Signed-off-by: Juan Quintela > >--- >Rename it to NONE >Fix typos (dave) >--- > hmp.c| 17 + > hw/core/qdev-properties.c| 13 + > include/hw/qdev-properties.h | 1 + > migration/mi

Re: [Qemu-devel] [PATCH] Fix phb_placement backwards compatibility

2019-05-20 Thread Greg Kurz
On Mon, 20 May 2019 08:21:32 +0200 Laurent Vivier wrote: > On 20/05/2019 08:05, David Gibson wrote: > > When we added support for NVLink2 passthrough devices, we changed the > > phb_placement hook to handle the placement of NVLink2 bridges' specific > > resources. For compatibility we use a vers

Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console

2019-05-20 Thread Thomas Huth
On 20/05/2019 07.26, Gerd Hoffmann wrote: > On Sun, May 19, 2019 at 12:55:09AM +0200, Philippe Mathieu-Daudé wrote: >> Hi Gerd, >> >> On 5/10/19 12:46 PM, Gerd Hoffmann wrote: >>> Instead of fetching the prebuilt image from patchew download the install >>> iso and prepare the image locally. Instal

Re: [Qemu-devel] [PATCH] Fix phb_placement backwards compatibility

2019-05-20 Thread Cédric Le Goater
On 5/20/19 8:05 AM, David Gibson wrote: > When we added support for NVLink2 passthrough devices, we changed the > phb_placement hook to handle the placement of NVLink2 bridges' specific > resources. For compatibility we use a version that doesn't do this > allocation for old machine types. > > H

Re: [Qemu-devel] aspeed qemu question

2019-05-20 Thread Wim Vervoorn
Hello Cédric, It was not yet my intention to have this patch included in the qemu repo so I didn't pay attention to checking the indentation etc. So I misunderstood your suggestion. I am sorry about that. I will address your remarks in a new patch. Besides this I have another question. First

Re: [Qemu-devel] [PATCH v2 0/3] aspeed: cleanups and extensions

2019-05-20 Thread Cédric Le Goater
Hello, On 5/6/19 4:20 PM, Cédric Le Goater wrote: > Hello, > > Here is a series adding a couple of cleanups to the Aspeed SoCs to > prepare ground for extensions and new SoCs. > > Thanks, > > C. > > Changes since v1: > > - moved enum defining the Aspeed controller names under aspeed_soc.h >

Re: [Qemu-devel] [PATCH v2 2/2] iotests: test external snapshot with bitmap copying

2019-05-20 Thread Vladimir Sementsov-Ogievskiy
18.05.2019 4:31, John Snow wrote: > > > On 5/17/19 11:21 AM, Vladimir Sementsov-Ogievskiy wrote: >> This test shows that external snapshots and incremental backups are >> friends. >> >> Signed-off-by: Vladimir Sementsov-Ogievskiy >> --- >> tests/qemu-iotests/254 | 52 ++

Re: [Qemu-devel] [RFC PATCH] QEMU may write to system_memory before guest starts

2019-05-20 Thread Yury Kotov
It's to detect those cases in the future, yes. 17.05.2019, 21:25, "Eduardo Habkost" : > My memory is failing here: do we still need to fix a bug where > there are unexpected writes to system_memory, or this is just a > request to include a mechanism to help us detect those cases in > the future? >

Re: [Qemu-devel] QEMU on OpenBSD is broken?

2019-05-20 Thread Gerd Hoffmann
Hi, > > qemu-system-arm: cannot set up guest memory 'ram': Cannot allocate memory > > Broken pipe > > How much memory is trying to be allocated here? > > The default maximum data size is set to 768MB. If there is a requirement to > go beyond > that then the default has to be adjusted in /etc/l

[Qemu-devel] [PATCH] usb-tablet: fix serial compat property

2019-05-20 Thread Gerd Hoffmann
s/kbd/tablet/, fixes cut+paste bug. Cc: qemu-sta...@nongnu.org Reported-by: Dr. David Alan Gilbert Signed-off-by: Gerd Hoffmann --- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index 5d046a43e3d2..eb34f53a85b0 100644

[Qemu-devel] [Bug 1829682] Re: QEMU PPC SYSTEM regression - 3.1.0 and GIT - Fail to boot AIX

2019-05-20 Thread Ivan Warren via Qemu-devel
** Tags added: ppc64 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1829682 Title: QEMU PPC SYSTEM regression - 3.1.0 and GIT - Fail to boot AIX Status in QEMU: New Bug description: Built from

Re: [Qemu-devel] [PATCH v4 2/2] vfio-ccw: support async command subregion

2019-05-20 Thread Cornelia Huck
On Tue, 7 May 2019 17:47:33 +0200 Cornelia Huck wrote: > A vfio-ccw device may provide an async command subregion for > issuing halt/clear subchannel requests. If it is present, use > it for sending halt/clear request to the device; if not, fall > back to emulation (as done today). > > Signed-o

Re: [Qemu-devel] [PATCH] usb-tablet: fix serial compat property

2019-05-20 Thread Dr. David Alan Gilbert
* Gerd Hoffmann (kra...@redhat.com) wrote: > s/kbd/tablet/, fixes cut+paste bug. > > Cc: qemu-sta...@nongnu.org > Reported-by: Dr. David Alan Gilbert > Signed-off-by: Gerd Hoffmann Reviewed-by: Dr. David Alan Gilbert > --- > hw/core/machine.c | 2 +- > 1 file changed, 1 insertion(+), 1 delet

Re: [Qemu-devel] [PATCH] spapr: Add forgotten capability to migration stream

2019-05-20 Thread Greg Kurz
On Mon, 20 May 2019 16:14:32 +1000 David Gibson wrote: > On Fri, May 17, 2019 at 07:14:30PM +0200, Greg Kurz wrote: > > On Fri, 17 May 2019 14:18:23 +1000 > > David Gibson wrote: > > > > > spapr machine capabilities are supposed to be sent in the migration stream > > > so that we can sanity c

Re: [Qemu-devel] [PATCH v1 2/5] s390x/tcg: Implement VECTOR FIND ELEMENT EQUAL

2019-05-20 Thread David Hildenbrand
On 17.05.19 19:42, Richard Henderson wrote: > On 5/17/19 9:47 AM, Richard Henderson wrote: >> first_equal = n; >> first_zero = n; >> for (i = n - 1; i >= 0; --i) { >> if (data1 == data2) { >> first_equal = i; >> } >> if (data1 == 0) { >> f

Re: [Qemu-devel] [Qemu-block] [PATCH v2] migration/dirty-bitmaps: change bitmap enumeration method

2019-05-20 Thread Kevin Wolf
Am 17.05.2019 um 12:22 hat Vladimir Sementsov-Ogievskiy geschrieben: > 16.05.2019 22:03, John Snow wrote: > > On 5/16/19 6:12 AM, Vladimir Sementsov-Ogievskiy wrote: > >> But, on the other, hand, if we have implicitly-filtered node on target, we > >> were doing wrong thing anyway, > >> as dirty_bi

Re: [Qemu-devel] [PATCH v2 1/3] lsi53c895a: hide 53c895a registers in 53c810

2019-05-20 Thread Paolo Bonzini
On 17/05/19 16:12, Mark Cave-Ayland wrote: >> Initially I implemented it exactly as you suggest, via mask. But then >> I thought that memory_region_init_alias makes aliasing more obvious. >> I don't have a strong opinion on this one though. >> >> @Paolo, what do you think? > My general feeling is t

Re: [Qemu-devel] [RFC] hw/core/bus.c: Only the main system bus can have no parent

2019-05-20 Thread Damien Hedde
On 5/16/19 11:19 AM, Peter Maydell wrote: > On Thu, 16 May 2019 at 06:37, Markus Armbruster wrote: >> >> Peter Maydell writes: >> >>> In commit 80376c3fc2c38fdd453 in 2010 we added a workaround for >>> some qbus buses not being connected to qdev devices -- if the >>> bus has no parent object t

Re: [Qemu-devel] [PATCH v7 00/74] linux-user: Split do_syscall

2019-05-20 Thread Peter Maydell
On Sun, 19 May 2019 at 21:39, Richard Henderson wrote: > > Based-on: <20190519201953.20161-1-richard.hender...@linaro.org> > Aka "linux-user: path, clone, sparc, shmat fixes" > > Version 6 was > https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg04794.html > > Since v5, I've fixed the ioctl

Re: [Qemu-devel] [PATCH v1 3/5] s390x/tcg: Implement VECTOR FIND ELEMENT NOT EQUAL

2019-05-20 Thread David Hildenbrand
On 17.05.19 19:56, Richard Henderson wrote: > On 5/15/19 1:31 PM, David Hildenbrand wrote: >> Similar to VECTOR FIND ELEMENT EQUAL, however the search also stops on >> any inequality. A match for inequality seems to have precedence over >> a match for zero, because both elements have to be zero. >>

Re: [Qemu-devel] [Qemu-block] [PATCH] nvme: add Get/Set Feature Timestamp support

2019-05-20 Thread Kevin Wolf
Am 18.05.2019 um 03:49 hat Heitke, Kenneth geschrieben: > > > On 5/17/2019 12:24 AM, Klaus Birkelund wrote: > > On Fri, May 17, 2019 at 07:35:04AM +0200, Klaus Birkelund wrote: > > > Hi Kenneth, > > > > > > On Thu, May 16, 2019 at 05:24:47PM -0600, Heitke, Kenneth wrote: > > > > Hi Klaus, thank

Re: [Qemu-devel] [PATCH v1 1/5] s390x/tcg: Implement VECTOR FIND ANY ELEMENT EQUAL

2019-05-20 Thread David Hildenbrand
On 17.05.19 18:16, Richard Henderson wrote: > On 5/15/19 1:31 PM, David Hildenbrand wrote: >> +#define DEF_VFAE(BITS) >>\ >> +static int vfae##BITS(void *v1, const void *v2, const void *v3, uint8_t m5) >> > > > First, because this *is

Re: [Qemu-devel] [PATCH v2 1/2] hw: report invalid disable-legacy|modern usage for virtio-1-only devs

2019-05-20 Thread Daniel P . Berrangé
On Fri, May 17, 2019 at 04:01:29PM -0300, Eduardo Habkost wrote: > Hi, > > Sorry for taking so long to look at this more closely: > > On Fri, Feb 15, 2019 at 10:32:38AM +, Daniel P. Berrangé wrote: > > A number of virtio devices (gpu, crypto, mouse, keyboard, tablet) only > > support the virt

Re: [Qemu-devel] [PATCH] nvme: fix copy direction in DMA reads going to CMB

2019-05-20 Thread Kevin Wolf
Am 18.05.2019 um 09:39 hat Klaus Birkelund Jensen geschrieben: > `nvme_dma_read_prp` erronously used `qemu_iovec_*to*_buf` instead of > `qemu_iovec_*from*_buf` when the request involved the controller memory > buffer. > > Signed-off-by: Klaus Birkelund Jensen Thanks, applied to the block branch.

Re: [Qemu-devel] [PATCH v7 00/74] linux-user: Split do_syscall

2019-05-20 Thread Aleksandar Markovic
On May 20, 2019 11:43 AM, "Peter Maydell" wrote: > > On Sun, 19 May 2019 at 21:39, Richard Henderson > wrote: > > > > Based-on: <20190519201953.20161-1-richard.hender...@linaro.org> > > Aka "linux-user: path, clone, sparc, shmat fixes" > > > > Version 6 was > > https://lists.gnu.org/archive/html/

Re: [Qemu-devel] [PATCH v4 5/5] target/mips: Refactor and fix INSERT. instructions

2019-05-20 Thread Mateja Marjanovic
On 19.5.19. 07:25, Aleksandar Markovic wrote: On Apr 2, 2019 3:49 PM, "Mateja Marjanovic" mailto:mateja.marjano...@rt-rk.com>> wrote: > > From: Mateja Marjanovic > > > The old version of the helper for the INSERT. MSA instructions > has been replaced wit

Re: [Qemu-devel] [PATCH] usb-tablet: fix serial compat property

2019-05-20 Thread Laurent Vivier
On 20/05/2019 10:18, Gerd Hoffmann wrote: > s/kbd/tablet/, fixes cut+paste bug. > > Cc: qemu-sta...@nongnu.org > Reported-by: Dr. David Alan Gilbert > Signed-off-by: Gerd Hoffmann > --- > hw/core/machine.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/core/machine

Re: [Qemu-devel] [PULL 0/6] 9p patches 2019-05-17

2019-05-20 Thread Peter Maydell
On Fri, 17 May 2019 at 19:32, Greg Kurz wrote: > > The following changes since commit f2a930ad8c433c5583e28ec803c8ca7cb2f31ab5: > > Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-20190517' > into staging (2019-05-17 15:46:37 +0100) > > are available in the Git repository at: > >

Re: [Qemu-devel] [Qemu-block] [PATCH v2] migration/dirty-bitmaps: change bitmap enumeration method

2019-05-20 Thread Vladimir Sementsov-Ogievskiy
20.05.2019 12:27, Kevin Wolf wrote: > Am 17.05.2019 um 12:22 hat Vladimir Sementsov-Ogievskiy geschrieben: >> 16.05.2019 22:03, John Snow wrote: >>> On 5/16/19 6:12 AM, Vladimir Sementsov-Ogievskiy wrote: But, on the other, hand, if we have implicitly-filtered node on target, we were doi

Re: [Qemu-devel] [PATCH v4 03/11] block: Storage child access function

2019-05-20 Thread Vladimir Sementsov-Ogievskiy
10.04.2019 23:20, Max Reitz wrote: > For completeness' sake, add a function for accessing a node's storage > child, too. For filters, this is their filtered child; for non-filters, > this is bs->file. > > Some places are deliberately left unconverted: > - BDS opening/closing functions where bs->f

Re: [Qemu-devel] [PATCH v2 14/15] hmp: Expose manual_dirty_log_protect via "info kvm"

2019-05-20 Thread Paolo Bonzini
On 20/05/19 05:08, Peter Xu wrote: > Signed-off-by: Peter Xu > --- > hmp.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hmp.c b/hmp.c > index 56a3ed7375..f203a25740 100644 > --- a/hmp.c > +++ b/hmp.c > @@ -102,6 +102,8 @@ void hmp_info_kvm(Monitor *mon, const QDict *qdict) > }

Re: [Qemu-devel] [PATCH v2 13/15] qmp: Expose manual_dirty_log_protect via "query-kvm"

2019-05-20 Thread Paolo Bonzini
On 20/05/19 05:08, Peter Xu wrote: > Expose the new capability via "query-kvm" QMP command too so we know > whether that's turned on on the source VM when we want. > > Signed-off-by: Peter Xu Is this useful? We could I guess make a migration capability in order to benchmark with the old code, b

Re: [Qemu-devel] [PATCH v2 00/15] kvm/migration: support KVM_CLEAR_DIRTY_LOG

2019-05-20 Thread Paolo Bonzini
On 20/05/19 05:08, Peter Xu wrote: > This is v2 of the QEMU's KVM_CLEAR_DIRTY_LOG series. The major reason > for the repost is due to the new kvm capability recently introduced in > Linux 5.2-rc1 which is released just one day ago while the old cap is > obsolete now, so we'll need a linux header u

Re: [Qemu-devel] [PATCH v2 03/15] migration: No need to take rcu during sync_dirty_bitmap

2019-05-20 Thread Paolo Bonzini
On 20/05/19 05:08, Peter Xu wrote: > cpu_physical_memory_sync_dirty_bitmap() has one RAMBlock* as > parameter, which means that it must be with RCU read lock held > already. Taking it again inside seems redundant. Removing it. > Instead comment on the functions about the RCU read lock. > > Revie

Re: [Qemu-devel] [PATCH v2 11/15] kvm: Introduce slots lock for memory listener

2019-05-20 Thread Paolo Bonzini
On 20/05/19 05:08, Peter Xu wrote: > +/* Must be with slots_lock held */ Perhaps "Called with KVMMemoryListener slots_lock held."? Paolo > static KVMSlot *kvm_alloc_slot(KVMMemoryListener *kml)

Re: [Qemu-devel] [PATCH v2 12/15] kvm: Support KVM_CLEAR_DIRTY_LOG

2019-05-20 Thread Paolo Bonzini
On 20/05/19 05:08, Peter Xu wrote: > +s->manual_dirty_log_protect = > +kvm_check_extension(s, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); > +if (s->manual_dirty_log_protect) { > +ret = kvm_vm_enable_cap(s, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, 0, 1); > +if (ret) { > +

Re: [Qemu-devel] [PATCH v2 0/2] Add pseudo /proc/hardware and /proc/cpuinfo

2019-05-20 Thread Philippe Mathieu-Daudé
On 5/17/19 3:31 PM, Laurent Vivier wrote: > They are used by some package setup scripts to set the default configuration. > > v2: rebase > > Laurent Vivier (2): > linux-user: add pseudo /proc/cpuinfo for sparc > linux-user: add pseudo /proc/hardware for m68k > > linux-user/syscall.c | 27 ++

Re: [Qemu-devel] [PATCH 00/10] block: AioContext management, part 1

2019-05-20 Thread Kevin Wolf
Am 06.05.2019 um 19:17 hat Kevin Wolf geschrieben: > Recently, a few bugs were reported that resulted from an inconsistent > state regarding AioContexts. Block nodes can end up in different > contexts than their users expect - the AioContext of a node can even > change under the feet of a device wi

Re: [Qemu-devel] [PATCH v2 0/3] aspeed: cleanups and extensions

2019-05-20 Thread Philippe Mathieu-Daudé
On 5/20/19 9:47 AM, Cédric Le Goater wrote: > Hello, > > On 5/6/19 4:20 PM, Cédric Le Goater wrote: >> Hello, >> >> Here is a series adding a couple of cleanups to the Aspeed SoCs to >> prepare ground for extensions and new SoCs. >> >> Thanks, >> >> C. >> >> Changes since v1: >> >> - moved enum d

Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console

2019-05-20 Thread Philippe Mathieu-Daudé
On 5/20/19 9:14 AM, Thomas Huth wrote: > On 20/05/2019 07.26, Gerd Hoffmann wrote: >> On Sun, May 19, 2019 at 12:55:09AM +0200, Philippe Mathieu-Daudé wrote: >>> Hi Gerd, >>> >>> On 5/10/19 12:46 PM, Gerd Hoffmann wrote: Instead of fetching the prebuilt image from patchew download the install

Re: [Qemu-devel] [PATCH] usb-tablet: fix serial compat property

2019-05-20 Thread Philippe Mathieu-Daudé
On 5/20/19 10:18 AM, Gerd Hoffmann wrote: > s/kbd/tablet/, fixes cut+paste bug. > > Cc: qemu-sta...@nongnu.org > Reported-by: Dr. David Alan Gilbert > Signed-off-by: Gerd Hoffmann > --- > hw/core/machine.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/core/machine

[Qemu-devel] [Bug] Docs build fails at interop.rst

2019-05-20 Thread Aarushi Mehta
https://paste.fedoraproject.org/paste/kOPx4jhtUli---TmxSLrlw running python3-sphinx-2.0.1-1.fc31.noarch on Fedora release 31 (Rawhide) uname - a Linux iouring 5.1.0-0.rc6.git3.1.fc31.x86_64 #1 SMP Thu Apr 25 14:25:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Reverting commmit 90edef80a0852cf8a3d266

Re: [Qemu-devel] [PULL 0/2] target/alpha: Fix user-only floating-point exceptions

2019-05-20 Thread Peter Maydell
On Sun, 19 May 2019 at 15:37, Richard Henderson wrote: > > The following changes since commit 1b46b4daa6fbf45eddcf77877379a0afac341df9: > > Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190517-pull-request' > into staging (2019-05-17 17:25:19 +0100) > > are available in the Git reposit

Re: [Qemu-devel] [RISU v2 01/11] Makefile: undefine the arch name symbol

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > At least GCC defines the symbol "i386" to 1 to signal the target > platform. We need to use "i386" as an undefined symbol in order to > correctly include risu_reginfo_i386.h from risu.h. Add an -U option to > the build command to make sure the symbol remains undefined. > > S

Re: [Qemu-devel] [RISU v2 04/11] risu_reginfo_i386: implement arch-specific reginfo interface

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > CPU-specific code in risu_reginfo_* is expected to define and export > the following symbols: > > - arch_long_opts, arch_extra_help, process_arch_opt > - reginfo_size > - reginfo_init > - reginfo_is_eq > - reginfo_dump, reginfo_dump_mismatch > > Make risu_reginfo_i386.c impl

Re: [Qemu-devel] [PULL 00/10] MIPS queue for May 19th, 2019

2019-05-20 Thread Peter Maydell
On Sun, 19 May 2019 at 11:52, Aleksandar Markovic wrote: > > From: Aleksandar Markovic > > The following changes since commit 1b46b4daa6fbf45eddcf77877379a0afac341df9: > > Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190517-pull-request' > into staging (2019-05-17 17:25:19 +0100) > >

Re: [Qemu-devel] [RISU v2 05/11] risu_i386: implement missing CPU-specific functions

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > risu_i386.c is expected to implement the following functions: > > - advance_pc > - get_reginfo_paramreg, set_ucontext_paramreg > - get_risuop > - get_pc > > This patch adds the necessary code. We use EAX as the parameter > register and opcode "UD1 %xxx,%eax" for triggering R

Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > This allows us to drop dependency on NASM and build the test image > with GCC only. Adds support for x86_64, too. ./risu --master -t run.out test_i386.bin and then: ./risu -t run.out test_i386.bin Gives: loading test image test_i386.bin... starting apprentice im

Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console

2019-05-20 Thread Gerd Hoffmann
Hi, > > I'd vote to keep the current approach to overwrite "freebsd.img". It's a > > "cache" directory - if you want to have something persisten, Philippe, I > > think you should simply copy your image to a different location instead. > > My concern came when thinking about bisecting: /me tric

Re: [Qemu-devel] [RISU v2 08/11] configure: add i386/x86_64 architectures

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > Now that i386 and x86_64 architectures are supported by RISU, we want > to detect them and build RISU for them automatically. > > Suggested-by: Richard Henderson > Signed-off-by: Jan Bobek Reviewed-by: Alex Bennée > --- > configure | 10 ++ > 1 file changed, 6

Re: [Qemu-devel] [RISU v2 10/11] risu_reginfo_i386: replace xfeature constants with symbolic names

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > The original code used "magic numbers", which made it unclear in > some places. Include a reference to the Intel manual where the > constants' meaning is discussed. > > Signed-off-by: Jan Bobek Reviewed-by: Alex Bennée > --- > risu_reginfo_i386.c | 48 ++

Re: [Qemu-devel] [RISU v2 00/11] Support for i386/x86_64 with vector extensions

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > This patch series adds support for i386 and x86_64 architectures to > RISU. Notably, vector registers (SSE, AVX, AVX-512) are supported for > verification of the apprentice. This is V2 of the series posted in > [1]. > > I decided not to drop the register definitions from th

Re: [Qemu-devel] [PULL 00/10] MIPS queue for May 19th, 2019

2019-05-20 Thread Aleksandar Markovic
On May 20, 2019 2:11 PM, "Peter Maydell" wrote: > > On Sun, 19 May 2019 at 11:52, Aleksandar Markovic > wrote: > > > > From: Aleksandar Markovic > > > > The following changes since commit 1b46b4daa6fbf45eddcf77877379a0afac341df9: > > > > Merge remote-tracking branch 'remotes/kraxel/tags/ui-201

Re: [Qemu-devel] [PATCH v9 24/27] gdbstub: Add another handler for setting qemu.sstep

2019-05-20 Thread Alex Bennée
Jon Doron writes: > On Wed, May 15, 2019 at 8:44 PM Alex Bennée wrote: >> >> >> Jon Doron writes: >> >> > Follow GDB general query/set packet conventions, qemu.sstep can now >> > be set with the following command as well: >> > gdb> maint packet Qqemu.sstep:Value >> >> I;m not sure about expos

Re: [Qemu-devel] [PATCH v9 26/27] gdbstub: Add support to read a MSR for KVM target

2019-05-20 Thread Alex Bennée
Jon Doron writes: > Ah cool did not know about that I will look into it and perhaps can do > a different patchset just for this no need to add it on top of this > patchset Yes just drop these arch specific patches for your next iteration while you rework them for the target/ approach. Hopefull

[Qemu-devel] [PATCH v3 05/14] tests/vm: run test builds on snapshot

2019-05-20 Thread Gerd Hoffmann
The build script doesn't shutdown the guest VMs properly, which results in filesystem corruption and guest boot failures sooner or later. Use the --snapshot to run builds on a snapshot, That way killing the VM doesn't corrupt the base image. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth -

[Qemu-devel] [PATCH v3 03/14] tests/vm: send proxy environment variables over ssh

2019-05-20 Thread Gerd Hoffmann
Packages are fetched via proxy that way, if configured on the host. That might be required to pass firewalls, and it allows to route package downloads through a caching proxy server. Needs AcceptEnv setup in sshd_config on the guest side to work. Signed-off-by: Gerd Hoffmann Reviewed-by: Philipp

[Qemu-devel] [PATCH v3 00/14] tests/vm: serial console autoinstall, misc fixes.

2019-05-20 Thread Gerd Hoffmann
This patch series changes the way virtual machines for test builds are managed. They are created locally on the developer machine now. The installer is booted on the serial console and the scripts walks through the dialogs to install and configure the guest. That takes the download.patchew.org s

[Qemu-devel] [PATCH v3 04/14] tests/vm: use ssh with pty unconditionally

2019-05-20 Thread Gerd Hoffmann
Allways ask ssh to run with a pseudo terminal. Not having a terminal causes problems now and then. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/basevm.py | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py

[Qemu-devel] [PATCH v3 09/14] tests/vm: serial console support helpers

2019-05-20 Thread Gerd Hoffmann
Add a bunch of helpers to talk to the guest using the serial console. Also drop the hard-coded -serial parameter for the vm so QEMUMachine.set_console() actually works. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/basevm.py | 85 -

[Qemu-devel] [PATCH v3 08/14] tests/vm: add DEBUG=1 to help text

2019-05-20 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Tested-by: Thomas Huth --- tests/vm/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 47084d5717c6..a018288b061c 100644 --- a/tests/vm/Makefile.inclu

[Qemu-devel] [PATCH v3 12/14] tests/vm: netbsd autoinstall, using serial console

2019-05-20 Thread Gerd Hoffmann
Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Signed-off-by: Gerd Hoffmann Reviewed-by: Kamil Rytarowski Tes

[Qemu-devel] [PATCH v3 02/14] tests/vm: python3 fixes

2019-05-20 Thread Gerd Hoffmann
Add proper unicode handling when processing strings. Also need to explicitly say we want int not float. Signed-off-by: Gerd Hoffmann --- tests/vm/basevm.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 0556bdcf9e9f..3

[Qemu-devel] [PATCH v3 06/14] tests/vm: proper guest shutdown

2019-05-20 Thread Gerd Hoffmann
When not running in snapshot mode ask the guest to poweroff and wait for this to finish instead of simply quitting qemu, so the guest can flush pending updates to disk. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/basevm.py | 22 +++--- 1 file changed, 15 ins

[Qemu-devel] [PATCH v3 07/14] tests/vm: add vm-boot-{ssh, serial}- targets

2019-05-20 Thread Gerd Hoffmann
For testing/troubleshooting convinience. make vm-boot-serial- Boot guest, with the serial console on stdio. make vm-boot-ssh- Boot guest, login via ssh. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/Makefile.include | 19 +++ 1 file changed, 19 insertion

[Qemu-devel] [PATCH v3 01/14] scripts: use git archive in archive-source

2019-05-20 Thread Gerd Hoffmann
Use git archive to create tarballs of qemu and submodules instead of cloning the repository and the submodules. This is a order of magnitude faster because it doesn't fetch the submodules from the internet each time the script runs. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- scrip

[Qemu-devel] [PATCH v3 13/14] tests/vm: fedora autoinstall, using serial console

2019-05-20 Thread Gerd Hoffmann
Download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Yes, we have docker images for fedora. But for trouble-shooting it might be helpful to have a vm too. When vm build

[Qemu-devel] [PATCH v3 14/14] tests/vm: ubuntu.i386: apt proxy setup

2019-05-20 Thread Gerd Hoffmann
Configure apt proxy so package downloads can be cached and can pass firewalls. Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé --- tests/vm/ubuntu.i386 | 4 1 file changed, 4 insertions(+) diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index a22d137e76df..b869af

Re: [Qemu-devel] [PATCH v9 20/27] gdbstub: Implement target halted (? pkt) with new infra

2019-05-20 Thread Alex Bennée
Jon Doron writes: > On Wed, May 15, 2019 at 8:20 PM Alex Bennée wrote: >> >> >> Jon Doron writes: >> >> > Signed-off-by: Jon Doron >> > --- >> > gdbstub.c | 36 ++-- >> > 1 file changed, 26 insertions(+), 10 deletions(-) >> > >> > diff --git a/gdbstub.c b/gdb

Re: [Qemu-devel] [PATCH v4 2/5] target/mips: Fix MSA instructions ST. on big endian host

2019-05-20 Thread Aleksandar Markovic
On Apr 2, 2019 3:47 PM, "Mateja Marjanovic" wrote: > > From: Mateja Marjanovic > > Fix the case when the host is a big endian machine, and change > the approach toward ST. instruction helpers. > > Signed-off-by: Mateja Marjanovic > --- Hello, Mateja. There is unfortunatelly still a slight prob

[Qemu-devel] [PATCH v3 11/14] tests/vm: freebsd autoinstall, using serial console

2019-05-20 Thread Gerd Hoffmann
Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Note that freebsd package downloads are delivered as non-cachabl

[Qemu-devel] [PATCH v3 10/14] tests/vm: openbsd autoinstall, using serial console

2019-05-20 Thread Gerd Hoffmann
Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Signed-off-by: Gerd Hoffmann --- tests/vm/openbsd | 158 ++

Re: [Qemu-devel] [RFC PATCH 00/11] semihosting cleanup and re-factor

2019-05-20 Thread Alex Bennée
Alex Bennée writes: > Hi, > > This collects together some fixes from last weeks RFC clean-up patch > as well as a generalised version of the chardev console tweak I made > last week for testing/next. As it happens it only really made sense > for ARM and MIPs logging semihost calls but there is

Re: [Qemu-devel] [PATCH v3 5/8] migration: Add multifd-compress parameter

2019-05-20 Thread Wei Yang
On Wed, May 15, 2019 at 02:15:41PM +0200, Juan Quintela wrote: >Signed-off-by: Juan Quintela > >--- >Rename it to NONE >Fix typos (dave) >--- > hmp.c| 17 + > hw/core/qdev-properties.c| 13 + > include/hw/qdev-properties.h | 1 + > migration/mi

Re: [Qemu-devel] [PATCH v4 2/5] target/mips: Fix MSA instructions ST. on big endian host

2019-05-20 Thread Mateja Marjanovic
On 20.5.19. 14:59, Aleksandar Markovic wrote: On Apr 2, 2019 3:47 PM, "Mateja Marjanovic" mailto:mateja.marjano...@rt-rk.com>> wrote: > > From: Mateja Marjanovic > > > Fix the case when the host is a big endian machine, and change > the approach toward S

Re: [Qemu-devel] [PATCH] i386: Enable IA32_MISC_ENABLE MWAIT bit when exposing mwait/monitor

2019-05-20 Thread Paolo Bonzini
On 14/05/19 08:06, Wanpeng Li wrote: > From: Wanpeng Li > > The CPUID.01H:ECX[bit 3] ought to mirror the value of the MSR > IA32_MISC_ENABLE MWAIT bit and as userspace has control of them > both, it is userspace's job to configure both bits to match on > the initial setup. Queued, thanks. Pa

Re: [Qemu-devel] [PATCH 0/8] nvme: v1.3, sgls, metadata and new 'ocssd' device

2019-05-20 Thread Kevin Wolf
Am 17.05.2019 um 10:42 hat Klaus Birkelund Jensen geschrieben: > Hi, > > This series of patches contains a number of refactorings to the emulated > nvme device, adds additional features, such as support for metadata and > scatter gather lists, and bumps the supported NVMe version to 1.3. > Lastly,

Re: [Qemu-devel] [PATCH v2 0/3] aspeed: cleanups and extensions

2019-05-20 Thread Cédric Le Goater
Hello, On 5/20/19 1:09 PM, Philippe Mathieu-Daudé wrote: > On 5/20/19 9:47 AM, Cédric Le Goater wrote: >> Hello, >> >> On 5/6/19 4:20 PM, Cédric Le Goater wrote: >>> Hello, >>> >>> Here is a series adding a couple of cleanups to the Aspeed SoCs to >>> prepare ground for extensions and new SoCs. >>

Re: [Qemu-devel] [PATCH v2 0/2] block/file-posix: Fix unaligned O_DIRECT block status

2019-05-20 Thread Kevin Wolf
Am 15.05.2019 um 06:15 hat Max Reitz geschrieben: > The user-visible problem: > $ echo > foo > $ qemu-img map --image-opts driver=file,filename=foo,cache.direct=on > Offset Length Mapped to File > qemu-img: block/io.c:2093: bdrv_co_block_status: Assertion `*pnum && > QEMU_IS

Re: [Qemu-devel] [PATCH v2 0/3] aspeed: cleanups and extensions

2019-05-20 Thread Cédric Le Goater
> Peter, > > do you want me to resend with only the two first patches and include > Joel's in the same series ? I would leave out the part Philippe is > covering in his object_initialize_child() patchset. Nope, we can not do that, conflicts arise. I suppose the easier is wait for Philippe's pa

Re: [Qemu-devel] [PATCH 0/8] nvme: v1.3, sgls, metadata and new 'ocssd' device

2019-05-20 Thread Klaus Birkelund
On Mon, May 20, 2019 at 03:01:24PM +0200, Kevin Wolf wrote: > Am 17.05.2019 um 10:42 hat Klaus Birkelund Jensen geschrieben: > > Hi, > > > > This series of patches contains a number of refactorings to the emulated > > nvme device, adds additional features, such as support for metadata and > > scat

Re: [Qemu-devel] [PATCH 0/2] qemu-img.texi: Provide more info on some commands’ output

2019-05-20 Thread Kevin Wolf
Am 15.05.2019 um 09:59 hat Max Reitz geschrieben: > Most qemu-img subcommands that have (optional) JSON output don’t > describe the structure of their JSON output -- but having a fixed, > well-known output structure kind of is the point of having JSON output > at all. Therefore, patch 1 in this se

Re: [Qemu-devel] [RFC v2 11/38] tcg: add tcg_gen_st_ptr

2019-05-20 Thread Alex Bennée
Emilio G. Cota writes: > Will gain a user soon. > > Signed-off-by: Emilio G. Cota Reviewed-by: Alex Bennée > --- > tcg/tcg-op.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h > index e2948b10a2..d3c79a6cb2 100644 > --- a/tcg/tcg-op.h > +++ b/tcg/t

Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii'

2019-05-20 Thread Greg Kurz
Hi Christian, On Fri, 17 May 2019 22:53:41 +0200 Christian Schoenebeck wrote: > On Freitag, 17. Mai 2019 16:47:46 CEST Greg Kurz wrote: > > Potentially yes if another approach is satisfying enough, as I wouldn't > > want to over-engineer too much around this 9p imposed limitation. The > > right

Re: [Qemu-devel] [PATCH 0/4] iotests: Make 245 faster and more reliable

2019-05-20 Thread Kevin Wolf
Am 15.05.2019 um 22:14 hat Max Reitz geschrieben: > 245 is a bit flakey for me, because it uses block jobs that copy 1 MB of > data but have a buffer size of 512 kB, so they may be done before the > test gets to do the things it wants to do while the check is running. > (Rate limiting doesn’t chang

Re: [Qemu-devel] [PATCH for-4.1] vfio/common: Introduce vfio_set_irq_signaling helper

2019-05-20 Thread Auger Eric
Hi Alex, On 5/16/19 12:52 AM, Alex Williamson wrote: > On Tue, 9 Apr 2019 17:58:31 +0200 > Eric Auger wrote: > >> The code used to assign an interrupt index/subindex to an >> eventfd is duplicated many times. Let's introduce an helper that >> allows to set/unset the signaling for an ACTION_TRIG

Re: [Qemu-devel] [RFC 00/17] multi-phase reset mechanism

2019-05-20 Thread Damien Hedde
Hi, On 5/16/19 2:41 PM, Peter Maydell wrote: > On Mon, 25 Mar 2019 at 11:02, Damien Hedde wrote: >> >> Hi all, >> >> This series is a proposal to implement the multi-phase reset we've discussed >> here (https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg00310.html) >> and >> more recently

Re: [Qemu-devel] [RFC 00/17] multi-phase reset mechanism

2019-05-20 Thread Peter Maydell
On Mon, 20 May 2019 at 15:32, Damien Hedde wrote: > > Hi, > > On 5/16/19 2:41 PM, Peter Maydell wrote: > > Handling migration of the bus base class reset count is a little > > awkward -- we'll need to put it in a vmstate subsection which > > is part of the vmstate of the device which owns the bu

[Qemu-devel] [Bug 1581976] Re: man qemu contains a bug in description of "-virtfs" command line argument

2019-05-20 Thread Greg Kurz
Fixed by the following commit: https://github.com/qemu/qemu/commit/b44a6b09705e9e8a3005229b58de36d176020548 ** Changed in: qemu Assignee: (unassigned) => Greg Kurz (gkurz) ** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a memb

Re: [Qemu-devel] [PATCH v2 1/2] qapi: support external bitmaps in block-dirty-bitmap-merge

2019-05-20 Thread Eric Blake
On 5/17/19 5:45 PM, John Snow wrote: > > > On 5/17/19 11:21 AM, Vladimir Sementsov-Ogievskiy wrote: >> Add new optional parameter making possible to merge bitmaps from >> different nodes. It is needed to maintain external snapshots during >> incremental backup chain history. >> >> Signed-off-by:

Re: [Qemu-devel] aspeed qemu question

2019-05-20 Thread Cédric Le Goater
Hello Wim, On 5/20/19 9:42 AM, Wim Vervoorn wrote: > Hello Cédric, > > It was not yet my intention to have this patch included in the qemu repo so I > didn't pay attention to checking the indentation etc. So I misunderstood your > suggestion. I am sorry about that. > > I will address your rema

[Qemu-devel] [PATCH] numa: improve cpu hotplug error message with a wrong node-id

2019-05-20 Thread Laurent Vivier
On pseries, core-ids are strongly binded to a node-id by the command line option. If a user tries to add a CPU to the wrong node, he has an error but it is not really helpful: qemu-system-ppc64 ... -smp 1,maxcpus=64,cores=1,threads=1,sockets=1 \ -numa node,nodeid=0 -numa

Re: [Qemu-devel] [PULL 13/15] qemu-img: Allow rebase with no input base

2019-05-20 Thread Peter Maydell
On Fri, 10 May 2019 at 17:37, Kevin Wolf wrote: > > From: Max Reitz > > Currently, without -u, you cannot add a backing file to an image when it > currently has none: > > $ qemu-img rebase -b base.qcow2 foo.qcow2 > qemu-img: Could not open old backing file '': The 'file' block driver > requires a

Re: [Qemu-devel] [RFC PATCH 10/11] target/mips: convert UHI_plog to use common semihosting code

2019-05-20 Thread Aleksandar Markovic
On May 14, 2019 6:02 PM, "Alex Bennée" wrote: > > Rather than printing directly to stdout lets use our common > semihosting code. There is one minor difference in that the output > currently defaults to stderr instead of stdout however this can be > controlled by connecting semihosting to a charde

Re: [Qemu-devel] [RFC PATCH 09/11] target/mips: only build mips-semi for softmmu

2019-05-20 Thread Aleksandar Markovic
On May 14, 2019 6:04 PM, "Alex Bennée" wrote: > > The is_uhi gates all semihosting calls and always returns false for > CONFIG_USER_ONLY builds. There is no reason to build and link > mips-semi for these builds so lets fix that. > > Signed-off-by: Alex Bennée > --- Reviewed-by: Aleksandar Markov

[Qemu-devel] [PULL 06/24] nvme: fix copy direction in DMA reads going to CMB

2019-05-20 Thread Kevin Wolf
From: Klaus Birkelund Jensen `nvme_dma_read_prp` erronously used `qemu_iovec_*to*_buf` instead of `qemu_iovec_*from*_buf` when the request involved the controller memory buffer. Signed-off-by: Klaus Birkelund Jensen Reviewed-by: Kenneth Heitke Signed-off-by: Kevin Wolf --- hw/block/nvme.c |

[Qemu-devel] [PULL 00/24] Block layer patches

2019-05-20 Thread Kevin Wolf
The following changes since commit 6d8e75d41c58892ccc5d4ad61c4da476684c1c83: Merge remote-tracking branch 'remotes/rth/tags/pull-axp-20190519' into staging (2019-05-20 11:38:36 +0100) are available in the Git repository at: git://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch

[Qemu-devel] [PULL 03/24] block: Use BDRV_REQUEST_MAX_BYTES instead of BDRV_REQUEST_MAX_SECTORS

2019-05-20 Thread Kevin Wolf
From: Alberto Garcia There are a few places in which we turn a number of bytes into sectors in order to compare the result against BDRV_REQUEST_MAX_SECTORS instead of using BDRV_REQUEST_MAX_BYTES directly. Signed-off-by: Alberto Garcia Reviewed-by: Stefano Garzarella Signed-off-by: Kevin Wolf

  1   2   3   4   >