[vfio-users] Bus reset trouble with Titan-X (was Re: Welcome to the "vfio-users" mailing list (Digest mode))

2016-10-17 Thread Alex Williamson
(generally a good idea to have a useful subject line) On Mon, 17 Oct 2016 16:26:15 -0500 Kevin Vasko wrote: > > Any suggestions on debugging a !!! Unknown header type 7f? > This usually means that the device didn't come back from bus reset and re-reading the PCI config space

Re: [vfio-users] vga passthrough on server boards

2016-10-12 Thread Alex Williamson
On Wed, Oct 12, 2016 at 11:50 AM, Bronek Kozicki <b...@spamcop.net> wrote: > On 12/10/2016 18:04, Alex Williamson wrote: > > On Wed, Oct 12, 2016 at 10:51 AM, Ethan Thomas <thomas.et...@gmail.com > > <mailto:thomas.et...@gmail.com>> wrote: > > > > I'

Re: [vfio-users] vfio-pci late loading, built-in or initramfs

2016-10-12 Thread Alex Williamson
On Tue, 11 Oct 2016 22:09:06 -0700 Muted Bytes wrote: > I have recently installed an AMD card for my host system, and my vm > guest is also using an AMD card. On the host, I am using radeon driver > but would like to prevent the guest getting radeon loaded. With > pci-stub,

Re: [vfio-users] Nvidia Code 43 on Fedora 24 host and Windows 10 guest.

2016-10-05 Thread Alex Williamson
On Wed, 5 Oct 2016 16:35:08 +0200 Thomas Lindroth wrote: > On 10/05/2016 09:28 AM, Dawid Osuchowski wrote:> I've ran dd if=NV287MH.2K0 > of=strip bs=1 skip=1536, put the ROM file in > > /usr/share/qemu, run restorecon on it and it started working! I'm so > > thankful

Re: [vfio-users] Nvidia Code 43 on Fedora 24 host and Windows 10 guest.

2016-10-04 Thread Alex Williamson
On Tue, 4 Oct 2016 19:19:09 -0600 Alex Williamson <alex.william...@redhat.com> wrote: > On Tue, 4 Oct 2016 21:40:17 +0200 > Dawid Osuchowski <tulph...@openmailbox.org> wrote: > > > I've rebooted the machine, the lspci output was the same without &

Re: [vfio-users] Nvidia Code 43 on Fedora 24 host and Windows 10 guest.

2016-10-04 Thread Alex Williamson
On Tue, 4 Oct 2016 21:40:17 +0200 Dawid Osuchowski wrote: > I've rebooted the machine, the lspci output was the same without > launching anything prior to it. > > If by OVMF boot splash screen you mean the "TianoCore" screen before the > OS is starting, then yes i'm

Re: [vfio-users] Nvidia Code 43 on Fedora 24 host and Windows 10 guest.

2016-10-04 Thread Alex Williamson
On Tue, 4 Oct 2016 19:43:58 +0200 Dawid Osuchowski wrote: > Hello! I'm trying to do a PCI passthrough of my GPU to Windows 10 guest > machine using libvirt and vfio-pci. I've followed Alex Williamson's > guide from vfio-blog >

Re: [vfio-users] Finding a suitable replacement mainboard for GPU passthrough

2016-09-28 Thread Alex Williamson
On Wed, Sep 28, 2016 at 1:58 PM, Martin Schrodt <mar...@schrodt.org> wrote: > On 09/28/2016 09:40 PM, Alex Williamson wrote: > > 3) The first and the second PCIe-slot are in the same IOMMU-group, > > preventing me to use a second GPU for the host in slot 2 without

Re: [vfio-users] Finding a suitable replacement mainboard for GPU passthrough

2016-09-28 Thread Alex Williamson
On Wed, Sep 28, 2016 at 1:29 PM, Martin Schrodt wrote: > Dear community, > > after buying a new rig a week ago, I noticed several problems with the > mainboard I chose, so I am going to send it back. It's an ASRock Z 170 > Extreme 4. > > Problems I have: > > 1) The board does

Re: [vfio-users] Single function PCIe NIC card having multiple queue. one queue for one VM. Can i use VFIO here?

