[Qemu-devel] [Bug 1511887] Re: USB device 1.1 not correctly passedthru from Linux host to Windows guest

2018-12-18 Thread Johansen
** Also affects: wine1.6 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1511887 Title: USB device 1.1 not correctly passedthru from Linux host

Re: [Qemu-devel] [PATCH v2 10/12] MAINTAINERS: Orphanize the 'CPU (QOM)' subsystem

2018-12-18 Thread Paolo Bonzini
On 18/12/18 16:57, Eduardo Habkost wrote: > On Tue, Dec 18, 2018 at 04:44:25PM +0100, Thomas Huth wrote: >> On 2018-12-18 16:31, Philippe Mathieu-Daudé wrote: >>> Hi Paolo, Eduardo, >>> >>> On 12/18/18 4:22 PM, Eduardo Habkost wrote: On Tue, Dec 18, 2018 at 01:34:52PM +0100, Paolo Bonzini

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Paolo Bonzini
On 18/12/18 17:55, Philippe Mathieu-Daudé wrote: >> strpadcpy will instead just silence the warning. > migration/global_state.c:109:15: error: 'strlen' argument 1 declared > attribute 'nonstring' [-Werror=stringop-overflow=] > s->size = strlen((char *)s->runstate) + 1; >

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 05:55:27PM +0100, Philippe Mathieu-Daudé wrote: > On 12/18/18 3:54 PM, Michael S. Tsirkin wrote: > > On Tue, Dec 18, 2018 at 03:45:08PM +0100, Paolo Bonzini wrote: > >> On 18/12/18 15:31, Michael S. Tsirkin wrote: > >>> Do you happen to know why does it build fine with >

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 05:38:17PM +0100, Paolo Bonzini wrote: > On 18/12/18 15:54, Michael S. Tsirkin wrote: > > On Tue, Dec 18, 2018 at 03:45:08PM +0100, Paolo Bonzini wrote: > >> On 18/12/18 15:31, Michael S. Tsirkin wrote: > >>> Do you happen to know why does it build fine with > >>> Gcc

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Philippe Mathieu-Daudé
On 12/18/18 3:54 PM, Michael S. Tsirkin wrote: > On Tue, Dec 18, 2018 at 03:45:08PM +0100, Paolo Bonzini wrote: >> On 18/12/18 15:31, Michael S. Tsirkin wrote: >>> Do you happen to know why does it build fine with >>> Gcc 8.2.1? >>> >>> Reading the GCC manual it seems that >>> there is a

Re: [Qemu-devel] [PATCH 3/3] vfio-ccw: add handling for asnyc channel instructions

2018-12-18 Thread Cornelia Huck
On Mon, 17 Dec 2018 16:54:31 -0500 Eric Farman wrote: > On 11/22/2018 11:54 AM, Cornelia Huck wrote: > > Add a region to the vfio-ccw device that can be used to submit > > asynchronous I/O instructions. ssch continues to be handled by the > > existing I/O region; the new region handles hsch and

[Qemu-devel] [PATCH v2] target/arm: Convert ARM_TBFLAG_* to FIELDs

2018-12-18 Thread Richard Henderson
Use "register" TBFLAG_ANY to indicate shared state between A32 and A64, and "registers" TBFLAG_A32 & TBFLAG_A64 for fields that are specific to the given cpu state. Move ARM_TBFLAG_BE to shared state, instead of its current placement within "Bit usage when in AArch32 state". Signed-off-by:

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Paolo Bonzini
On 18/12/18 15:54, Michael S. Tsirkin wrote: > On Tue, Dec 18, 2018 at 03:45:08PM +0100, Paolo Bonzini wrote: >> On 18/12/18 15:31, Michael S. Tsirkin wrote: >>> Do you happen to know why does it build fine with >>> Gcc 8.2.1? >>> >>> Reading the GCC manual it seems that >>> there is a "nostring"

[Qemu-devel] [PULL v2 30/30] hw/i386: Remove deprecated machines pc-0.10 and pc-0.11

2018-12-18 Thread Michael S. Tsirkin
From: Thomas Huth They've been deprecated for two releases and nobody complained that they are still required anymore, so it's time to remove these now. And while we're at it, mark the other remaining old 0.x machine types as deprecated (since they can not properly be used for live-migration

[Qemu-devel] [PULL v2 25/30] hw: arm: Carry RSDP specific data through AcpiRsdpData

2018-12-18 Thread Michael S. Tsirkin
From: Samuel Ortiz That will allow us to generalize the ARM build_rsdp() routine to support both legacy RSDP (The current i386 implementation) and extended RSDP (The ARM implementation). Signed-off-by: Samuel Ortiz Reviewed-by: Igor Mammedov Reviewed-by: Andrew Jones Reviewed-by: Michael S.

[Qemu-devel] [PULL v2 27/30] hw: arm: Support both legacy and current RSDP build

2018-12-18 Thread Michael S. Tsirkin
From: Samuel Ortiz We add the ability to build legacy or current RSDP tables, based on the AcpiRsdpData revision field passed to build_rsdp(). Although arm/virt only uses RSDP v2, adding that capability to build_rsdp will allow us to share the RSDP build code between ARM and x86. Signed-off-by:

[Qemu-devel] [PULL v2 21/30] intel_iommu: remove "x-" prefix for "aw-bits"

2018-12-18 Thread Michael S. Tsirkin
From: Peter Xu We're going to have 57bits aw-bits support sooner. It's possibly time to remove the "x-" prefix. Signed-off-by: Peter Xu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/intel_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Qemu-devel] [PULL v2 19/30] intel_iommu: convert invalid traces into error reports

