Re: [Qemu-devel] [PATCH] hw/rdma: another clang compilation fix

2019-02-16 Thread Marcel Apfelbaum
Cc:qemu-sta...@nongnu.org Thanks, Marcel On 2/14/19 5:40 PM, Marcel Apfelbaum wrote: Configuring QEMU with: configure --target-list="x86_64-softmmu" --cc=clang --enable-pvrdma Results in: qemu/hw/rdma/rdma_rm_defs.h:108:3: error: redefinition of typedef 'RdmaDeviceResources' is a

[Qemu-devel] Please help corrupt filesystem image

2019-02-16 Thread Alexander Marx
Dear List! I have a big problem and hope you can help me. I built a new windows 2016 domain with virtual servers. 2 dc and 9 rds hosts. I was nearly finished with the setup and ready to migrate the users from old to new domain. Then i had to restart the physical servers. Unfortunately 1 dc and 2

[Qemu-devel] Please help corrupt filesystem image

2019-02-16 Thread Alexander Marx
Dear List! I have a big problem and hope you can help me. I built a new windows 2016 domain with virtual servers. 2 dc and 9 rds hosts. I was nearly finished with the setup and ready to migrate the users from old to new domain. Then i had to restart the physical servers. Unfortunately 1 dc and 2

[Qemu-devel] [Bug 1685242] Re: ovmf hangs at efi with virtio-net memory hotplug

2019-02-16 Thread ITEAS
Tested here with versions of pc-i440fx-XX and it didn't work here on qemu-server 5.0-46, qemu 2.12.1-1 Didn't work. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1685242 Title: ovmf hangs at efi

Re: [Qemu-devel] [PATCH] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-16 Thread Wei Yang
On Fri, Feb 15, 2019 at 12:14:32PM +0100, Igor Mammedov wrote: >On Thu, 14 Feb 2019 20:53:31 + >Wei Yang wrote: > >> On Thu, Feb 14, 2019 at 12:25:27PM +0100, Igor Mammedov wrote: >> >On Thu, 14 Feb 2019 08:52:25 +0800 >> >Wei Yang wrote: >> > >> >> Currently we do device realization like

Re: [Qemu-devel] QEMU: AMD IOMMU implementation bugs

2019-02-16 Thread David Kiarie
On Sat, Feb 16, 2019 at 10:11 PM David Kiarie wrote: > > > -- Forwarded message - > From: Alexandro Sánchez Bach > Date: Wed, Jan 31, 2018 at 2:29 AM > Subject: QEMU: AMD IOMMU implementation bugs > To: > > > Hey David, > > hello Mr Alexandro Sanchez Bach, > > I'm working with

[Qemu-devel] Fwd: QEMU: AMD IOMMU implementation bugs

2019-02-16 Thread David Kiarie
-- Forwarded message - From: Alexandro Sánchez Bach Date: Wed, Jan 31, 2018 at 2:29 AM Subject: QEMU: AMD IOMMU implementation bugs To: Hey David, hello Mr Alexandro Sanchez Bach, I'm working with your AMD IOMMU implementation since I'm writing a PlayStation 4 emulator. I

Re: [Qemu-devel] [PATCH] mips: implement qmp query-cpu-definitions command

2019-02-16 Thread Philippe Mathieu-Daudé
Hi Pavel, On 2/11/19 6:34 AM, Pavel Dovgalyuk wrote: > Ping. You forgot to Cc Aleksandar, to get his MIPS maintainer Ack-by: ./scripts/get_maintainer.pl -f target/mips/helper.c Aleksandar Markovic (maintainer:MIPS) > > Pavel Dovgalyuk > >> -Original Message- >> From: Pavel Dovgalyuk

Re: [Qemu-devel] [PATCH v5 1/2] pcie: Add a simple PCIe ACS (Access Control Services) helper function

2019-02-16 Thread Alex Williamson
On Sat, 16 Feb 2019 17:51:11 +0100 Knut Omang wrote: > Implementing an ACS capability on downstream ports and multifunction > endpoints indicates isolation and IOMMU visibility to a finer > granularity. This creates smaller IOMMU groups in the guest and thus > more flexibility in assigning

Re: [Qemu-devel] [PATCH v2] hw/block: report when pflash backing file isn't aligned