2016-09-23 Thread Alex Williamson
On Fri, 23 Sep 2016 14:42:58 +0530 Sasikumar Natarajan wrote: > Hi all, > [diagram:https://www.redhat.com/archives/vfio-users/2016-September/msg00097.html]> > > We are trying to share the PCIe NIC card with multiple VMs. PCI NIC card > has one Physical

Re: [vfio-users] issues about igd and usb passthrough when windows7 safe mode interface occurs

2016-09-23 Thread Alex Williamson
On Fri, 23 Sep 2016 19:25:54 +0800 (CST) fulaiyang wrote: > Hi,Alex > Recently, I bought another platform with i3-6100U to passthrough the > GPU. The platform has only DP or HDMI output. I am very happy to success to > passthrough igd and the usb controller. However,

Re: [vfio-users] Lost link when pass through rtl8168 to guest

2016-09-23 Thread Alex Williamson
On Fri, 23 Sep 2016 14:52:46 +0800 Wei Xu <w...@redhat.com> wrote: > On 2016年09月21日 22:50, Alex Williamson wrote: > > On Wed, 21 Sep 2016 14:04:20 +0800 > > Wei Xu <w...@redhat.com> wrote: > > > >> On 2016年09月21日 13:41, Wei Xu wrote: > >&

Re: [vfio-users] Z170X IOMMU Groups

2016-09-22 Thread Alex Williamson
On Thu, Sep 22, 2016 at 12:47 PM, Nick Sarnie wrote: > Hi again, > > Very much to my surprise, Gigabyte replied and sent me a fixed BIOS. The > new IOMMU groups (with ACS override patch kernel commandline removed for > this boot), as well as my lspci information are

Re: [vfio-users] Lost link when pass through rtl8168 to guest

2016-09-21 Thread Alex Williamson
On Wed, 21 Sep 2016 14:04:20 +0800 Wei Xu <w...@redhat.com> wrote: > On 2016年09月21日 13:41, Wei Xu wrote: > > On 2016年09月21日 12:31, Alex Williamson wrote: > >> On Wed, 21 Sep 2016 11:52:31 +0800 > >> Wei Xu <w...@redhat.com> wrote: > >>

Re: [vfio-users] Lost link when pass through rtl8168 to guest

2016-09-20 Thread Alex Williamson
On Wed, 21 Sep 2016 11:52:31 +0800 Wei Xu wrote: > On 2016年09月21日 02:59, Nick Sarnie wrote: > > Hi Wei, > > > > My system is a desktop, so it must just be a general Gigabyte BIOS bug. > > I submitted a help ticket about this issue and just gave a brief > > explanation and then

Re: [vfio-users] Lost link when pass through rtl8168 to guest

2016-09-20 Thread Alex Williamson
On Tue, 20 Sep 2016 21:56:33 +0800 Wei Xu <w...@redhat.com> wrote: > On 2016年09月20日 09:59, Alex Williamson wrote: > > On Tue, 20 Sep 2016 09:28:57 +0800 > > Wei Xu <w...@redhat.com> wrote: > > > >> Hi Guys, > >> I'm trying to pass through a rt

Re: [vfio-users] Lost link when pass through rtl8168 to guest

2016-09-20 Thread Alex Williamson
On Tue, 20 Sep 2016 08:14:45 -0600 Alex Williamson <alex.william...@redhat.com> wrote: > On Tue, 20 Sep 2016 21:56:33 +0800 > Wei Xu <w...@redhat.com> wrote: > > > On 2016年09月20日 09:59, Alex Williamson wrote: > > > On Tue, 20 Sep 2016 09:28:57 +0800

Re: [vfio-users] Lost link when pass through rtl8168 to guest

2016-09-19 Thread Alex Williamson
On Tue, 20 Sep 2016 09:28:57 +0800 Wei Xu wrote: > Hi Guys, > I'm trying to pass through a rtl8168 nic to linux guest on my laptop > recently, the link is directly connected to my notebook with a cable. > > qemu: 2.7.0-rc4 > host/guest kernel: 4.7.0-rc5 > driver name: r8169 >

Re: [vfio-users] Z170X IOMMU Groups

2016-09-17 Thread Alex Williamson
On Sat, Sep 17, 2016 at 9:12 AM, Alex Williamson < alex.l.william...@gmail.com> wrote: > On Sat, Sep 17, 2016 at 9:00 AM, Nick Sarnie <commendsar...@gmail.com> > wrote: > >> Hi Alex, >> >> I'm on 4.7.4 which includes this patch, and there are the IOMMU gr

Re: [vfio-users] Z170X IOMMU Groups

2016-09-17 Thread Alex Williamson
On Sat, Sep 17, 2016 at 9:00 AM, Nick Sarnie wrote: > Hi Alex, > > I'm on 4.7.4 which includes this patch, and there are the IOMMU groups. Is > there some extra info I can provide? > Hmm, based on the info you sent me previously, your PCH root ports don't even attempt

Re: [vfio-users] Z170X IOMMU Groups

2016-09-16 Thread Alex Williamson
On Fri, Sep 16, 2016 at 6:30 PM, Nick Sarnie wrote: > Hi, > > I was wondering if we could split group 7 any more. CPU is the 6700k. I'd > like to be able to pass through the USB controller without the ACS patch. > Run a newer kernel, Intel botched ACS in Skylake:

Re: [vfio-users] issues about igd-passthrough using vfio-pci

2016-09-13 Thread Alex Williamson
[adding the list back, again] On Tue, Sep 13, 2016 at 9:52 PM, fulaiyang wrote: > thanks for your advise. > I have removed the modprobe.blacklist and video options and unsafe > interrupts thing. After reboot, I unbind the i915 driver and bind to the > vfio-pci. >

Re: [vfio-users] issues about igd-passthrough using vfio-pci

2016-09-13 Thread Alex Williamson
On Tue, Sep 13, 2016 at 8:37 PM, fulaiyang wrote: > hello, > Thanks for your reply and sorry to provide not enough information. > The IGD is the the primary graphics on the host and I am trying to do > legacy mode. The VM is SeaBIOS based and the system is a a

Re: [vfio-users] issues about igd-passthrough using vfio-pci

2016-09-13 Thread Alex Williamson
On Tue, Sep 13, 2016 at 6:59 PM, fulaiyang wrote: > thank you,I also have tried many ways but it still didn't work. I want to > know what kind of gpu vfio support? You haven't really provided enough information to begin to help. Are you trying to do legacy mode or UPT for

Re: [vfio-users] IGD Skylake rom?

2016-09-10 Thread Alex Williamson
fb jumping on the igd? > > > > Thanks! > > > > José. > > > > On 10 Sep 2016 18:52, "Alex Williamson" <alex.l.william...@gmail.com> > wrote: > > > On Sat, Sep 10, 2016 at 9:51 AM, José Ramón Muñoz Pekkarinen < > > > > >

Re: [vfio-users] IGD Skylake rom?

2016-09-10 Thread Alex Williamson
On Sat, Sep 10, 2016 at 7:53 AM, José Ramón Muñoz Pekkarinen < koali...@gmail.com> wrote: > > > Hi, > > > > I got qemu-2.7 last weekend, and I wanted to try the IGD passthorugh in my > laptop. Unfortunately it seems my vgadoesn't use any rom, so I wonder if > someone could provide any for the

Re: [vfio-users] Nvidia code 43 with Ubuntu 16.04 host

2016-09-06 Thread Alex Williamson
On Tue, Sep 6, 2016 at 11:47 AM, Will Marler wrote: > Simon, are you able to boot your VM with GPU passthrough and no Code 43 > errors without enabling any hyperv features? Do this first, then move on to > enabling Hyper V. > > "I cannot place the vendor_id flag in the xml

Re: [vfio-users] Nvidia code 43 with Ubuntu 16.04 host

2016-09-06 Thread Alex Williamson
On Tue, Sep 6, 2016 at 8:33 AM, Rokas Kupstys wrote: > While nothing wrong at the same time it is fragile. Script is replacing > some parameters with something else. If command line will change enough for > search string to no longer be present in there it will stop working.

Re: [vfio-users] Nvidia code 43 with Ubuntu 16.04 host

2016-09-06 Thread Alex Williamson
On Sep 6, 2016 1:23 AM, "Rokas Kupstys" wrote: > > Why on earth are you using wrapper script? If you use shellscript to start qemu then add these flags there. If you are using libvirt - libvirt also supports these features. This mess is looking for a trouble and i believe you

Re: [vfio-users] Asus P6T Deluxe unofficial BIOS

2016-09-02 Thread Alex Williamson
On Fri, Sep 2, 2016 at 2:44 PM, Marco Stagge wrote: > > maybe aw have some more ideas? :) > So I see this in your dmeg: [0.865352] [ cut here ] [0.865398] WARNING: CPU: 11 PID: 1 at drivers/iommu/intel-iommu.c:4747