2018-12-18 Thread Michael S. Tsirkin
From: Peter Xu Report more *_invalid() tracepoints to error_report_once() so that we can detect issues even without tracing enabled. Drop those tracepoints. Signed-off-by: Peter Xu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/intel_iommu.c | 58

[Qemu-devel] [PULL v2 15/30] pcie: Allow generic PCIe root port to specify link speed and width

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson Allow users to experimentally specify speed and width values for the generic PCIe root port. Defaults remain at 2.5GT/s & x1 for compatiblity with the intent to only support changing defaults via machine types for now. Note for libvirt testing that pcie-root-port

[Qemu-devel] [PULL v2 28/30] hw: acpi: Export and share the ARM RSDP build

2018-12-18 Thread Michael S. Tsirkin
From: Samuel Ortiz Now that build_rsdp() supports building both legacy and current RSDP tables, we can move it to a generic folder (hw/acpi) and have the i386 ACPI code reuse it in order to reduce code duplication. Signed-off-by: Samuel Ortiz Reviewed-by: Igor Mammedov Reviewed-by: Michael S.

[Qemu-devel] [PULL v2 14/30] pcie: Fill PCIESlot link fields to support higher speeds and widths

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson Make use of the PCIESlot speed and width fields to update link information beyond those configured in pcie_cap_v1_fill(). This is only called for devices supporting a version 2 capability and automatically skips any non-PCIESlot devices. Only devices with increased link

[Qemu-devel] [PULL v2 23/30] hw: arm: acpi: Fix incorrect checksums in RSDP

2018-12-18 Thread Michael S. Tsirkin
From: Igor Mammedov When RSDP table was introduced (d4bec5d87), we calculated only legacy checksum, and that was incorrect as it - specified rev=2 and forgot about extended checksum. - legacy checksum calculated on full table instead of the 1st 20 bytes Fix it by adding extended checksum

[Qemu-devel] [PULL v2 11/30] pci: Sync PCIe downstream port LNKSTA on read

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson The PCIe link speed and width between a downstream device and its upstream port is negotiated on real hardware and susceptible to dynamic changes due to signal issues and power management. In the emulated device case there is no real hardware link, but we still might wish

[Qemu-devel] [PULL v2 29/30] hw: acpi: Remove AcpiRsdpDescriptor and fix tests

2018-12-18 Thread Michael S. Tsirkin
From: Samuel Ortiz The only remaining AcpiRsdpDescriptor users are the ACPI utils for the BIOS table tests. We remove that dependency and can thus remove the structure itself. Signed-off-by: Samuel Ortiz Reviewed-by: Igor Mammedov Reviewed-by: Andrew Jones Reviewed-by: Michael S. Tsirkin

[Qemu-devel] [PULL v2 18/30] intel_iommu: dump correct iova when failed

2018-12-18 Thread Michael S. Tsirkin
From: Peter Xu The iotlb.iova can be zero if failure really happened. Dump the addr instead. Signed-off-by: Peter Xu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/intel_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Qemu-devel] [PULL v2 10/30] pcie: Create enums for link speed and width

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson In preparation for reporting higher virtual link speeds and widths, create enums and macros to help us manage them. Cc: Marcel Apfelbaum Tested-by: Geoffrey McRae Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Eric Auger Signed-off-by: Alex Williamson Reviewed-by:

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Richard Henderson
On 12/18/18 7:26 AM, Mark Cave-Ayland wrote: > That seems wrong to me. Given that the ppc_avr_t is a union then I'd expect > it to be > in host order? Certainly in the VMX helper macros I've looked at, the members > are set > directly with no byte swapping. "Host order"? For both words of the

[Qemu-devel] [PULL v2 17/30] pcie: Fast PCIe root ports for new machines

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson Change the default speed and width for new machine types to the fastest and widest currently supported. This should be compatible to the PCIe 4.0 spec. Pre-QEMU-4.0 machine types remain at 2.5GT/s, x1 width. Cc: Marcel Apfelbaum Reviewed-by: Eric Auger Signed-off-by:

[Qemu-devel] [PULL v2 26/30] hw: arm: Convert the RSDP build to the buid_append_foo() API

2018-12-18 Thread Michael S. Tsirkin
From: Samuel Ortiz Instead of filling a mapped and packed C structure field in random order and being careful about endianness and sizes, build_rsdp() now uses build_append_int_noprefix() to compose RSDP table. This makes reviewing and maintaining code easier as this is almost matching 1:1 the

[Qemu-devel] [PULL v2 07/30] hw/smbios: Remove "smbios_ipmi.h"

2018-12-18 Thread Michael S. Tsirkin
From: Philippe Mathieu-Daudé This header only declare a single function: smbios_build_type_38_table(). We already have a header that declares such functions: "smbios_build.h". Move the declaration and remove the header. Reviewed-by: Corey Minyard Reviewed-by: Laszlo Ersek Signed-off-by:

[Qemu-devel] [PULL v2 22/30] hw: acpi: The RSDP build API can return void

2018-12-18 Thread Michael S. Tsirkin
From: Samuel Ortiz For both x86 and ARM architectures, the internal RSDP build API can return void as the current return value is unused. Signed-off-by: Samuel Ortiz Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth

[Qemu-devel] [PULL v2 13/30] pcie: Add link speed and width fields to PCIESlot

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson Add fields allowing the PCIe link speed and width of a PCIESlot to be configured, with an instance_post_init callback on the root port parent class to set defaults. This allows child classes to set these via properties or via their own instance_init callback, without

