[Qemu-devel] [Bug 1653384] [NEW] Assertion failed with USB pass through with XHCI controller

2016-12-31 Thread Razzloss
Public bug reported: Starting qemu 2.8.0 with XHCI controller and host device passed through results in an assertion failure: qemu-system-x86_64: hw/usb/core.c:623: usb_packet_cleanup: Assertion `!usb_packet_is_inflight(p)' failed. Can be reproduced with the following command (passing through a

[Qemu-devel] [PATCH] vl: disable default cdrom when using explicitely scsi-hd

2016-12-31 Thread Hervé Poussineau
'ide-hd', 'ide-cd' and 'scsi-cd' devices already disable default cdrom. Make it the same for 'scsi-hd'. That way, we can add/replace the device on lun=2 without using -nodefaults. Signed-off-by: Hervé Poussineau --- vl.c | 1 + 1 file changed, 1 insertion(+) diff --git

[Qemu-devel] [PATCH V3 1/7] nios2: Add disas entries

2016-12-31 Thread Marek Vasut
Add nios2 disassembler support. This patch is composed from binutils files from commit "Opcodes and assembler support for Nios II R2". The files from binutils used in this patch are: include/opcode/nios2.h include/opcode/nios2r1.h include/opcode/nios2r2.h opcodes/nios2-opc.c

[Qemu-devel] [PATCH V4 3/7] nios2: Add usermode binaries emulation

2016-12-31 Thread Marek Vasut
Add missing bits for qemu-user required for emulating Altera Nios2 userspace binaries. Signed-off-by: Marek Vasut Cc: Chris Wulff Cc: Jeff Da Silva Cc: Ley Foon Tan Cc: Sandra Loosemore Cc: Yves

[Qemu-devel] [PATCH V8 2/7] nios2: Add architecture emulation support

2016-12-31 Thread Marek Vasut
From: Chris Wulff Add support for emulating Altera NiosII R1 architecture into qemu. This patch is based on previous work by Chris Wulff from 2012 and updated to latest mainline QEMU. Signed-off-by: Marek Vasut Cc: Chris Wulff Cc: Jeff Da

[Qemu-devel] [PATCH V5 6/7] nios2: Add Altera 10M50 GHRD emulation

2016-12-31 Thread Marek Vasut
Add the Altera 10M50 Nios2 GHRD model. This allows emulating the 10M50 development kit with the Nios2 GHRD loaded in the FPGA. It is possible to boot Linux kernel and run userspace, thus far only from initrd as storage support is not yet implemented. Signed-off-by: Marek Vasut Cc:

[Qemu-devel] [PATCH V4 7/7] nios2: Add support for Nios-II R1

2016-12-31 Thread Marek Vasut
Add remaining bits of the Altera NiosII R1 support into qemu, which is documentation, MAINTAINERS file entry, configure bits, arch_init and configuration files for both linux-user (userland binaries) and softmmu (hardware emulation). Signed-off-by: Marek Vasut Cc: Chris Wulff

[Qemu-devel] [PATCH V4 4/7] nios2: Add IIC interrupt controller emulation

2016-12-31 Thread Marek Vasut
From: Chris Wulff Add the Altera Nios2 internal interrupt controller model. Signed-off-by: Marek Vasut Cc: Chris Wulff Cc: Jeff Da Silva Cc: Ley Foon Tan Cc: Sandra Loosemore

[Qemu-devel] [PATCH V4 5/7] nios2: Add periodic timer emulation

2016-12-31 Thread Marek Vasut
From: Chris Wulff Add the Altera timer model. Signed-off-by: Marek Vasut Cc: Chris Wulff Cc: Jeff Da Silva Cc: Ley Foon Tan Cc: Sandra Loosemore Cc: Yves Vandervennet

Re: [Qemu-devel] [PATCH RFC v11 0/4] vfio-pci: pass non-fatal error to guest

2016-12-31 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Message-id: 1483175588-17006-1-git-send-email-caoj.f...@cn.fujitsu.com Type: series Subject: [Qemu-devel] [PATCH RFC v11 0/4] vfio-pci: pass non-fatal error to guest === TEST SCRIPT BEGIN ===

[Qemu-devel] [PATCH v2] vfio/pci: Support error recovery

2016-12-31 Thread Cao jin
Support serious device error recovery Signed-off-by: Cao jin --- drivers/vfio/pci/vfio_pci.c | 70 +++-- drivers/vfio/pci/vfio_pci_private.h | 2 ++ 2 files changed, 70 insertions(+), 2 deletions(-) diff --git

[Qemu-devel] [PATCH RFC v11 4/4] vfio: add 'aer' property to expose aercap

2016-12-31 Thread Cao jin
From: Chen Fan Add 'aer' property, let user choose whether expose the aer capability or not. Should disable aer feature by default, because only non-fatal error is supported now. Signed-off-by: Chen Fan Signed-off-by: Dou Liyang

[Qemu-devel] [PATCH RFC v11 2/4] vfio: new function to init aer cap for vfio device

2016-12-31 Thread Cao jin
From: Chen Fan Introduce new function to initilize AER capability registers for vfio-pci device. Signed-off-by: Chen Fan Signed-off-by: Dou Liyang Signed-off-by: Cao jin ---

[Qemu-devel] [PATCH RFC v11 3/4] vfio-pci: pass the aer error to guest

2016-12-31 Thread Cao jin
From: Chen Fan When physical device has uncorrectable error hanppened, the vfio_pci driver will signal the uncorrectable error status register value to corresponding QEMU's vfio-pci device via the eventfd registered by this device, then, the vfio-pci's error eventfd

[Qemu-devel] [PATCH v11 1/4] pcie_aer: support configurable AER capa version

2016-12-31 Thread Cao jin
From: Dou Liyang Now, AER capa version is fixed to v2, if assigned device is actually v1, this value will be inconsistent between guest and host Signed-off-by: Dou Liyang Signed-off-by: Cao jin ---

[Qemu-devel] [PATCH RFC v11 0/4] vfio-pci: pass non-fatal error to guest

2016-12-31 Thread Cao jin
As previous discussion suggest, we could take a step back to handle non-fatal error first, this will make this patchset much more thinner, because we could drop all the configuration restriction related patches. FYI: patch 1 has been cherry picked into another series, and wait to be merged first,