Re: [vfio-users] Cannot register eventfd with MSI/MSI-X interrupts

2016-08-12 Thread Alex Williamson
On Fri, 12 Aug 2016 13:58:25 + chris thompson wrote: > Sorry, false alarm (of sorts), I was sending corrupt file descriptors when > registering the IRQ eventfd descriptors. Still not very good that the kernel > went bang... > > I reduced the code to a small

Re: [vfio-users] Cannot register eventfd with MSI/MSI-X interrupts

2016-08-02 Thread Alex Williamson
On Tue, 2 Aug 2016 09:54:19 -0600 Alex Williamson <alex.william...@redhat.com> wrote: > On Tue, 2 Aug 2016 10:21:30 + > chris thompson <the_cartograp...@hotmail.com> wrote: > > > Hi Alex, > > > > Thanks for your patience, I noticed the count !

Re: [vfio-users] Strange behavior with recent update. ACS(?) & VFIO

2016-08-02 Thread Alex Williamson
On Tue, Aug 2, 2016 at 4:02 PM, Mark wrote: > Thank you for your input Alex, here is a pastie with some of the info you > were interested in: > VM powered off: http://pastie.org/10927534 > 00:1b.0 is the onboard, 01:00.0 and 01:00.1 are the nvidia gpu/nvidia > audio. > Group

Re: [vfio-users] Strange behavior with recent update. ACS(?) & VFIO

2016-08-02 Thread Alex Williamson
On Tue, Aug 2, 2016 at 3:22 PM, Mark wrote: > Hi, > > Today I updated my arch linux system. It had only been a week since the > last update. Not notices applicable to my update had been posted. > > My setup is a Intel i7-4790S, ASRock mobo supporting vt-d and all the >

Re: [vfio-users] GTX 570 EFI support

2016-08-02 Thread Alex Williamson
On Tue, 2 Aug 2016 15:50:03 + (UTC) gerson moises wrote: > Hi everyone, > > I followed the guide on this link : > http://vfio.blogspot.my/2014/08/does-my-graphics-card-rom-support-efi.html to > check if my graphics card ROM supports EFI > But I get the following

Re: [vfio-users] Cannot register eventfd with MSI/MSI-X interrupts

2016-08-02 Thread Alex Williamson
On Tue, 2 Aug 2016 10:21:30 + chris thompson wrote: > Hi Alex, > > Thanks for your patience, I noticed the count != 0 issue shortly after, but I > get the same EINVAL error anyway when it is zero - but this is because the > IRQ does not have a mapping yet.

Re: [vfio-users] BIOS memory mapping or chipset issue with MMIO prevents IGD pass-through in legacy mode?