[Qemu-devel] [PULL v2 16/30] vfio/pci: Remove PCIe Link Status emulation

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson Now that the downstream port will virtually negotiate itself to the link status of the downstream device, we can remove this emulation. It's not clear that it was every terribly useful anyway. Tested-by: Geoffrey McRae Reviewed-by: Eric Auger Signed-off-by: Alex

[Qemu-devel] [PULL v2 08/30] hw/smbios: Move to the hw/firmware/ subdirectory

2018-12-18 Thread Michael S. Tsirkin
From: Philippe Mathieu-Daudé SMBIOS is just another firmware interface used by some QEMU models. We will later introduce more firmware interfaces in this subdirectory. Reviewed-by: Laszlo Ersek Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S.

[Qemu-devel] [PULL v2 24/30] hw: i386: Use correct RSDT length for checksum

2018-12-18 Thread Michael S. Tsirkin
From: Igor Mammedov AcpiRsdpDescriptor describes revision 2 RSDP table so using sizeof(*rsdp) for checksum calculation isn't correct since we are adding extra 16 bytes. But acpi_data_push() zeroes out table, so just by luck we are summing up exta zeros which still yelds correct checksum. Fix it

[Qemu-devel] [PULL v2 12/30] qapi: Define PCIe link speed and width properties

2018-12-18 Thread Michael S. Tsirkin
From: Alex Williamson Create properties to be able to define speeds and widths for PCIe links. The only tricky bit here is that our get and set callbacks translate from the fixed QAPI automagic enums to those we define in PCI code to represent the actual register segment value. Cc: Eric Blake

[Qemu-devel] [PULL v2 06/30] hw/smbios: Restrict access to "hw/smbios/ipmi.h"

2018-12-18 Thread Michael S. Tsirkin
From: Philippe Mathieu-Daudé All the consumers of "hw/smbios/ipmi.h" are located in hw/smbios/. There is no need to have this include publicly exposed, reduce the visibility by moving it in hw/smbios/. Reviewed-by: Laszlo Ersek Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S.

[Qemu-devel] [PULL v2 05/30] tests: Remove unused include

2018-12-18 Thread Michael S. Tsirkin
From: Philippe Mathieu-Daudé The "hw/smbios/smbios.h" include is not used, remove it. Reviewed-by: Laszlo Ersek Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/acpi-utils.c | 1 - 1 file changed, 1 deletion(-) diff --git

[Qemu-devel] [PULL v2 20/30] intel_iommu: dma read/write draining support

2018-12-18 Thread Michael S. Tsirkin
From: Peter Xu Support DMA read/write draining should be easy for existing VT-d emulation since the emulation itself does not have any request queue there so we don't need to do anything to flush the un-commited queue. What we need to do is to declare the support. These capabilities are

[Qemu-devel] [PULL v2 09/30] hw/pci-bridge: Fix invalid free()

2018-12-18 Thread Michael S. Tsirkin
From: Matthias Weckbecker When loadvm'ing a *running* snapshot qemu crashes due to an invalid free. It's fortunately caught early by glibc heap memory corruption protection and qemu gets killed with SIGABRT. Steps to reproduce: 1) Create VM (e.g w/ virsh define) 2) Start the VM and take a

[Qemu-devel] [PULL v2 04/30] virtio: Provide version-specific variants of virtio PCI devices

2018-12-18 Thread Michael S. Tsirkin
From: Eduardo Habkost Many of the current virtio-*-pci device types actually represent 3 different types of devices: * virtio 1.0 non-transitional devices * virtio 1.0 transitional devices * virtio 0.9 ("legacy device" in virtio 1.0 terminology) That would be just an annoyance if it didn't

[Qemu-devel] [PULL v2 01/30] pcie: set link state inactive/active after hot unplug/plug

2018-12-18 Thread Michael S. Tsirkin
From: Zheng Xiang When VM boots from the latest version of linux kernel, after hot-unpluging virtio-blk disks which are hotplugged into pcie-root-port, the VM's dmesg log shows: [ 151.046242] pciehp :00:05.0:pcie004: pending interrupts 0x0001 from Slot Status [ 151.046365] pciehp

[Qemu-devel] [QEMU PATCH] block: Remove blk_attach_dev_legacy() / legacy_dev code

2018-12-18 Thread Thomas Huth
The last user of blk_attach_dev_legacy() is the code in xen_disk.c. It passes a pointer to a XenBlkDev as second parameter. XenBlkDev is derived from XenDevice which in turn is derived from DeviceState since commit 3a6c9172ac5951e ("xen: create qdev for each backend device"). Thus the code can

[Qemu-devel] [PULL v2 03/30] virtio: Helper for registering virtio device types

2018-12-18 Thread Michael S. Tsirkin
From: Eduardo Habkost Introduce a helper for registering different flavours of virtio devices. Convert code to use the helper, but keep only the existing generic types. Transitional and non-transitional device types will be added by another patch. Acked-by: Andrea Bolognani Reviewed-by:

[Qemu-devel] [PULL v2 02/30] pc:piix4: Update smbus I/O space after a migration

2018-12-18 Thread Michael S. Tsirkin
From: Corey Minyard Otherwise it won't be set up correctly and won't work after miigration. Signed-off-by: Corey Minyard Cc: Igor Mammedov Cc: qemu-sta...@nongnu.org Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/acpi/piix4.c | 1 + 1 file changed, 1 insertion(+)

