Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-05 Thread Alex Williamson
On Wed, 5 Oct 2016 02:13:21 -0700 A223 A223 wrote: > Hello, > > When attempting PCI passthrough of a USB controller using the > following parameter to qemu: > -device vfio-pci,host=05:00.0,bus=root.1,addr=00.5 > > I receive the following error: > qemu-system-x86_64: -device > vfio-pci,host=05:0

Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-06 Thread Alex Williamson
On Wed, 5 Oct 2016 20:30:34 -0700 A223 A223 wrote: > On Wed, Oct 5, 2016 at 9:33 AM, Alex Williamson > wrote: > > On Wed, 5 Oct 2016 02:13:21 -0700 > > A223 A223 wrote: > >> How can I go about tracking down the root cause of this error? > > > > Thi

Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 21:07:06 -0700 A223 A223 wrote: > On Thu, Oct 6, 2016 at 8:30 PM, A223 A223 wrote: > > On Thu, Oct 6, 2016 at 9:46 AM, Alex Williamson > > wrote: > >> On Wed, 5 Oct 2016 20:30:34 -0700 > >> A223 A223 wrote: > >> > >&g

Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-07 Thread Alex Williamson
On Thu, 6 Oct 2016 23:19:13 -0700 A223 A223 wrote: > On Thu, Oct 6, 2016 at 9:29 PM, Alex Williamson > wrote: > > On Thu, 6 Oct 2016 21:07:06 -0700 > > A223 A223 wrote: > > > >> On Thu, Oct 6, 2016 at 8:30 PM, A223 A223 wrote: > >> > On

Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-14 Thread Alex Williamson
On Mon, 10 Oct 2016 20:05:02 -0700 A223 A223 wrote: > I just tried testing the patch. > > Initially, it seemed to work fine (log messages below). > However, I am getting hard lockup of the host machine shortly after > the vfio_region_setup related log lines print out to the screen. I > would say

Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-14 Thread Alex Williamson
On Fri, 14 Oct 2016 10:47:42 -0600 Alex Williamson wrote: > On Mon, 10 Oct 2016 20:05:02 -0700 > A223 A223 wrote: > > > I just tried testing the patch. > > > > Initially, it seemed to work fine (log messages below). > > However, I am getting hard lockup

Re: [Qemu-discuss] How to resolve "Failed to mmap" error?

2016-10-17 Thread Alex Williamson
On Fri, 14 Oct 2016 10:56:44 -0600 Alex Williamson wrote: > On Fri, 14 Oct 2016 10:47:42 -0600 > Alex Williamson wrote: > > > On Mon, 10 Oct 2016 20:05:02 -0700 > > A223 A223 wrote: > > > > > I just tried testing the patch. > > > > > >

Re: [Qemu-discuss] [Qemu-devel] [libvirt-users] pci-assign fails with read error on config-space file

2016-10-28 Thread Alex Williamson
On Fri, 28 Oct 2016 11:25:55 -0400 Laine Stump wrote: > On 10/28/2016 07:28 AM, Henning Schild wrote: > > Hey, > > > > i am running an unusual setup where i assign pci devices behind the > > back of libvirt. I have two options to do that: > > 1. a wrapper script for qemu that takes care of suid-r

Re: [Qemu-discuss] DMAR errors with iommu emulation enabled

2017-02-07 Thread Alex Williamson
On Tue, 7 Feb 2017 11:46:57 -0500 Jintack Lim wrote: > Adding CC and some more information. $ ./scripts/get_maintainer.pl -f ./hw/i386/intel_iommu.c get_maintainer.pl: No maintainers found, printing recent contributors. get_maintainer.pl: Do not blindly cc: them on patches! Use common sense. "

Re: [Qemu-discuss] DMAR errors with iommu emulation enabled

2017-02-07 Thread Alex Williamson
On Tue, 7 Feb 2017 12:53:04 -0500 Jintack Lim wrote: > Thanks Alex, I appreciate your help. > > On Tue, Feb 7, 2017 at 12:09 PM, Alex Williamson > wrote: > > On Tue, 7 Feb 2017 11:46:57 -0500 > > Jintack Lim wrote: > > > >> Adding CC and some

Re: [Qemu-discuss] [vfio-users] Device not tied to a QemuConsole.

2017-10-07 Thread Alex Williamson
On Sat, 07 Oct 2017 15:38:57 +0300 José Pekkarinen wrote: > On Thursday, 5 October 2017 21:40:14 EEST José Pekkarinen wrote: > > Hi list, > > > > I'm currently toying around with vfio mediated devices in qemu, and I'm > > having troubles defining a display through vnc for the mediated de

Re: [Qemu-discuss] [vfio-users] Device not tied to a QemuConsole.

2017-10-09 Thread Alex Williamson
On Sat, 07 Oct 2017 22:21:05 +0300 José Pekkarinen wrote: > > You need a time machine because the thing you're trying to do hasn't > > been implemented yet, it's under discussion upstream. Thanks, > > Wow! Where is my flux capacitor when I need it... > > Out of curiosity, is the

Re: [Qemu-discuss] [vfio-users] Issues with IGD legacy passthrough with a HP Probook 430 G4 and other hardware

2018-04-26 Thread Alex Williamson
On Thu, 26 Apr 2018 14:46:08 +0200 Tony Cheneau wrote: > Hello folks, > > A colleague and I are trying to get legacy passthrough to work with a HP > Probook > 430 G4 in BIOS mode. This is part of a "bigger" pet project where we are > trying > to use legacy passthrough on all our laptop that ha

Re: Usage of vfio-pci without KVM.

2023-09-12 Thread Alex Williamson
On Tue, 12 Sep 2023 14:47:41 +0200 Philippe Mathieu-Daudé wrote: > Cc'ing VFIO maintainers. > > On 12/9/23 14:39, Shlomo Pongratz wrote: > > Hi, > > I'm running qemu-system-aarch64 (QEMU emulator version 7.0.93) on > > Ubuntu 20.04.4 LTS i with Intel's i7. > > I'm trying to pass a Samsung NVME d

Re: Usage of vfio-pci without KVM.

2023-09-12 Thread Alex Williamson
> On Tue, Sep 12, 2023 at 3:58 PM Alex Williamson > wrote: > > > > On Tue, 12 Sep 2023 14:47:41 +0200 > > Philippe Mathieu-Daudé wrote: > > > > > Cc'ing VFIO maintainers. > > > > > > On 12/9/23 14:39, Shlomo Pongratz wrote: > &

Re: Why does the vmovdqu works for passthrough device but crashes for emulated device with "illegal operand" error (in x86_64 QEMU, -accel = kvm) ?

2024-03-04 Thread Alex Williamson
On Sun, 3 Mar 2024 22:20:33 + Xu Liu wrote: > Hello, > > Recently I am running my programs in QEMU (x86_64) with “-accel=kvm”. > The QEMU version is 6.0.0. > > I run my programs in two ways: > > 1. I pass through my device through vfio-pci to QEMU, this way > works well. > > 2. I wr