2016-07-27 Thread Alex Williamson
On Wed, 27 Jul 2016 18:42:29 -0700 globalgorri...@fastmail.fm wrote: > On Wed, Jul 27, 2016, at 06:04 PM, Alex Williamson wrote: > > > Hmm, the kernel not exposing the VGA regions is really the only way we > > can fail here and the only two ways that the kernel won't exp

Re: [vfio-users] BIOS memory mapping or chipset issue with MMIO prevents IGD pass-through in legacy mode?

2016-07-27 Thread Alex Williamson
On Wed, 27 Jul 2016 17:30:37 -0700 globalgorri...@fastmail.fm wrote: > > > qemu.log: > > > qemu-system-x86_64: -device > > > vfio-pci,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2: IGD device > > > :00:02.0 failed to enable VGA access, legacy mode disabled > > > > Is you kernel built with

Re: [vfio-users] BIOS memory mapping or chipset issue with MMIO prevents IGD pass-through in legacy mode?

2016-07-27 Thread Alex Williamson
On Wed, 27 Jul 2016 17:01:21 -0700 globalgorri...@fastmail.fm wrote: > Hello, > > Do you reckon this is what some bugzilla's find to be a motherboard > memory mapping issue or a chipset issue? > > Any ideas on working around it besides opting the IGD out of MMIO? > > Doing that prevents it

Re: [vfio-users] NVIDIA GPU Passthrough to Win10 - Driver Disabled (Code 43)

2016-07-25 Thread Alex Williamson
On Mon, 25 Jul 2016 21:39:56 -0400 Steven Bell wrote: > Hey Alex, > > I really appreciate all your help and your quick responses (and everyone > else too, thanks!). > > I have found a Utility from MSI that will detect if there is an updated > version of the my card's

Re: [vfio-users] NVIDIA GPU Passthrough to Win10 - Driver Disabled (Code 43)

2016-07-25 Thread Alex Williamson
On Mon, 25 Jul 2016 20:15:15 -0400 Steven Bell wrote: > So I tried a BIOS VM, freshly created from scratch. Reinstalled Windows 10 > and was able to get the NIC and USB passthrough working fine. When I > removed the VNC Graphic device and Video Display, then add the NVIDIA

Re: [vfio-users] NVIDIA GPU Passthrough to Win10 - Driver Disabled (Code 43)

2016-07-25 Thread Alex Williamson
On Mon, 25 Jul 2016 17:11:13 -0400 Steven Bell wrote: > Hi Alex, > > My original XML config created by virt-manager did not have any hyperv > related options. There was no tag, nor was there a clock for > hyperv. > > Why would these be missing? Since they aren't there

Re: [vfio-users] intel_iommu=on and aacraid / Adaptec 3805

2016-07-17 Thread Alex Williamson
On Sun, 17 Jul 2016 14:42:24 -0500 David wrote: > # lspci -nnvs 03:0e.0 > 03:0e.0 RAID bus controller [0104]: Adaptec AAC-RAID [9005:0285] > Subsystem: Adaptec 3805 [9005:02bc] > Flags: bus master, stepping, 66MHz, medium devsel, latency 32, IRQ 60 > Memory at

Re: [vfio-users] intel_iommu=on and aacraid / Adaptec 3805

2016-07-17 Thread Alex Williamson
On Sun, 17 Jul 2016 05:32:29 -0500 David wrote: > OK, installed all these rpms and rebooted. IOMMU is still on, but > sadly the Raid volume still isn't showing up. Rebooted a second time > to be sure. Attaching new error log. > > $ uname -r > 4.6.4-302.aw0.fc24.x86_64 >

Re: [vfio-users] intel_iommu=on and aacraid / Adaptec 3805

2016-07-14 Thread Alex Williamson
config file somewhere? Ok, you said you were running F24, here are the kernel rpms with the fix already applied: http://people.redhat.com/~alwillia/adaptec-3805/ If this works for you, I'll post the patch upstream. Thanks, Alex > On Wed, Jul 13, 2016 at 11:26 PM, Alex Williamson > <ale

Re: [vfio-users] intel_iommu=on and aacraid / Adaptec 3805

2016-07-13 Thread Alex Williamson
s no hardware. > > I have attached the error log. > > # lspci -v -s 03:01.0 > **Nothing** Ah yes, this begins to spark some memories: commit d3d2ab43ddae5f958461ac0a9a2b484a68194df5 Author: Alex Williamson <alex.william...@redhat.com> Date: Tue Jan 13 11:26:50 2015 -0700

Re: [vfio-users] intel_iommu=on and aacraid / Adaptec 3805

2016-07-13 Thread Alex Williamson
eve the AACRAID driver is built into the Linux kernel. How about sending the full, uncut, unfiltered dmesg out first? Have you tried adding iommu=pt as a boot option? Thanks, Alex > On Tue, Jul 12, 2016 at 9:51 AM, Alex Williamson > <alex.william...@redhat.com> wrote: > > On

Re: [vfio-users] intel_iommu=on and aacraid / Adaptec 3805

2016-07-12 Thread Alex Williamson
On Sun, 10 Jul 2016 13:17:41 -0500 David wrote: > I have run into a strange problem, while setting up my Fedora 24 box for > KVM, i noticed that my raid array stopped showing as an available drive. > After a lot of troubleshooting and reinstalling linux to this PC 2 more >