[Qemu-devel] [PULL v2 00/30] pci, pc, virtio: fixes, features

2018-12-18 Thread Michael S. Tsirkin
Changes from v1: Drop intel_iommu: turn on IR by default The following changes since commit f163448536e5f7ae8905b14547eab37a41a75f6c: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20181216' into staging (2018-12-17 13:04:25 +) are available in the Git repository at:

Re: [Qemu-devel] [PATCH v2] spapr: Add H-Call H_HOME_NODE_ASSOCIATIVITY

2018-12-18 Thread Greg Kurz
On Tue, 18 Dec 2018 14:18:29 +0100 Laurent Vivier wrote: > H_HOME_NODE_ASSOCIATIVITY H-Call returns the associativity domain > designation associated with the identifier input parameter > > This fixes a crash when we try to hotplug a CPU in memory-less and > CPU-less numa node. In this case,

Re: [Qemu-devel] [PATCH v2 for-4.0 1/7] chardev: Add disconnected option for chardev socket

2018-12-18 Thread Daniel P . Berrangé
On Tue, Dec 18, 2018 at 11:02:46AM -0500, Michael S. Tsirkin wrote: > On Tue, Dec 18, 2018 at 03:25:20PM +, Daniel P. Berrangé wrote: > > On Tue, Dec 18, 2018 at 04:24:26PM +0400, Marc-André Lureau wrote: > > > Hi > > > > > > On Tue, Dec 18, 2018 at 2:01 PM wrote: > > > > > > > > From: Xie

Re: [Qemu-devel] [PATCH v2 for-4.0 1/7] chardev: Add disconnected option for chardev socket

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 03:25:20PM +, Daniel P. Berrangé wrote: > On Tue, Dec 18, 2018 at 04:24:26PM +0400, Marc-André Lureau wrote: > > Hi > > > > On Tue, Dec 18, 2018 at 2:01 PM wrote: > > > > > > From: Xie Yongji > > > > > > New option "disconnected" is added to init the chardev socket >

Re: [Qemu-devel] [PATCH v2 10/12] MAINTAINERS: Orphanize the 'CPU (QOM)' subsystem

2018-12-18 Thread Eduardo Habkost
On Tue, Dec 18, 2018 at 04:44:25PM +0100, Thomas Huth wrote: > On 2018-12-18 16:31, Philippe Mathieu-Daudé wrote: > > Hi Paolo, Eduardo, > > > > On 12/18/18 4:22 PM, Eduardo Habkost wrote: > >> On Tue, Dec 18, 2018 at 01:34:52PM +0100, Paolo Bonzini wrote: > >>> On 18/12/18 12:56, Philippe

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

2018-12-18 Thread Yury Kotov
18.12.2018, 17:59, "Yongji Xie" : > On Tue, 18 Dec 2018 at 22:35, Yury Kotov wrote: >>  18.12.2018, 17:16, "Yongji Xie" : >>  > On Tue, 18 Dec 2018 at 20:30, Yury Kotov >> wrote: >>  >> + wrfsh@ >>  >> >>  >> Hi, >>  >> >>  >> 18.12.2018, 13:01, "elohi...@gmail.com" : >>  >> > From: Xie

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Mark Cave-Ayland
On 18/12/2018 15:07, Richard Henderson wrote: >> This one appears to be a sign extension issue - if I make use of the same >> technique >> used by the previous helper then this problem goes away. Below is my >> experimental >> diff to be squashed into "target/ppc: convert vspltis[bhw] to use

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Mark Cave-Ayland
On 18/12/2018 15:17, Richard Henderson wrote: > On 12/18/18 7:05 AM, Mark Cave-Ayland wrote: >> On 18/12/2018 09:49, Mark Cave-Ayland wrote: >> >>> Following on from this, the next patch "target/ppc: convert vsplt[bhw] to >>> use vector >>> operations" causes corruption of the OS X splash screen

Re: [Qemu-devel] [PATCH v2 for-4.0 1/7] chardev: Add disconnected option for chardev socket

2018-12-18 Thread Daniel P . Berrangé
On Tue, Dec 18, 2018 at 04:24:26PM +0400, Marc-André Lureau wrote: > Hi > > On Tue, Dec 18, 2018 at 2:01 PM wrote: > > > > From: Xie Yongji > > > > New option "disconnected" is added to init the chardev socket > > in disconnected state. Then we can use qemu_chr_fe_wait_connected() > > to

Re: [Qemu-devel] [PATCH v2 07/22] qemu-nbd: Avoid strtol open-coding

2018-12-18 Thread Vladimir Sementsov-Ogievskiy
15.12.2018 16:53, Eric Blake wrote: > Our copy-and-pasted open-coding of strtol handling forgot to > handle overflow conditions. Use qemu_strto*() instead. > > In the case of --partition, since we insist on a user-supplied > partition to be non-zero, we can use 0 rather than -1 for our > initial

Re: [Qemu-devel] [PATCH] target/arm: Convert ARM_TBFLAG_* to FIELDs

2018-12-18 Thread Alex Bennée
Richard Henderson writes: > On 12/17/18 9:43 AM, Alex Bennée wrote: >>> Use "register" TBFLAG_ANY to indicate shared state between >>> A32 and A64, and "registers" TBFLAG_A32 & TBFLAG_A64 for >>> fields that are specific to the given cpu state. >>> >>> Move ARM_TBFLAG_BE to shared state,

Re: [Qemu-devel] [PATCH v2 for-4.0 2/7] vhost-user: Support providing shared memory to backend

