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

2016-09-20 Thread Wei Xu
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 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 submitt

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

2016-09-20 Thread Wei Xu
Hi Nick, I'm using a Gigabyte B150M-ds3h board, not sure about your board and requirement, if you want to pass through a usb device to a VM anxious enough to pay for some staff but not a new board, maybe you could try an extra pcie2usb adapter and plug it into the other iommu group:). Wei On 201

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

2016-09-20 Thread Wei Xu
On 2016年09月21日 12:31, Alex Williamson wrote: 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

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 sent Alex's explana

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

2016-09-20 Thread Wei Xu
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 sent Alex's explanation. Hopefully it will be escalated correctly. Thanks for your feed

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

2016-09-20 Thread Nick Sarnie
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 sent Alex's explanation. Hopefully it will be escalated correctly. Thanks, Nick On Tue, Sep 20, 2016 at 1:08 PM, Wei Xu wrote: >

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

2016-09-20 Thread Wei Xu
On 2016年09月20日 22:20, Alex Williamson wrote: On Tue, 20 Sep 2016 08:14:45 -0600 Alex Williamson wrote: On Tue, 20 Sep 2016 21:56:33 +0800 Wei Xu wrote: On 2016年09月20日 09:59, Alex Williamson wrote: On Tue, 20 Sep 2016 09:28:57 +0800 Wei Xu wrote: Hi Guys, I'm trying to pass through a r

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

2016-09-20 Thread Karsten Mettke
When I tried to Pass such nic to the guest, it would hard lock the device, even the Link Indikator LEDs stayed off, which used to work even when the driver was not loaded. The only way to get it working was/is to Power off the Maschine completely. After spending hours trying all kinds of recomma

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

2016-09-20 Thread Sebastian Hahn
Hi Alex, > On 20 Sep 2016, at 16:14, Alex Williamson wrote: > If your PCH root ports report an ACS capability then you can run kernel > v4.7 kernel on the host to expose the isolation. If the root ports > (00:1c.*) do not expose an ACS capability, it's probably a BIOS bug > similar to Nick's sys

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 wrote: > On 2016年09月20日 09:59, Alex Williamson wrote: > > 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

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 wrote: > On Tue, 20 Sep 2016 21:56:33 +0800 > Wei Xu wrote: > > > On 2016年09月20日 09:59, Alex Williamson wrote: > > > On Tue, 20 Sep 2016 09:28:57 +0800 > > > Wei Xu wrote: > > > > > >> Hi Guys, > > >> I'm trying to pass through a rtl8168

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

2016-09-20 Thread Wei Xu
On 2016年09月20日 09:59, Alex Williamson wrote: 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