Re: [vfio-users] Single GTX980 GPUPassthrough - Memory listener initialization failed for container

2016-07-09 Thread Alex Williamson
Kernel is old. QEMU is old. Please burn whatever instructions caused you to arrive at that abomination. If you need to do that, it suggests your libvirt is also old. There's a good change dmesg is filled with errors indicating insufficient locked memory limits for the user precisely because

Re: [vfio-users] hot-plug PCIe reassignment

2016-07-08 Thread Alex Williamson
On Fri, Jul 8, 2016 at 8:43 PM, Kajim Shanti wrote: > Hi, > Since I heard there are some PCIe devices that are hot-pluggable, I was > wondering if it might work to cut off the power from a discrete graphic > card in order to reassign it among different VMs without having

Re: [vfio-users] No reset on GT730

2016-07-07 Thread Alex Williamson
On Thu, Jul 7, 2016 at 8:05 AM, Gerhard de Clercq < gerharddecle...@outlook.com> wrote: > > I actually used that tutorial to set it up and I can't find anything that > I might have missed. I have unfortunately returned the card by now while I > still had time so I can't test it further. It would

Re: [vfio-users] Binding Radeon R9 380X 4gb to the vfio driver hangs system on recent kernels.

2016-06-25 Thread Alex Williamson
On Sat, 25 Jun 2016 20:16:56 +0200 Andreas Lo Bosco wrote: > Hello ! > > Can anyone tell me how I can delete this subscription so I can get no > more mail me ? > > ___ > vfio-users mailing list > vfio-users@redhat.com >

Re: [vfio-users] Code 43 with Rampage III and GTX660 in Windows 10

2016-06-23 Thread Alex Williamson
it's typical for GeForce cards to throw a Code43 when you still have the emulated graphics attached. My advice also remains don't use q35 unless you need to. I don't see any reason that a GTX660 and Win10 guest needs to. I don't know if that's causing you any trouble though. I don't see any

Re: [vfio-users] Nvidia glitches on Windows 10 guest

2016-06-21 Thread Alex Williamson
On Tue, Jun 21, 2016 at 12:28 PM, Berillions wrote: > To enable the Hugepages and to allocate 4096, i only follow the Debian > Wiki like i said. And concerning the VM, i only add in the .xml : > " > > " > And when the VM is running does HugePages_Free in

Re: [vfio-users] Nvidia glitches on Windows 10 guest

2016-06-21 Thread Alex Williamson
On Tue, Jun 21, 2016 at 12:05 PM, Berillions wrote: > You're right, I badly understood the use of Hugepage. > > Like you say, 4096 is enough to use 4GB in my VM but unfortunatly with > this, i still have freeze, corruption in the VM ... > > In resume : > - 4096 Hugepages +

Re: [vfio-users] Nvidia glitches on Windows 10 guest

2016-06-21 Thread Alex Williamson
On Tue, Jun 21, 2016 at 11:31 AM, Berillions wrote: > Hi guys, > > I found where come from the issue. I have really in my PC 12Gb Memory RAM > (but the issue exist with real 8Gb Memory Ram). > > If i give 4Gb or more to the VM, i have the glitches, corruption and > freeze.

Re: [vfio-users] Question about IGD Passthrough

2016-06-20 Thread Alex Williamson
On Mon, Jun 20, 2016 at 10:44 AM, YounJae Rho wrote: > Hi! > I applied alex's IGD(Intel graphic display) passthrough patch recently. > First of all, thanks alex for your hard works! > Welcome :) But you should really be using qemu.git + seabios.git, and eventually just

Re: [vfio-users] RocketRaid 1144c / AsMedia 1042a

2016-06-20 Thread Alex Williamson
On Fri, Jun 17, 2016 at 9:56 PM, Nick Rodgers wrote: > Almost a year and two more 4-controller usb 3.0 cards later, I still > haven't found one that does what I'm after. I purchased the StarTech > PEXUSB3S44V and the Sonnet Allegro Pro. Both devices get their own

Re: [vfio-users] [Virt-Manager]Unable to install Nvidia driver (crash during installation)

2016-06-17 Thread Alex Williamson
On Fri, Jun 17, 2016 at 3:57 AM, Berillions wrote: > Hi, > > I have a big problem when i want to install the Nvidia driver on my > Windows 10 VM. > The VM's creation and installation of Windows 10 is correct. I can use it > without problem. > > But during the installation

Re: [vfio-users] Linux-on-Linux desktop

2016-06-17 Thread Alex Williamson
On Fri, Jun 17, 2016 at 8:18 AM, Adam Hunt wrote: > Alex, > > Thanks for the reply. When you say that I'll need to run in legacy mode I > take it that you're referring to the physical system, not the VM(s). > No, read the link. There are two modes of IGD assignment,

Re: [vfio-users] Linux-on-Linux desktop

2016-06-17 Thread Alex Williamson
On Fri, Jun 17, 2016 at 7:16 AM, Adam Hunt wrote: > I'd like to virtualize my desktop so that Linux machine I use day-to-day > is running as a VM on a minimally configured Linux host. > > The idea is to allow me to run a couple other virtual machines along side > my desktop