2018-12-18 Thread Yongji Xie
On Tue, 18 Dec 2018 at 22:57, Michael S. Tsirkin wrote: > > On Tue, Dec 18, 2018 at 10:47:32PM +0800, Yongji Xie wrote: > > On Tue, 18 Dec 2018 at 22:25, Michael S. Tsirkin wrote: > > > > > > On Tue, Dec 18, 2018 at 05:59:57PM +0800, elohi...@gmail.com wrote: > > > > From: Xie Yongji > > > > >

Re: [Qemu-devel] [PATCH v2 10/12] MAINTAINERS: Orphanize the 'CPU (QOM)' subsystem

2018-12-18 Thread Thomas Huth
On 2018-12-18 16:31, Philippe Mathieu-Daudé wrote: > Hi Paolo, Eduardo, > > On 12/18/18 4:22 PM, Eduardo Habkost wrote: >> On Tue, Dec 18, 2018 at 01:34:52PM +0100, Paolo Bonzini wrote: >>> On 18/12/18 12:56, Philippe Mathieu-Daudé wrote: Nobody is looking at those files, downgrade this

Re: [Qemu-devel] [PATCH 5/6] hw/nvram/fw_cfg: Add HMP 'info fw_cfg' command

2018-12-18 Thread Philippe Mathieu-Daudé
Hi Michael, On 12/10/18 10:18 AM, Philippe Mathieu-Daudé wrote: > On 12/7/18 6:54 PM, Michael S. Tsirkin wrote: >> On Fri, Dec 07, 2018 at 06:03:59PM +0100, Philippe Mathieu-Daudé wrote: >>> $ qemu-system-x86_64 -S -monitor stdio >>> (qemu) info fw_cfg >>> TypePermSizeSpecific

Re: [Qemu-devel] [PATCH v5 0/9] Clock framework API.

2018-12-18 Thread Damien Hedde
On 10/16/18 5:48 PM, Peter Maydell wrote: > On 12 October 2018 at 16:26, Damien Hedde wrote: >> Hi Peter, >> >> Sorry to bother you with this, but you said some time ago you would >> write something about reset. > > Yeah, sorry about that. I haven't found (made) the time to think > the issues

Re: [Qemu-devel] [QEMU-devel][PATCH v3] aio-posix: Fix concurrent aio_poll/set_fd_handler.

2018-12-18 Thread Stefan Hajnoczi
On Mon, Dec 17, 2018 at 05:48:47PM +0100, remy.n...@blade-group.com wrote: > From: Remy Noel > > It is possible for an io_poll callback to be concurrently executed along > with an aio_set_fd_handlers. This can cause all sorts of problems, like > a NULL callback or a bad opaque pointer. > > This

Re: [Qemu-devel] [QEMU PATCH] hw/i386: Remove deprecated machines pc-0.10 and pc-0.11

2018-12-18 Thread Paolo Bonzini
On 18/12/18 09:06, Thomas Huth wrote: > On 2018-12-17 23:57, Michael S. Tsirkin wrote: >> On Mon, Dec 17, 2018 at 05:35:22PM -0200, Eduardo Habkost wrote: >>> On Mon, Dec 17, 2018 at 05:57:37PM +0100, Thomas Huth wrote: They've been deprecated for two releases and nobody complained that they

Re: [Qemu-devel] [PATCH v2 10/12] MAINTAINERS: Orphanize the 'CPU (QOM)' subsystem

2018-12-18 Thread Philippe Mathieu-Daudé
Hi Paolo, Eduardo, On 12/18/18 4:22 PM, Eduardo Habkost wrote: > On Tue, Dec 18, 2018 at 01:34:52PM +0100, Paolo Bonzini wrote: >> On 18/12/18 12:56, Philippe Mathieu-Daudé wrote: >>> Nobody is looking at those files, downgrade this subsystem as orphan. >>> >>> Remove the qemu-devel@nongnu.org

Re: [Qemu-devel] [PATCH 6/6] target/mips: MXU: Add handlers for an align instruction

2018-12-18 Thread Stefan Markovic
On 17.12.18. 21:04, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > Add translation handler for S32ALNI MXU instruction. > > Signed-off-by: Aleksandar Markovic > --- > target/mips/translate.c | 197 +++- > 1 file changed, 194 insertions(+), 3

Re: [Qemu-devel] [PATCH v3 1/2] intel-iommu: differentiate host address width from IOVA address width.

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 03:55:36PM +0100, Igor Mammedov wrote: > On Tue, 18 Dec 2018 17:27:23 +0800 > Yu Zhang wrote: > > > On Mon, Dec 17, 2018 at 02:17:40PM +0100, Igor Mammedov wrote: > > > On Wed, 12 Dec 2018 21:05:38 +0800 > > > Yu Zhang wrote: > > > > > > > Currently, vIOMMU is using the

Re: [Qemu-devel] [PATCH v2 03/12] MAINTAINERS: Add missing entries for the PC machines

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 12:56:06PM +0100, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin > --- > MAINTAINERS | 4 > 1 file changed, 4 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index dac394d125..f3305a65b6 100644 >

