Re: [Qemu-devel] [PATCH] ppc: add host-serial and host-model machine attributes

2019-02-04 Thread Daniel P . Berrangé
On Mon, Feb 04, 2019 at 12:09:04PM +1100, David Gibson wrote: > On Sat, Feb 02, 2019 at 12:23:58AM +0530, P J P wrote: > > From: Prasad J Pandit > > > > On ppc hosts, hypervisor shares following system attributes > > > > - /proc/device-tree/system-id > > - /proc/device-tree/model > > > > wi

Re: [Qemu-devel] [PATCH 3/3] scsi-disk: Deprecate device_id fallback to BlockBackend name

2019-02-04 Thread Daniel P . Berrangé
On Mon, Feb 04, 2019 at 10:56:28AM +0100, Kevin Wolf wrote: > Am 29.01.2019 um 16:58 hat Daniel P. Berrangé geschrieben: > > On Fri, Jan 25, 2019 at 06:46:53PM +0100, Kevin Wolf wrote: > > > We should never have exposed BlockBackend names to the guest, it's a > > > host detail. Deprecate this behav

Re: [Qemu-devel] [PATCH] file-posix: Cache lseek result for data regions

2019-02-04 Thread Paolo Bonzini
On 25/01/19 11:30, Kevin Wolf wrote: >> On the other hand, the AioContext lock is only used in >> some special cases around block jobs and blk_set_aio_context, and in >> general the block devices already should not have any dependencies >> (unless they crept in without me noticing). > It's also use

Re: [Qemu-devel] [PATCH v2 2/5] virtio-blk: add "discard-wzeroes" boolean property

2019-02-04 Thread Stefano Garzarella
On Mon, Feb 04, 2019 at 11:33:07AM +0800, Stefan Hajnoczi wrote: > On Fri, Feb 01, 2019 at 06:18:52PM +0100, Stefano Garzarella wrote: > > On Fri, Feb 1, 2019 at 4:17 PM Michael S. Tsirkin wrote: > > > On Thu, Jan 31, 2019 at 04:19:11PM +0100, Stefano Garzarella wrote: > > > > In order to avoid mi

[Qemu-devel] [PATCH v2] spice: set device address and device display ID in QXL interface