Re: [vfio-users] Nvidia Error 43 and vendor_id state='on'

2016-06-11 Thread Alex Williamson
Now would probably be a good time to share your hardware details and exact XML you're using. Nobody wants to waste their time helping someone debug a laptop with Optimus. ___ vfio-users mailing list vfio-users@redhat.com

Re: [vfio-users] Why does the audio from VM crackle?

2016-06-09 Thread Alex Williamson
On Thu, Jun 9, 2016 at 1:07 AM, Abdulla Bubshait wrote: > I am not the only one who has this issue, but if you emulate an audio card > you end up with occasional crackling audio output, which is sometimes > associated with drops in FPS. > > I know there are ways to

Re: [vfio-users] gpu passthrough problems after upgrade qemu 2.5 -> 2.6

2016-06-06 Thread Alex Williamson
On Mon, Jun 6, 2016 at 3:05 PM, Laszlo Ersek wrote: > On 06/04/16 23:51, Nick Sarnie wrote: > > Hi Jiri, > > > > I just wanted to add that a similar issue is effecting me. With qemu > > 2.6, I get a black screen after the seabios screen. Downgrading to 2.5.1 > > fixes it for

Re: [vfio-users] vfio fails Guest FreeBSD9.3 host Fedora 23

2016-06-01 Thread Alex Williamson
On Wed, 1 Jun 2016 15:46:10 -0400 chintu hetam wrote: > hugepages doesn't work with VFIO it works with vhost. TBH I don't have a lot of faith in your setup since you haven't really shown how you're allocating 1G hugepages, or even 2M, which many people here are using

Re: [vfio-users] vfio fails Guest FreeBSD9.3 host Fedora 23

2016-05-27 Thread Alex Williamson
[re-adding vfio-users] On Fri, 27 May 2016 15:03:17 -0400 chintu hetam wrote: > that worked Alex, sorry for the delay in response. > so my memorybacking configuration was > > > > > > > > i had to remove it completely in order to make it

Re: [vfio-users] vfio fails Guest FreeBSD9.3 host Fedora 23

2016-05-27 Thread Alex Williamson
mulqdq dtes64 monitor > ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic > popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb > pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms > xsaveopt > > Hugepagesize:1048

Re: [vfio-users] vfio fails Guest FreeBSD9.3 host Fedora 23

2016-05-27 Thread Alex Williamson
On Fri, 27 May 2016 11:15:41 -0400 chintu hetam wrote: > I have tried few things with libvirt, directly spawning VM with qemu-kvm > even tried withe centos7 as a guest and in all cases vfio fails. > > here are the details!! > > 1) Device: Intel X710/XL710 > 2) virt xml

Re: [vfio-users] Passing intel_iommu=on in grub causes boot to immediately lock on two different X58 LGA1366 MB.

2016-05-23 Thread Alex Williamson
On Mon, May 23, 2016 at 3:20 AM, Brian Yglesias < br...@atlanticdigitalsolutions.com> wrote: > Sorry for the schizophrenic posts. > > Updating the BIOS reset it to default, which returned VT-d to the default > setting of 'disabled', and that is the only reason I was able to boot. > > I tried the