Re: [Qemu-devel] [PATCH v2 for-4.0 2/7] vhost-user: Support providing shared memory to backend

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 10:47:32PM +0800, Yongji Xie wrote: > On Tue, 18 Dec 2018 at 22:25, Michael S. Tsirkin wrote: > > > > On Tue, Dec 18, 2018 at 05:59:57PM +0800, elohi...@gmail.com wrote: > > > From: Xie Yongji > > > > > > This patch introduces two new messages VHOST_USER_GET_SHM_SIZE > >

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Richard Henderson
On 12/18/18 6:51 AM, Mark Cave-Ayland wrote: > On 18/12/2018 09:49, Mark Cave-Ayland wrote: > >> A quick bisection suggests that there could be 2 separate issues related to >> the >> implementation of splat: >> >> Patch "target/ppc: convert vspltis[bhw] to use vector operations" causes a >>

Re: [Qemu-devel] [PATCH v3 1/2] intel-iommu: differentiate host address width from IOVA address width.

2018-12-18 Thread Igor Mammedov
On Tue, 18 Dec 2018 17:27:23 +0800 Yu Zhang wrote: > On Mon, Dec 17, 2018 at 02:17:40PM +0100, Igor Mammedov wrote: > > On Wed, 12 Dec 2018 21:05:38 +0800 > > Yu Zhang wrote: > > > > > Currently, vIOMMU is using the value of IOVA address width, instead of > > > the host address width(HAW) to

Re: [Qemu-devel] [PATCH 10/13] qapi: make query-cpu-model-expansion depend on s390 or x86

2018-12-18 Thread Markus Armbruster
Marc-André Lureau writes: > Signed-off-by: Marc-André Lureau > Reviewed-by: Eduardo Habkost > Acked-by: Cornelia Huck Doesn't build linux-user: target/i386/cpu.o: In function `qmp_query_cpu_model_expansion': /work/armbru/qemu/target/i386/cpu.c:4082: undefined reference to

Re: [Qemu-devel] [PATCH for-4.0 v8 6/7] qemu_thread_create: propagate the error to callers to handle

2018-12-18 Thread Fei Li
On 12/17/2018 03:29 PM, Fei Li wrote: On 12/13/2018 03:26 PM, Markus Armbruster wrote: There's a question for David Gibson inline.  Please search for /ppc/. Fei Li writes: Make qemu_thread_create() return a Boolean to indicate if it succeeds rather than failing with an error. And add

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

2018-12-18 Thread Yongji Xie
On Tue, 18 Dec 2018 at 22:35, Yury Kotov wrote: > > 18.12.2018, 17:16, "Yongji Xie" : > > On Tue, 18 Dec 2018 at 20:30, Yury Kotov wrote: > >> + wrfsh@ > >> > >> Hi, > >> > >> 18.12.2018, 13:01, "elohi...@gmail.com" : > >> > From: Xie Yongji > >> > > >> > Since we now support the message