2019-02-04 Thread Lukáš Hrázký
Calls the new SPICE QXL interface function spice_qxl_set_device_info to set the hardware address of the graphics device represented by the QXL interface (e.g. a PCI path) and the device display IDs (the IDs of the device's monitors that belong to this QXL interface). Also stops using the deprecate

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

2019-02-04 Thread Daniel P . Berrangé
On Fri, Feb 01, 2019 at 05:19:32PM -0500, Michael S. Tsirkin wrote: > On Mon, Jan 28, 2019 at 03:48:57PM -0200, Eduardo Habkost wrote: > > On Fri, Jan 18, 2019 at 01:38:26PM +, Daniel P. Berrangé wrote: > > > A number of virtio devices (gpu, crypto, mouse, keyboard, tablet) only > > > support t

Re: [Qemu-devel] Configuring pflash devices for OVMF firmware

2019-02-04 Thread Paolo Bonzini
On 01/02/19 03:49, Ning, Yu wrote: > Thank you both for outlining the changes we have to make in order to > support ROMD memory regions! The only question is whether we should > pass a new flag to HAX_VM_IOCTL_SET_RAM2 for ROMD, so the hypervisor > could respond differently to writes to ROM and RO

[Qemu-devel] [PATCH v2] qemu-gdb: add a QObject pretty printer

2019-02-04 Thread Marc-André Lureau
Inspired by GObject/GType pretty printer. Example: machine_set_accel (obj=0x56807550 [pc-i440fx-4.0-machine],... Signed-off-by: Marc-André Lureau --- v2: - simplify python 2 compatibility code, suggested by Eduardo scripts/qemu-gdb.py | 58 + 1

Re: [Qemu-devel] [PR RFC] RISC-V Patches for 3.2, Part 3

2019-02-04 Thread Peter Maydell
On Mon, 4 Feb 2019 at 09:05, Thomas Huth wrote: > On 2019-02-02 09:41, Palmer Dabbelt wrote: > >> My mail filter finds these RFC pullrequests, yes. I'm then > >> relying on my manual brain to not actually apply them. > >> (If it's a slow day I might do a test merge on them, but > >> usually my que

Re: [Qemu-devel] [PATCH 3/3] scsi-disk: Deprecate device_id fallback to BlockBackend name

2019-02-04 Thread Kevin Wolf
Am 29.01.2019 um 16:58 hat Daniel P. Berrangé geschrieben: > On Fri, Jan 25, 2019 at 06:46:53PM +0100, Kevin Wolf wrote: > > We should never have exposed BlockBackend names to the guest, it's a > > host detail. Deprecate this behaviour. Users who need to maintain the > > guest ABI can explicitly se

Re: [Qemu-devel] [PATCH] qemu-common.h: Update copyright string for 2019

2019-02-04 Thread Alex Bennée
Peter Maydell writes: > Update the copyright string we use in version/help output, > since we're well into the new year now. > > Signed-off-by: Peter Maydell Reviewed-by: Alex Bennée > --- > Better than last year, where we didn't get round to doing > the year bump until September :-) > ---

Re: [Qemu-devel] [PATCH v11 3/3] qemu-img info: bitmaps extension new test 239

2019-02-04 Thread Kevin Wolf
Am 04.02.2019 um 08:53 hat Vladimir Sementsov-Ogievskiy geschrieben: > 01.02.2019 20:14, Kevin Wolf wrote: > > Am 31.01.2019 um 14:46 hat Andrey Shinkevich geschrieben: > >> A new test file 239 added to the qemu-iotests set. It checks > >> the output format of 'qemu-img info' for bitmaps extension

Re: [Qemu-devel] [PATCH v11 2/3] qemu-img info lists bitmap directory entries

2019-02-04 Thread Kevin Wolf
Am 01.02.2019 um 19:39 hat Markus Armbruster geschrieben: > Andrey Shinkevich writes: > > > In the 'Format specific information' section of the 'qemu-img info' > > command output, the supplemental information about existing QCOW2 > > bitmaps will be shown, such as a bitmap name, flags and granula

Re: [Qemu-devel] [PATCH] tests: Ignore fp test outputs

2019-02-04 Thread Alex Bennée
Eric Blake writes: > Commit 2cade3d wired up new tests, but did not exclude the > new *.out files produced by running the tests. Queued to fpu/next, thanks. > > Signed-off-by: Eric Blake > --- > tests/.gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/.gitignore b/tes

Re: [Qemu-devel] [PATCH] m25p80: add basic support for the SFPD command

2019-02-04 Thread Cédric Le Goater
On 2/1/19 9:22 PM, Philippe Mathieu-Daudé wrote: > Hi Cédric, > > On 1/21/19 5:00 PM, Cédric Le Goater wrote: >> JEDEC STANDARD JESD216 for Serial Flash Discovery Parameters (SFDP) >> provides a mean to describe the features of a serial flash device >> using a set of internal parameter tables. >>

Re: [Qemu-devel] [PATCH 0/6] Kconfig dependencies for MIPS machines (but Malta)

2019-02-04 Thread Thomas Huth
On 2019-02-04 01:06, Philippe Mathieu-Daudé wrote: > On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé > wrote: >> >> Express the MIPS machine dependencies with Kconfig. > > I forgot this serie misses a rule such "depends of MIPS64". > Asked here: > https://lists.gnu.org/archive/html/qemu-d

Re: [Qemu-devel] [PATCH 0/3] target/arm: Implement ARMv8.3-JSConv

2019-02-04 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190204052712.30833-1-richard.hender...@linaro.org/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT

[Qemu-devel] [PULL 36/37] mmap-alloc: unfold qemu_ram_mmap()

2019-02-04 Thread David Gibson
From: Murilo Opsfelder Araujo Unfold parts of qemu_ram_mmap() for the sake of understanding, moving declarations to the top, and keeping architecture-specifics in the ifdef-else blocks. No changes in the function behaviour. Give ptr and ptr1 meaningful names: ptr -> guardptr : pointer to the

[Qemu-devel] [PULL 35/37] hw/ppc: Don't include m48t59.h if it is not necessary

2019-02-04 Thread David Gibson
From: Thomas Huth These files don't use anything from m48t59.h, so no need to include this header here. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: David Gibson --- hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/ppc.c | 2 -- hw/pp

[Qemu-devel] [PULL 34/37] spapr_pci: Fix endianness in assigned-addresses property

2019-02-04 Thread David Gibson
From: Alexey Kardashevskiy reg->phys_hi and assigned->phys_hi are big endian but we do an extra byteswap anyway when copying reg->phys_hi to assigned->phys_hi. To make things slightly more messy, we also add a relocatable bit (b_n()) although in the right endianness. This fixes endianness of ass

Re: [Qemu-devel] [PR RFC] RISC-V Patches for 3.2, Part 3

2019-02-04 Thread Thomas Huth
On 2019-02-02 09:41, Palmer Dabbelt wrote: > On Thu, 31 Jan 2019 01:51:52 PST (-0800), Peter Maydell wrote: >> On Thu, 31 Jan 2019 at 06:39, Thomas Huth wrote: >>> >>> On 2019-01-30 20:01, Palmer Dabbelt wrote: >>> > On Wed, 30 Jan 2019 09:45:33 PST (-0800), ebl...@redhat.com wrote: >>> >> On 1/30

[Qemu-devel] [PULL 29/37] target/ppc: eliminate use of HI_IDX and LO_IDX macros from int_helper.c

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland The original purpose of these macros was to correctly reference the high and low parts of the VSRs regardless of the host endianness. Replace these direct references to high and low parts with the relevant VsrD macro instead, and completely remove the now-unused HI_IDX and

[Qemu-devel] [PULL 33/37] target/ppc: remove various HOST_WORDS_BIGENDIAN hacks in int_helper.c

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland Following on from the previous work, there are numerous endian-related hacks in int_helper.c that can now be replaced with Vsr* macros. There are also a few places where the VECTOR_FOR_INORDER_I macro can be replaced with a normal iterator since the processing order is irr

[Qemu-devel] [PULL 37/37] mmap-alloc: fix hugetlbfs misaligned length in ppc64

2019-02-04 Thread David Gibson
From: Murilo Opsfelder Araujo The commit 7197fb4058bcb68986bae2bb2c04d6370f3e7218 ("util/mmap-alloc: fix hugetlb support on ppc64") fixed Huge TLB mappings on ppc64. However, we still need to consider the underlying huge page size during munmap() because it requires that both address and length

[Qemu-devel] [PULL 30/37] target/ppc: eliminate use of EL_IDX macros from int_helper.c

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland These macros can be eliminated by instead using the relavant Vsr* macros in the few locations where they appear. Signed-off-by: Mark Cave-Ayland Reviewed-by: Richard Henderson Signed-off-by: David Gibson --- target/ppc/int_helper.c | 66 +---

[Qemu-devel] [PULL 32/37] target/ppc: remove ROTRu32 and ROTRu64 macros from int_helper.c

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland Richard points out that these macros suffer from a -fsanitize=shift bug in that they improperly handle n == 0 turning it into a shift by 32/64 respectively. Replace them with QEMU's existing ror32() and ror64() functions instead. Signed-off-by: Mark Cave-Ayland Reviewed-b

[Qemu-devel] [PULL 20/37] hw/ppc: Move ppc40x_*reset() functions from ppc405_uc.c to ppc.c

2019-02-04 Thread David Gibson
From: Thomas Huth Currently, it is not possible to build a QEMU binary without the ppc405_uc.c file, even if you do not want to have the embedded machines in the binary. This is bad since it's quite a bit of code and this code pulls in some more dependencies (e.g. via the usage of serial_mm_init(

[Qemu-devel] [PULL 31/37] target/ppc: simplify VEXT_SIGNED macro in int_helper.c

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland As pointed out by Richard: it does not need the mask argument, nor does it need the recast argument. The masking is implied by the cast argument, and the recast is implied by the assignment. Signed-off-by: Mark Cave-Ayland Reviewed-by: Richard Henderson Signed-off-by: Da

[Qemu-devel] [PULL 26/37] hw/ppc/spapr: Add support for "-vga cirrus"

2019-02-04 Thread David Gibson
From: Thomas Huth The cirrus VGA card has been enabled in the PPC builds with commit 29f9cef39eb1ae55e82c ("ppc: Include vga cirrus card into the compiling process") last year. It also works on the pseries machine, even SLOF contains support for this card, so we can also support this for the "-vg

[Qemu-devel] [PULL 25/37] QemuMacDrivers: update qemu_vga.ndrv to 90c488d built from submodule

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland This update to qemu_vga.ndrv includes the following changes: - Build guest resolution list from QEMU EDID data if enabled - Fixes to re-enable 256 color mode Signed-off-by: Mark Cave-Ayland Signed-off-by: David Gibson --- pc-bios/qemu_vga.ndrv | Bin 14752 -> 18752 byte

[Qemu-devel] [PULL 16/37] ppc/pnv: introduce a CPU machine_data

2019-02-04 Thread David Gibson
From: Cédric Le Goater Include the interrupt presenter under the machine_data as we plan to remove it from under PowerPCCPU Signed-off-by: Cédric Le Goater Reviewed-by: Greg Kurz Signed-off-by: David Gibson --- hw/ppc/pnv.c | 7 --- hw/ppc/pnv_core.c | 12 ++

[Qemu-devel] [PULL 23/37] spapr: Drop unused parameters from fdt building helper

2019-02-04 Thread David Gibson
From: Alexey Kardashevskiy spapr_load_rtas() handles now RTAS address and size information in the FDT so drop them from spapr_build_fdt(). While we are here, fix a small typo. Fixes: 3f5dabceba24 "pseries: Consolidate construction of /rtas device tree node" Signed-off-by: Alexey Kardashevskiy

[Qemu-devel] [PULL 21/37] MAINTAINERS: XIVE is an interrupt controller, not a machine

2019-02-04 Thread David Gibson
From: Thomas Huth The "XIVE" section is currently listed in the "PowerPC Machines" section, which is weird, since this is an interrupt controller device. Move it to the "Devices" section instead. Signed-off-by: Thomas Huth Reviewed-by: Cédric Le Goater Signed-off-by: David Gibson --- MAINTAI

[Qemu-devel] [PULL 28/37] target/ppc: rework vmul{e, o}{s, u}{b, h, w} instructions to use Vsr* macros

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland The current implementations make use of the endian-specific macros HI_IDX and LO_IDX directly to calculate array offsets. Rework the implementation to use the Vsr* macros so that these per-endian references can be removed. Signed-off-by: Mark Cave-Ayland Reviewed-by: Ric

[Qemu-devel] [PULL 19/37] ppc: remove the interrupt presenters from under PowerPCCPU

2019-02-04 Thread David Gibson
From: Cédric Le Goater These fields have now been replaced by equivalents under the machine data. Signed-off-by: Cédric Le Goater Reviewed-by: Greg Kurz Signed-off-by: David Gibson --- target/ppc/cpu.h | 5 - 1 file changed, 5 deletions(-) diff --git a/target/ppc/cpu.h b/target/ppc/cpu.

[Qemu-devel] [PULL 24/37] MAINTAINERS: add myself as maintainer for Mac Old World and New World machines

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland I've unofficially been doing most of the work on the Mac machines for a while now, so update MAINTAINERS to reflect this. David is still happy to be listed as a reviewer as per our discussion at KVM forum. Signed-off-by: Mark Cave-Ayland Acked-by: David Gibson Signed-off

[Qemu-devel] [PULL 22/37] MAINTAINERS: Merge the two e500 sections

2019-02-04 Thread David Gibson
From: Thomas Huth There is currently a "e500" machine section and a "ppce500" device section in the maintainers file - with some oddities: The wildcard in the device section also covers the files from the machine section. And hw/pci-host/ppce500.c is in the device section, while its header is in

[Qemu-devel] [PULL 17/37] spapr: move the interrupt presenters under machine_data

2019-02-04 Thread David Gibson
From: Cédric Le Goater Next step is to remove them from under the PowerPCCPU Signed-off-by: Cédric Le Goater Reviewed-by: Greg Kurz Signed-off-by: David Gibson --- hw/intc/spapr_xive.c| 3 ++- hw/intc/xics_spapr.c| 11 ++- hw/ppc/spapr.c | 2

[Qemu-devel] [PULL 04/37] ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust()

2019-02-04 Thread David Gibson
From: BALATON Zoltan To avoid overflow if larger values are added later use ram_addr_t for the sdram_bank_sizes parameter to match ram_size to which it is compared. Signed-off-by: BALATON Zoltan Signed-off-by: David Gibson --- hw/ppc/ppc440_bamboo.c | 2 +- hw/ppc/ppc4xx_devs.c| 4 ++--

[Qemu-devel] [PULL 06/37] ppc4xx: Pass array index to function instead of pointer into the array

2019-02-04 Thread David Gibson
From: BALATON Zoltan The sdram_set_bcr() function in ppc440_uc.c takes a pointer into an array then calculates its index from that. It's simpler and easier to just pass the index which simplifies both the function and its callers. Do similar cleanup in ppc4xx_devs.c to similar function. Signed-o

[Qemu-devel] [PULL 12/37] hw/ppc/spapr: Encode the SCSI channel (bus) in the SRP LUNs

2019-02-04 Thread David Gibson
From: Thomas Huth In hw/scsi/spapr_vio.c we declare that the controller supports multiple buses by specifying "max_channel = 7" there. So in the code that fixes up the device tree nodes, we must encode the channel number (a.k.a. bus number in the "Logical unit addressing format" table of SAM5) in

[Qemu-devel] [PULL 18/37] target/ppc: implement complete set of Vsr* macros

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland This prepares us for eliminating the use of direct array access within the VMX instruction implementations. Signed-off-by: Mark Cave-Ayland Reviewed-by: Richard Henderson Signed-off-by: David Gibson --- target/ppc/internal.h | 9 - 1 file changed, 8 insertions(

[Qemu-devel] [PULL 10/37] ppc440: Avoid reporting error when reading non-existent RAM slot

2019-02-04 Thread David Gibson
From: BALATON Zoltan When reading base register of RAM slot with no RAM we should not try to calculate register value because that will result printing an error due to invalid RAM size. Just return 0 without the error in this case. Signed-off-by: BALATON Zoltan Signed-off-by: David Gibson ---

[Qemu-devel] [PULL 07/37] sam460ex: Fix support for memory larger than 1GB

2019-02-04 Thread David Gibson
From: BALATON Zoltan Fix the encoding of larger memory modules in the SoC registers which allows specifying more than 1GB memory for sam460ex. Well, only 2GB due to SoC and firmware restrictions which was the only missing value compared to what the real hardware supports. The SoC should support u

[Qemu-devel] [PULL 08/37] ppc/xive: fix remaining XiveFabric names

2019-02-04 Thread David Gibson
From: Cédric Le Goater Signed-off-by: Cédric Le Goater Reviewed-by: Greg Kurz Signed-off-by: David Gibson --- hw/intc/xive.c| 6 +++--- include/hw/ppc/xive.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/intc/xive.c b/hw/intc/xive.c index a3cb0cf0e3..7f567a

[Qemu-devel] [PULL 05/37] ppc4xx: Rename ppc4xx_sdram_t in ppc440_uc.c to ppc440_sdram_t

2019-02-04 Thread David Gibson
From: BALATON Zoltan There's already a struct with the same name in ppc4xx_devs.c. They are not used outside their files so don't clash but they are also not identical so rename the ppc440 specific one to distinguish them. Signed-off-by: BALATON Zoltan Reviewed-by: David Gibson Signed-off-by:

[Qemu-devel] [PULL 09/37] target/ppc/kvm: Drop useless include directive

2019-02-04 Thread David Gibson
From: Greg Kurz It has been there since the enablement of PR KVM for PAPR, ie, commit f61b4bedaf35 in 2011. Not sure why at that time, but it is definitely not needed with the current code. Signed-off-by: Greg Kurz Signed-off-by: David Gibson --- target/ppc/kvm.c | 1 - 1 file changed, 1 dele

[Qemu-devel] [PULL 11/37] spapr/vio: remove the "irq" property"

2019-02-04 Thread David Gibson
From: Cédric Le Goater commit efe2add7cb7f ("spapr/vio: deprecate the "irq" property") was merged in QEMU version 3.0. The "irq" property" can be removed for QEMU version 4.0. Signed-off-by: Cédric Le Goater Reviewed-by: Thomas Huth Reviewed-by: Greg Kurz Signed-off-by: David Gibson --- hw/

[Qemu-devel] [PULL 15/37] xive: add a get_tctx() method to the XiveRouter

2019-02-04 Thread David Gibson
From: Cédric Le Goater It provides a mean to retrieve the XiveTCTX of a CPU. This will become necessary with future changes which move the interrupt presenter object pointers under the PowerPCCPU machine_data. The PowerNV machine has an extra requirement on TIMA accesses that this new method add

[Qemu-devel] [PULL 00/37] ppc-for-4.0 queue 20190204

2019-02-04 Thread David Gibson
The following changes since commit b3fc0af1ff5e922d4dd7c875394dbd26dc7313b4: Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2019-02-01 17:58:27 +) are available in the Git repository at: git://github.com/dgibson/qemu.git tags/ppc-for-4.0-2019020

[Qemu-devel] [PULL 27/37] target/ppc: rework vmrg{l, h}{b, h, w} instructions to use Vsr* macros

2019-02-04 Thread David Gibson
From: Mark Cave-Ayland The current implementations make use of the endian-specific macros MRGLO/MRGHI and also reference HI_IDX and LO_IDX directly to calculate array offsets. Rework the implementation to use the Vsr* macros so that these per-endian references can be removed. Signed-off-by: Mar

[Qemu-devel] [PULL 13/37] spapr: Forbid setting ic-mode for old machine types

2019-02-04 Thread David Gibson
From: Greg Kurz Machine types 3.0 and older only know about the legacy XICS backend. Make it clear by erroring out if the user tries to set ic-mode on such machines. Signed-off-by: Greg Kurz Tested-by: Cédric Le Goater Reviewed-by: Cédric Le Goater Signed-off-by: David Gibson --- hw/ppc/spa

[Qemu-devel] [PULL 02/37] smbus: Add a helper to generate SPD EEPROM data

2019-02-04 Thread David Gibson
From: BALATON Zoltan There are several boards with SPD EEPROMs that are now using duplicated or slightly different hard coded data. Add a helper to generate SPD data for a memory module of given type and size that could be used by these boards (either as is or with further changes if needed) whic

[Qemu-devel] [PULL 14/37] spapr/pci: Fix primary bus number for PCI bridges

2019-02-04 Thread David Gibson
From: David Hildenbrand While looking at the s390x implementation, looks like spapr has a similar BUG when building the topology. The primary bus number corresponds always to the bus number of the bus the bridge is attached to. Right now, if we have two bridges attached to the same bus (e.g. ro

[Qemu-devel] [PULL 03/37] sam460ex: Clean up SPD EEPROM creation

2019-02-04 Thread David Gibson
From: BALATON Zoltan Get rid of code from MIPS Malta board used to create SPD EEPROM data (parts of which was not even needed for sam460ex) and use the generic spd_data_generate() function to simplify this. Signed-off-by: BALATON Zoltan Signed-off-by: David Gibson --- hw/ppc/sam460ex.c | 173

Re: [Qemu-devel] [PATCH] slirp: Move g_spawn_async_with_fds_qemu compatibility to slirp/

2019-02-04 Thread Marc-André Lureau
Hi On Sun, Feb 3, 2019 at 3:34 PM Samuel Thibault wrote: > > Only slirp actually needs it, and will need it along in libslirp. > > Signed-off-by: Samuel Thibault Reviewed-by: Marc-André Lureau > --- > include/glib-compat.h | 57 --- > slirp/misc.c

Re: [Qemu-devel] [PATCH] fixup: include: update Linux headers to 4.21-rc1/5.0-rc1

2019-02-04 Thread Marc-André Lureau
On Mon, Feb 4, 2019 at 5:56 AM Michael S. Tsirkin wrote: > > This update switched structures from __u64 to uint64_t. > Accordingly, need to print with PRIx64. > > Signed-off-by: Michael S. Tsirkin Reviewed-by: Marc-André Lureau > --- > contrib/libvhost-user/libvhost-user.c | 8 > 1 f

Re: [Qemu-devel] [PATCH 5/6] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge

2019-02-04 Thread Thomas Huth
On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote: > Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select > the Bonito North Bridge. Select it for the Loongson 2E machine. I think you should either rather drop the last sentence here (since the "select" is only done in the next pat

Re: [Qemu-devel] [PATCH 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig

2019-02-04 Thread Thomas Huth
On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote: > The Loongson 2E uses a Bonito64 system controller as North Bridge and a > VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D. > > Signed-off-by: Philippe Mathieu-Daudé > --- [...] > diff --git a/hw/mips/Kconfig b/hw/mips/K

Re: [Qemu-devel] [PATCH 3/6] mips: Express dependencies of the r4k platform with kconfig

2019-02-04 Thread Thomas Huth
On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote: > This platform use standard PC devices connected to an ISA bus. > Networking is provided by a ne2000 chipset. > > Signed-off-by: Philippe Mathieu-Daudé > --- > default-configs/mips-softmmu-common.mak | 1 - > hw/mips/Kconfig

Re: [Qemu-devel] [PATCH] .travis.yml: separate tools and docs into another entry

2019-02-04 Thread Alex Bennée
no-re...@patchew.org writes: > Patchew URL: > https://patchew.org/QEMU/20190201171229.3361-1-alex.ben...@linaro.org/ > > > > Hi, > > This series failed the docker-mingw@fedora build test. Please find the > testing commands and > their output below. If you have Docker installed, you can probabl

Re: [Qemu-devel] [PATCH 2/6] mips: Express dependencies of the Jazz machine with kconfig

2019-02-04 Thread Thomas Huth
On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote: > The Jazz use the RC4030 Asic to provide an EISA bus and DMA/IRQ. The > framebuffer display is managed by a G364, the network card is a Sonic > DP83932. A QLogic ESP216 provides a SCSI bus. > > Signed-off-by: Philippe Mathieu-Daudé > --- > defa

Re: [Qemu-devel] [PATCH 1/6] mips: Express dependencies of the MIPSsim machine with kconfig

2019-02-04 Thread Thomas Huth
On 2019-02-04 09:31, Thomas Huth wrote: > On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote: >> The MIPSsim machine only emulates an 8250 UART and a simple network >> controller, connected via an ISA bus. >> >> Signed-off-by: Philippe Mathieu-Daudé >> --- >> default-configs/mips-softmmu-common.ma

Re: [Qemu-devel] [PATCH 1/6] mips: Express dependencies of the MIPSsim machine with kconfig

2019-02-04 Thread Thomas Huth
On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote: > The MIPSsim machine only emulates an 8250 UART and a simple network > controller, connected via an ISA bus. > > Signed-off-by: Philippe Mathieu-Daudé > --- > default-configs/mips-softmmu-common.mak | 2 -- > hw/mips/Kconfig

[Qemu-devel] [PATCH] tests/docker/test-mingw and docs: Remove --with-sdlabi=2.0

2019-02-04 Thread Thomas Huth
Patchew currently reports failures with the mingw docker test - this is due to --with-sdlabi=2.0 configure flag which does not exist anymore. Remove this remainder from the docker test and the docs now. Signed-off-by: Thomas Huth --- docs/multiseat.txt | 2 +- tests/docker/test-mingw | 3 +-

Re: [Qemu-devel] [PATCH 07/10] monitor: Expose pvrdma device statistics counters

2019-02-04 Thread Markus Armbruster
Yuval Shaia writes: > On Fri, Feb 01, 2019 at 08:33:44AM +0100, Markus Armbruster wrote: >> Eric Blake writes: >> >> > On 1/31/19 2:08 PM, Yuval Shaia wrote: >> >> On Thu, Jan 31, 2019 at 07:17:16AM -0600, Eric Blake wrote: >> >>> On 1/31/19 7:08 AM, Yuval Shaia wrote: >> Signed-off-by: Yu

[Qemu-devel] [PATCH] ui/sdl_keysym: Remove obsolete SDL1.2 related code

2019-02-04 Thread Thomas Huth
Support for SDL1.2 has been removed recently in commit: 0015ca5cbabe0b31d31610ddfaafd90a9e5911a4 ("ui: remove support for SDL1.2 in favour of SDL2") So we can drop the SDL1.2-specific code in sdl_keysym.h now, too. Signed-off-by: Thomas Huth --- ui/sdl_keysym.h | 73 ---

Re: [Qemu-devel] Querying the size of devdax devices from userspace

2019-02-04 Thread Dan Williams
On Sun, Feb 3, 2019 at 11:56 PM Stefan Hajnoczi wrote: > > How can userspace applications query the size of devdax character > devices? > > stat(1) doesn't know how large the device is: > > # stat /dev/dax0.0 > File: /dev/dax0.0 > Size: 0 Blocks: 0 IO Block: 4096 c

Re: [Qemu-devel] [PATCH 07/10] monitor: Expose pvrdma device statistics counters

2019-02-04 Thread Markus Armbruster
Yuval Shaia writes: > On Thu, Jan 31, 2019 at 07:17:16AM -0600, Eric Blake wrote: >> On 1/31/19 7:08 AM, Yuval Shaia wrote: >> > Signed-off-by: Yuval Shaia >> > --- >> > hmp-commands-info.hx | 14 ++ >> > monitor.c| 6 ++ >> > 2 files changed, 20 insertions(+) > > H

Re: [Qemu-devel] [PATCH] target/moxie: Fix LGPL information in the file headers

2019-02-04 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1549266858-5043-1-git-send-email-th...@redhat.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BE

Re: [Qemu-devel] [PATCH 3/3] target/arm: Implement ARMv8.3-JSConv

2019-02-04 Thread Laurent Desnogues
Hello, On Mon, Feb 4, 2019 at 6:38 AM Richard Henderson wrote: > > Signed-off-by: Richard Henderson > --- > target/arm/cpu.h | 10 + > target/arm/helper.h| 2 + > target/arm/cpu.c | 1 + > target/arm/cpu64.c | 2 + > target/arm/op_helper.c | 91 +++

<    1   2   3   4   5