2019-02-16 Thread Markus Armbruster
Markus Armbruster writes: > Markus Armbruster writes: > >> Laszlo Ersek writes: >> >>> On 02/15/19 13:28, Alex Bennée wrote: It looks like there was going to be code to check we had some sort of alignment so lets replace it with an actual check. This is a bit more useful than

Re: [Qemu-devel] [Bug 1815911] Re: aptitude crashes qemu-m68k with handle_cpu_signal received signal outside vCPU context

2019-02-16 Thread John Paul Adrian Glaubitz
On 2/15/19 1:47 PM, Laurent Vivier wrote: > It seems it crashes during futex syscall: > > ... > [pid 4] getpid()= 4 > [pid 4] tgkill(4, 24, SIGRT_1) = 0 > [pid24] <... futex resumed> ) = ? ERESTARTSYS (To be restarted if > SA_RESTART is set) > [pid

[Qemu-devel] [PATCH v5 0/2] pcie: Add simple ACS "support" to the generic PCIe root port

2019-02-16 Thread Knut Omang
These two patches together implements a PCIe capability config space header for Access Control Services (ACS) for the new Qemu specific generic root port. ACS support in the associated root port is needed for passing individual functions of a device populating the port through to an L2 guest from

[Qemu-devel] [PATCH v5 1/2] pcie: Add a simple PCIe ACS (Access Control Services) helper function

2019-02-16 Thread Knut Omang
Implementing an ACS capability on downstream ports and multifunction endpoints indicates isolation and IOMMU visibility to a finer granularity. This creates smaller IOMMU groups in the guest and thus more flexibility in assigning endpoints to guest userspace or an L2 guest. Signed-off-by: Knut

[Qemu-devel] [PATCH v5 2/2] gen_pcie_root_port: Add ACS (Access Control Services) capability

2019-02-16 Thread Knut Omang
Claim ACS support in the generic PCIe root port to allow passthrough of individual functions of a device to different guests (in a nested virt.setting) with VFIO. Without this patch, all functions of a device, such as all VFs of an SR/IOV device, will end up in the same IOMMU group. A similar

Re: [Qemu-devel] [PATCH v8 09/11] authz: add QAuthZListFile object type for a file access control list

2019-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 15, 2019 at 4:58 PM Daniel P. Berrangé wrote: > > Add a QAuthZListFile object type that implements the QAuthZ interface. This > built-in implementation is a proxy around the QAuthZList object type, > initializing it from an external file, and optionally, automatically > reloading

Re: [Qemu-devel] [PATCH v8 08/11] authz: add QAuthZList object type for an access control list

2019-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 15, 2019 at 4:58 PM Daniel P. Berrangé wrote: > > From: "Daniel P. Berrange" > > Add a QAuthZList object type that implements the QAuthZ interface. This > built-in implementation maintains a trivial access control list with a > sequence of match rules and a final default policy.

Re: [Qemu-devel] [PATCH v8 07/11] authz: add QAuthZSimple object type for easy whitelist auth checks

2019-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 15, 2019 at 4:58 PM Daniel P. Berrangé wrote: > > In many cases a single VM will just need to whilelist a single identity whitelist > as the allowed user of network services. This is especially the case for > TLS live migration (optionally with NBD storage) where we just need to

Re: [Qemu-devel] [PATCH v4 01/17] util: add helper APIs for dealing with inotify in portable manner

2019-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 15, 2019 at 6:13 PM Daniel P. Berrangé wrote: > > The inotify userspace API for reading events is quite horrible, so it is > useful to wrap it in a more friendly API to avoid duplicating code > across many users in QEMU. Wrapping it also allows introduction of a > platform

Re: [Qemu-devel] [PATCH v8 05/11] hw/usb: switch MTP to use new inotify APIs

2019-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 15, 2019 at 4:57 PM Daniel P. Berrangé wrote: > > The internal inotify APIs allow a lot of conditional statements to be > cleared out, and provide a simpler callback for handling events. > > Signed-off-by: Daniel P. Berrangé Reviewed-by: Marc-André Lureau > --- >

Re: [Qemu-devel] [PATCH v2] hw/block: report when pflash backing file isn't aligned

2019-02-16 Thread Markus Armbruster
Laszlo Ersek writes: > On 02/15/19 17:01, Markus Armbruster wrote: > >> Let's take a step back and consider sane requirements. >> >> The size of the flash chip is a property of the machine. It is *fixed*. > > I'll have to disagree on this one; in OVMF's case, you can build OVMF in > 1MB, 2MB,