Re: [Qemu-devel] [PATCH v3 2/2] intel-iommu: extend VTD emulation to allow 57-bit IOVA address width.

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 06:01:16PM +0800, Yu Zhang wrote: > On Tue, Dec 18, 2018 at 05:47:14PM +0800, Yu Zhang wrote: > > On Mon, Dec 17, 2018 at 02:29:02PM +0100, Igor Mammedov wrote: > > > On Wed, 12 Dec 2018 21:05:39 +0800 > > > Yu Zhang wrote: > > > > > > > A 5-level paging capable VM may

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Mark Cave-Ayland
On 18/12/2018 09:49, Mark Cave-Ayland wrote: > A quick bisection suggests that there could be 2 separate issues related to > the > implementation of splat: > > Patch "target/ppc: convert vspltis[bhw] to use vector operations" causes a > black > border to appear around the OS X splash screen >

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Richard Henderson
On 12/18/18 7:05 AM, Mark Cave-Ayland wrote: > On 18/12/2018 09:49, Mark Cave-Ayland wrote: > >> Following on from this, the next patch "target/ppc: convert vsplt[bhw] to >> use vector >> operations" causes corruption of the OS X splash screen >> (https://www.ilande.co.uk/tmp/qemu/badapple2.png)

Re: [Qemu-devel] [PATCH v2 10/12] MAINTAINERS: Orphanize the 'CPU (QOM)' subsystem

2018-12-18 Thread Eduardo Habkost
On Tue, Dec 18, 2018 at 01:34:52PM +0100, Paolo Bonzini wrote: > On 18/12/18 12:56, Philippe Mathieu-Daudé wrote: > > Nobody is looking at those files, downgrade this subsystem as orphan. > > > > Remove the qemu-devel@nongnu.org entry because the list is always > > selected by the 'All patches CC

Re: [Qemu-devel] [PATCH v2 for-4.0 2/7] vhost-user: Support providing shared memory to backend

2018-12-18 Thread Yongji Xie
On Tue, 18 Dec 2018 at 22:25, Michael S. Tsirkin wrote: > > On Tue, Dec 18, 2018 at 05:59:57PM +0800, elohi...@gmail.com wrote: > > From: Xie Yongji > > > > This patch introduces two new messages VHOST_USER_GET_SHM_SIZE > > and VHOST_USER_SET_SHM_FD to support providing shared > > memory to

[Qemu-devel] [Bug 1392468] Re: qemu uses a bitmap icon

2018-12-18 Thread Daniel Berrange
This series gives the QEMU SDL2 & GTK frontends high quality icons http://lists.nongnu.org/archive/html/qemu-devel/2018-12/msg04475.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1392468 Title:

Re: [Qemu-devel] [PATCH 5/6] target/mips: MXU: Add handlers for max/min instructions

2018-12-18 Thread Stefan Markovic
On 17.12.18. 21:04, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > Add translation handlers for max/min MXU instructions. > > Signed-off-by: Aleksandar Markovic > --- > target/mips/translate.c | 356 +--- > 1 file changed, 335 insertions(+), 21

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Paolo Bonzini
On 18/12/18 15:31, Michael S. Tsirkin wrote: > Do you happen to know why does it build fine with > Gcc 8.2.1? > > Reading the GCC manual it seems that > there is a "nostring" attribute that means > "might not be 0 terminated". > I think we should switch to that which fixes the warning > but also

Re: [Qemu-devel] [PATCH v2 for-4.0 1/7] chardev: Add disconnected option for chardev socket

2018-12-18 Thread Yongji Xie
On Tue, 18 Dec 2018 at 20:24, Marc-André Lureau wrote: > > Hi > > On Tue, Dec 18, 2018 at 2:01 PM wrote: > > > > From: Xie Yongji > > > > New option "disconnected" is added to init the chardev socket > > in disconnected state. Then we can use qemu_chr_fe_wait_connected() > > to connect when

Re: [Qemu-devel] [PULL v3 08/15] tests/fp: add fp-bench

2018-12-18 Thread Alex Bennée
Emilio G. Cota writes: > On Mon, Dec 17, 2018 at 10:56:43 +, Alex Bennée wrote: >> From: "Emilio G. Cota" >> +static void update_random_ops(int n_ops, enum precision prec) >> +{ >> +int i; >> + >> +for (i = 0; i < n_ops; i++) { >> +uint64_t r = random_ops[i]; >> + >> +

Re: [Qemu-devel] [PATCH v3 2/2] intel-iommu: extend VTD emulation to allow 57-bit IOVA address width.

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 09:45:41PM +0800, Yu Zhang wrote: > On Tue, Dec 18, 2018 at 07:43:28AM -0500, Michael S. Tsirkin wrote: > > On Tue, Dec 18, 2018 at 06:01:16PM +0800, Yu Zhang wrote: > > > On Tue, Dec 18, 2018 at 05:47:14PM +0800, Yu Zhang wrote: > > > > On Mon, Dec 17, 2018 at 02:29:02PM

Re: [Qemu-devel] [PATCH-for-4.0 v2 2/2] hw/arm/virt-acpi-build: IORT Update for revision D

2018-12-18 Thread Andrew Jones
On Tue, Dec 18, 2018 at 11:54:32AM +0100, Auger Eric wrote: > Hi Drew, > > On 12/17/18 7:25 PM, Andrew Jones wrote: > > On Mon, Dec 17, 2018 at 05:49:02PM +0100, Auger Eric wrote: > >> Hi Drew, > >> > >> On 12/17/18 5:27 PM, Andrew Jones wrote: > >>> On Thu, Dec 06, 2018 at 06:07:33PM +0100, Eric

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 09:31:00AM -0500, Michael S. Tsirkin wrote: > On Tue, Dec 18, 2018 at 12:03:30PM +0100, Philippe Mathieu-Daudé wrote: > > GCC 8 new warning prevents builds to success since quite some time. > > First report on the mailing list is in July 2018: > >

[Qemu-devel] [PATCH v2] spapr: Add H-Call H_HOME_NODE_ASSOCIATIVITY

2018-12-18 Thread Laurent Vivier
H_HOME_NODE_ASSOCIATIVITY H-Call returns the associativity domain designation associated with the identifier input parameter This fixes a crash when we try to hotplug a CPU in memory-less and CPU-less numa node. In this case, the kernel tries to online the node, but without the information

Re: [Qemu-devel] [PATCH 00/34] tcg, target/ppc vector improvements

2018-12-18 Thread Mark Cave-Ayland
On 18/12/2018 09:49, Mark Cave-Ayland wrote: > Following on from this, the next patch "target/ppc: convert vsplt[bhw] to use > vector > operations" causes corruption of the OS X splash screen > (https://www.ilande.co.uk/tmp/qemu/badapple2.png) in a way that suggests > there may be > an endian

Re: [Qemu-devel] [PATCH v2 10/12] MAINTAINERS: Orphanize the 'CPU (QOM)' subsystem

2018-12-18 Thread Paolo Bonzini
On 18/12/18 12:56, Philippe Mathieu-Daudé wrote: > Nobody is looking at those files, downgrade this subsystem as orphan. > > Remove the qemu-devel@nongnu.org entry because the list is always > selected by the 'All patches CC here' section. > > Suggested-by: Markus Armbruster > Signed-off-by:

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

2018-12-18 Thread Yury Kotov
18.12.2018, 17:16, "Yongji Xie" : > On Tue, 18 Dec 2018 at 20:30, Yury Kotov wrote: >>  + wrfsh@ >> >>  Hi, >> >>  18.12.2018, 13:01, "elohi...@gmail.com" : >>  > From: Xie Yongji >>  > >>  > Since we now support the message VHOST_USER_GET_SHM_SIZE >>  > and VHOST_USER_SET_SHM_FD. The backend is

Re: [Qemu-devel] [PATCH 3/6] target/mips: MXU: Improve textual description

2018-12-18 Thread Stefan Markovic
On 17.12.18. 21:04, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > Improve textual description of MXU extension. These are mostly > comment formatting changes. > > Signed-off-by: Aleksandar Markovic > --- > target/mips/translate.c | 74 - >

[Qemu-devel] [QEMU PATCH] hw/misc/ivshmem: Remove deprecated "ivshmem" legacy device

2018-12-18 Thread Thomas Huth
It's been marked as deprecated in QEMU v2.6.0 already, so really nobody should use the legacy "ivshmem" device anymore (but use ivshmem-plain or ivshmem-doorbell instead). Time to remove the deprecated device now. Signed-off-by: Thomas Huth --- docs/specs/ivshmem-spec.txt | 8 +-

Re: [Qemu-devel] [PATCH 5/5] intel_iommu: turn on IR by default

2018-12-18 Thread Paolo Bonzini
On 18/12/18 04:07, Peter Xu wrote: > On Mon, Dec 17, 2018 at 03:31:14PM +0800, Peter Xu wrote: >> IR has been there for a long time and long time no bug reported. >> Let's turn it on by default to match general hardwares. Providing >> compatibility bit for QEMU<=3.1. >> >> Signed-off-by: Peter Xu

[Qemu-devel] [PULL 1/4] docs/devel/build-system: fix 'softmu' typo

2018-12-18 Thread Laurent Vivier
From: "Emilio G. Cota" Signed-off-by: Emilio G. Cota Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20181128153423.11916-1-c...@braap.org> Signed-off-by: Laurent Vivier --- docs/devel/build-system.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Qemu-devel] [PULL 4/4] error: Remove NULL checks on error_propagate() calls

2018-12-18 Thread Laurent Vivier
From: Markus Armbruster Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/error_propagate_null.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Whitespace tidied up manually. Signed-off-by: Markus Armbruster

Re: [Qemu-devel] [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2018 at 03:45:08PM +0100, Paolo Bonzini wrote: > On 18/12/18 15:31, Michael S. Tsirkin wrote: > > Do you happen to know why does it build fine with > > Gcc 8.2.1? > > > > Reading the GCC manual it seems that > > there is a "nostring" attribute that means > > "might not be 0

[Qemu-devel] [PATCH 1/3] ui: install logo icons to $prefix/share/icons

2018-12-18 Thread Daniel P . Berrangé
QEMU currently installs loogs to $prefix/share/qemu/ which means no GUI toolkit or applications can find them by default. The accepted standards for desktop applications declare that application logos / icons should be installed under $prefix/share/icons, so use this directory location.

Re: [Qemu-devel] [PATCH-for-4.0 v2 2/2] hw/arm/virt-acpi-build: IORT Update for revision D

2018-12-18 Thread Auger Eric
Hi Drew, On 12/18/18 3:31 PM, Andrew Jones wrote: > On Tue, Dec 18, 2018 at 11:54:32AM +0100, Auger Eric wrote: >> Hi Drew, >> >> On 12/17/18 7:25 PM, Andrew Jones wrote: >>> On Mon, Dec 17, 2018 at 05:49:02PM +0100, Auger Eric wrote: Hi Drew, On 12/17/18 5:27 PM, Andrew Jones

[Qemu-devel] [PULL 2/4] i386: hvf: drop debug printf in decode_sldtgroup

2018-12-18 Thread Laurent Vivier
From: Roman Bolshakov It's going to clutter QEMU logs if 0x0f00 is trapped. Signed-off-by: Roman Bolshakov Message-Id: <20181203100415.53027-2-r.bolsha...@yadro.com> Signed-off-by: Laurent Vivier --- target/i386/hvf/x86_decode.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[Qemu-devel] [PATCH v2 07/12] MAINTAINERS: Add an entry for the Dino machine

2018-12-18 Thread Philippe Mathieu-Daudé
Add Richard as maintainer, and Helge as reviewer. Signed-off-by: Philippe Mathieu-Daudé --- v2: downgrade to 'Odd fixes', add Helge --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bdf3534478..f0fb2c74d7 100644 --- a/MAINTAINERS +++

[Qemu-devel] [PATCH v2 03/12] MAINTAINERS: Add missing entries for the PC machines

2018-12-18 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dac394d125..f3305a65b6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1141,6 +1141,10 @@ F: hw/acpi/ich9.c F: include/hw/acpi/ich9.h F:

[Qemu-devel] [PULL 0/4] Trivial patches patches

2018-12-18 Thread Laurent Vivier
The following changes since commit f163448536e5f7ae8905b14547eab37a41a75f6c: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20181216' into staging (2018-12-17 13:04:25 +) are available in the Git repository at: git://github.com/vivier/qemu.git tags/trivial-patches-pull-request

[Qemu-devel] [Bug 1803872] Re: [PATCH v2 0/3] Fix strncpy() warnings for GCC8 new -Wstringop-truncation

2018-12-18 Thread Daniel Berrange
On Tue, Dec 18, 2018 at 09:31:00AM -0500, Michael S. Tsirkin wrote: > On Tue, Dec 18, 2018 at 12:03:30PM +0100, Philippe Mathieu-Daudé wrote: > > GCC 8 new warning prevents builds to success since quite some time. > > First report on the mailing list is in July 2018: > >

[Qemu-devel] [PATCH v2 02/12] MAINTAINERS: Add missing entries for the sun4u machines

2018-12-18 Thread Philippe Mathieu-Daudé
Reviewed-by: Mark Cave-Ayland Signed-off-by: Philippe Mathieu-Daudé --- v2: Added simba --- MAINTAINERS | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 771b1c7b94..dac394d125 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1056,9 +1056,13

[Qemu-devel] [PATCH v2 09/12] MAINTAINERS: Add maintainer to the POSIX subsystem

2018-12-18 Thread Philippe Mathieu-Daudé
Add Paolo as maintainer of the POSIX subsystem. Remove the qemu-devel@nongnu.org entry because the list is always selected by the 'All patches CC here' section. Suggested-by: Markus Armbruster Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 7 +-- 1 file changed, 5 insertions(+),

<    1   2   3   4   5   >