Re: [vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-20 Thread Alex Williamson
On Fri, May 20, 2016 at 11:38 AM, Nicolas Roy-Renaud < nicolas.roy-renau...@ens.etsmtl.ca> wrote: > Did you have any issues with efifb or some other driver grabbing the gard > before vfio-pci? What are your IOMMU groups like, which chard is your > boot_vga, what script or method do you use to get

Re: [vfio-users] VFIO and random host crashes

2016-05-19 Thread Alex Williamson
I'm not convinced the ones I've seen are power related, my system has been running videos in a loop for days, completed a few folding @home jobs, done some compiling, and I even added another (idle, low power) video card since the last hang. Storage doesn't jive with my observations either. I'm

Re: [vfio-users] Passing intel_iommu=on in grub causes boot to immediately lock on two different X58 LGA1366 MB.

2016-05-18 Thread Alex Williamson
[re-adding vfio-users] On Wed, May 18, 2016 at 1:48 PM, Brian Yglesias < br...@atlanticdigitalsolutions.com> wrote: > I've attached with quiet removed (should have done that already). > > Nothing jumps out at me, hopefully someone else will see something. > > With iommu=pt in lieu of

Re: [vfio-users] VGA Passthrough limitations?

2016-05-18 Thread Alex Williamson
On Wed, May 18, 2016 at 1:33 PM, Abdulla Bubshait wrote: > I don't think this is an identical MSRS spam, but it might be caused by > the same underlying principal. I think the bottleneck here is the CPU, > since Virtual CPUs are not exactly like CPUs. > > Take the Heroes

Re: [vfio-users] Passing intel_iommu=on in grub causes boot to immediately lock on two different X58 LGA1366 MB.

2016-05-18 Thread Alex Williamson
On Wed, May 18, 2016 at 3:12 AM, Eddie Yen wrote: > As discussed in another recent thread, LGA2011 SandBridge-EP processors > are cheap, but motherboard prices are verging on absurd. > > > Indeed, X79 motherboard price just like gold, especially EOF. It's still > hard to

Re: [vfio-users] VFIO and random host crashes

2016-05-18 Thread Alex Williamson
Are you using isolcpus or nohz_full? I've seen similar lockups (even the reset button not working) running a slim host with a Win8/NVIDIA VM + Fedora/IGD VM tuned to try to give the host the minimal resources possible, but with the VMs overlapping CPUs because I only have a quad-core. I built a

Re: [vfio-users] Windows 7 successfully migrated from BIOS to OVMF/UEFI

2016-05-17 Thread Alex Williamson
On Mon, May 16, 2016 at 3:20 AM, Leonhard Preis wrote: > Graphics card firmware and UEFI > === > > This brings me to the first obstacle I encountered: Your graphics card’s > bios/firmware needs to support UEFI, too. To my complete surprise and only >

Re: [vfio-users] Passing intel_iommu=on in grub causes boot to immediately lock on two different X58 LGA1366 MB.

2016-05-17 Thread Alex Williamson
On Tue, May 17, 2016 at 1:19 PM, Brian Yglesias < br...@atlanticdigitalsolutions.com> wrote: > The first is an Asus Rampage II Gene. While the manual claims VT-d > support, Asus boards are known to break PCI pass through in linux. The CPU > is a ci7 920. > > I went out and purchased a

Re: [vfio-users] Recommended GPU

2016-05-12 Thread Alex Williamson
On Thu, May 12, 2016 at 7:01 AM, Janusz wrote: > 4.2.0 is old, have you tried newer one? I am on 4.5, on 4.4 also don't > remember any problems. > what other hardware do you have? > I can't imagine what's been changed in newer host kernels that would have any effect on this

Re: [vfio-users] BSOD occuring with 1 game in VM

2016-05-10 Thread Alex Williamson
On Tue, May 10, 2016 at 4:40 PM, Abdulla Bubshait wrote: > I have a pretty stable VFIO setup running for a while, but I am stuck with > this > odd problem where 1 game (heroes of the storm) keeps giving me a BSOD > whenever I try to run it in the VM under Windows 10. > >

Re: [vfio-users] VFIO device assignment fails for LSI SAS2008 on Xeon E3-1200 v3

2016-05-10 Thread Alex Williamson
On Mon, May 9, 2016 at 4:46 PM, Damon Namod wrote: > Hi all, > > I just tried Linux 4.6.0-rc7 with qemu 2.6.0-rc4. Same error and > behaviour. What the heck is this? > Could you post 'sudo lspci -vvvs 01:00.0' from the host system? I found possibly something more similar to

Re: [vfio-users] Trying to get VFIO working on my laptop

2016-05-10 Thread Alex Williamson
On Tue, May 10, 2016 at 10:08 AM, Nicolas Roy-Renaud < nicolas.roy-renau...@ens.etsmtl.ca> wrote: > Also, looking at the comments in your script, you seem to have VFIO and > VGA arbitration (x-vga) mixed up. You can't use the two methods at the same > time, they're mutually exclusive. What?!

Re: [vfio-users] VFIO device assignment fails for LSI SAS2008 on Xeon E3-1200 v3

2016-05-09 Thread Alex Williamson
On Sun, May 8, 2016 at 7:24 PM, Damon Namod wrote: > Hi Okky, > > thanks for you response! > > Passing the card to a Linux (Ubuntu 15.04) guest fails with the same > message: > > qemu-system-x86_64: vfio_dma_map(0x5613dc154610, 0xfeb9, > 0x2000, 0x7f7976a09000) = -14

Re: [vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-09 Thread Alex Williamson
On Mon, May 9, 2016 at 11:13 AM, Okky Hendriansyah wrote: > > Appreciate your work on this. I would like to propose other things about > VFIO/OVMF GPU passthrough that in my opinion should be included in the wiki > as well: > > 1.) Avoid transparent hugepages and enable

Re: [vfio-users] Trying to get VFIO working on my laptop

2016-05-09 Thread Alex Williamson
On Mon, May 9, 2016 at 10:21 AM, Okky Hendriansyah wrote: > On Mon, May 9, 2016 at 9:35 AM, Daurnimator wrote: > >> Hi all, >> > > Hi Daurnimator, > > >> I'm trying to get windows working inside QEMU on my laptop with >> passthrough of my gfx card. >>

Re: [vfio-users] Trying to get VFIO working on my laptop

2016-05-09 Thread Alex Williamson
On Mon, 9 May 2016 12:35:18 +1000 Daurnimator wrote: > Hi all, > > I'm trying to get windows working inside QEMU on my laptop with > passthrough of my gfx card. > However, I seem to be running getting the infamous code 43 from the > nvidia driver. > Screenshot of device

Re: [vfio-users] Static and stutter on USB devices.

2016-05-08 Thread Alex Williamson
On Sun, 8 May 2016 19:22:43 -0700 "Lance R. Vick" wrote: > I have some persistent issues with a couple USB devices via vfio/qemu that > I do not experience when booted native: > > Oculus Rift CV1 > - head-tracking stutter (any game or demo) > - host CPU ~100% on every core

Re: [vfio-users] Initialization problem with pass-through video card

2016-05-06 Thread Alex Williamson
On Fri, 6 May 2016 13:07:23 -0500 Sheldon Palmer wrote: > Ok so even though I have gone through Alex’s “step by step” > (http://vfio.blogspot.com/) > several times over, I think I am still missing something because each time I > get > the same result. That is: my

Re: [vfio-users] KVM internal error. Suberror: 1, emulation failure problem

2016-05-06 Thread Alex Williamson
On Fri, 6 May 2016 23:30:02 +0800 "xuemin.wen" wrote: > thanks,Alex. > > I use the same config to launch the VMs in the same time.Card with PCI > address 02:00.0 and the 03:00.0 works fine, 82:00.0 and 83:00.0 are not. > > I just check the BIOS settings.Configuration of PCI-e

Re: [vfio-users] KVM internal error. Suberror: 1, emulation failure problem

2016-05-06 Thread Alex Williamson
On Fri, 6 May 2016 22:56:14 +0800 "xuemin.wen" wrote: > hello everyone, > I am trying to passthrough 4*GTX970 video card to individual VMs,here is > the problem. > > the GTX970 with PCI address 02:00.0 and 03:00.0 can passthrough to the > VMs,and works good. > >

Re: [vfio-users] BAR 0: can't reserve

2016-04-28 Thread Alex Williamson
On Thu, Apr 28, 2016 at 2:53 PM, Blank Field wrote: > Aha, but /etc/sysconfig/grub is a symlink to /etc/default/grub which is > not a symlink to either of /etc/grub2.cfg or /etc/grub2-efi.cfg which are > symlinks to the corresponding config files. > Right, one is a

Re: [vfio-users] BAR 0: can't reserve

2016-04-28 Thread Alex Williamson
On Apr 28, 2016 1:55 PM, "Blank Field" wrote: > > vfio-pci :01:00.0: BAR 0: can't reserve [mem 0xc000-0xcfff > 64bit pref] > > cat /proc/iomem shows... > b000- : PCI Bus :00 > b000-bfff : PCI Bus :02 > b000-bfff :

Re: [vfio-users] VFIO not claiming device

2016-04-22 Thread Alex Williamson
On Fri, Apr 22, 2016 at 5:58 PM, Brett Peckinpaugh wrote: > Might be working now, oddly I thought I used the format modules-load= and > no luck but it is at the moment. Only issue, when I rebooted I had to > reset my dual monitor config. Any issues with kernel modules

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-18 Thread Alex Williamson
On Mon, Apr 18, 2016 at 3:14 PM, Garland Key wrote: > Please add what to do if you have two identical GPUs. Here is exactly > what is needed to make it work. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - > >

Re: [vfio-users] Guest does not boot OS with GPU passed through, stuck at TianoCore boot splash

2016-04-18 Thread Alex Williamson
On Mon, Apr 18, 2016 at 8:35 AM, Blank Field wrote: > > On Apr 18, 2016 5:31 PM, "Laszlo Ersek" wrote: > > > I'm very pleased with my GTX750. > > I guess most 7XX nvidia cards work rather well, no? 750 being the most > balanced in

Re: [vfio-users] Looking for performance tips, qemu machine type and pci/pcie-root questionning?

2016-04-14 Thread Alex Williamson
On Thu, Apr 14, 2016 at 10:13 PM, Okky Hendriansyah wrote: > Hi Thibaut, > > On Fri, Apr 15, 2016 at 10:46 AM, thibaut noah > wrote: > >> Hello everyone, so i'm still in my endless pursuit of performance. >> >> Currently crawling qemu options a bit,

Re: [vfio-users] Hyper-v enlightments on recent NVIDIA drivers?

2016-04-14 Thread Alex Williamson
On Thu, Apr 14, 2016 at 9:07 PM, thibaut noah wrote: > On the libvirt side, reading the documentation again i bumped into this : > > > > > https://libvirt.org/formatdomain.html#elementsFeatures > > Anybody knowing why we have to rely on qemu since apparently

Re: [vfio-users] Hyper-v enlightments on recent NVIDIA drivers?

2016-04-13 Thread Alex Williamson
On Wed, Apr 13, 2016 at 1:17 PM, thibaut noah wrote: > The problem i have is i use libvirt, putting the flag on qemu-arg requires > to set cpu again. > As i have no idea which cpu setting will be used this doesn't seem like a > good idea, i saw that people use scripts

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-12 Thread Alex Williamson
Skimming... Most of those AMD CPUs in the amd.com link do not support AMD-Vi User-level access to devices... No, don't do this. System mode libvirt manages device permissions. If you want unprivileged, session mode libvirt you need a whole other wiki page. Binding to VFIO... Gosh I wish those

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-12 Thread Alex Williamson
> > On 2016-04-12 17:24, Alex Williamson wrote: > > On Tue, Apr 12, 2016 at 2:30 PM, Bronek Kozicki < <b...@spamcop.net> > b...@spamcop.net> wrote: > > >> 2. does PCI bridge have to be in a separate IOMMU group than >> passed-through device? >&

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-12 Thread Alex Williamson
On Tue, Apr 12, 2016 at 2:30 PM, Bronek Kozicki wrote: > On 12/04/2016 20:36, Nicolas Roy-Renaud wrote: > >> I've already rewritten the first two sections ("Prerequisites" and >> "Setting up IOMMU"), and the rest of the article should essentially >> follow the same basic

<    1   2   3   4   5   >