Re: [vfio-users] MSI Interrupt balance in guests

2016-04-28 Thread Muted Bytes
It would be great to get information on all the points your brought up. Regarding your last few points, specifically "Also, how does x2APIC relate to MSI and/or VFIO? I’m overriding my BIOS opt-out to force x2APIC. Is there any reason to not do this? Does this interfere with MSI at all? Why would

[vfio-users] PSA: Disable transparent huge pages on v4.5+

2016-04-28 Thread Alex Williamson
Public service announcement: Changes that went in for the v4.5 kernel seems to be disrupting page pinning for vfio. This potentially means that VM pages could change out from under the IOMMU mapping resulting in incorrect DMA operations. Since v4.5 kernels are now starting to trickle into stable

Re: [vfio-users] cpu usage in guest != cpu usage in host, even with exclusive pinning

2016-04-28 Thread Okky Hendriansyah
On Tue, Apr 5, 2016 at 6:31 PM, Quentin Deldycke wrote: > I tried a few with unigine valley and cinebench benchmark. > > Totally no difference on scores, no dpc latency difference also. > > But it is effective for turbostat when pc is in idle: > > at default value turbostat reports ~35w (cores of

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 config file for grub2-mkconfig

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

2016-04-28 Thread Blank Field
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. On Apr 28, 2016 11:45 PM, "Alex Williamson" wrote: > > > On Thu, Apr 28, 2016 at 2:41 PM, Blank Field > wr

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

2016-04-28 Thread Alex Williamson
On Thu, Apr 28, 2016 at 2:41 PM, Blank Field wrote: > Nevermind, the end user was dumb as usual. > > I've developed a habit of doing grub2-mkconfig -o /boot/grub2/grub.cfg > which efi grub ignores, storing it's config on the ESP instead. So you > should do grub2-mkconfig -o /boot/efi/EFI/fedora/g

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

2016-04-28 Thread Blank Field
Nevermind, the end user was dumb as usual. I've developed a habit of doing grub2-mkconfig -o /boot/grub2/grub.cfg which efi grub ignores, storing it's config on the ESP instead. So you should do grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg I wondered why this "video=efifb:off" wouldn't appear o

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 : :02:00.0 > c000-cfff

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

2016-04-28 Thread Blank Field
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 : :02:00.0 c000-cfff : PCI Bus :01 c000-cfff : :01:00.0

Re: [vfio-users] connect bridge without connection to the local network?

2016-04-28 Thread Okky Hendriansyah
On Thu, Apr 28, 2016 at 6:28 PM, thibaut noah wrote: > Static ip for the host seems to be fine, my only problem is with the guest > now. > > Yes i have libvirt installed, so if i enable virbr0 in my host and use it > as a source on my vm i should be fine? > > I currently have an interface of type

Re: [vfio-users] connect bridge without connection to the local network?

2016-04-28 Thread thibaut noah
Static ip for the host seems to be fine, my only problem is with the guest now. Yes i have libvirt installed, so if i enable virbr0 in my host and use it as a source on my vm i should be fine? I currently have an interface of type bridge in my xml which uses br-lan (my host bridge i pasted above)

Re: [vfio-users] connect bridge without connection to the local network?

2016-04-28 Thread Okky Hendriansyah
On Thu, Apr 28, 2016 at 5:33 PM, thibaut noah wrote: > So my cpl died last night, thus i cannot connect to my freebox and my > local network (neither internet obviously). > > From what i understand of a bridge it should be possible to still have a > connection between my host and my guest even th

Re: [vfio-users] connect bridge without connection to the local network?

2016-04-28 Thread thibaut noah
So my cpl died last night, thus i cannot connect to my freebox and my local network (neither internet obviously). >From what i understand of a bridge it should be possible to still have a connection between my host and my guest even though i don't have a cable plug in my ethernet card since it is

Re: [vfio-users] Win10 guest stops responding. How to debug?

2016-04-28 Thread thibaut noah
2016-04-28 12:22 GMT+02:00 thibaut noah : > I seem to have found something that works though i fail to understand some > parts of it, in this config, my ip would be 10.0.0.1? what is the /24 for? : > > Description="Local bridge network" > Interface=br-lan > Connection=bridge > BindsToInterfaces=(e

Re: [vfio-users] connect bridge without connection to the local network?

2016-04-28 Thread Okky Hendriansyah
On Thu, Apr 28, 2016 at 5:01 PM, thibaut noah wrote: > I use dhcp according to my bridge file in netctl > I don't even know what a dhcp server is, my knoledge in network is close > to none actually. > So if i use static ip i can solve this? > Hi Thibaut, Can you describe in more details of how

Re: [vfio-users] Win10 guest stops responding. How to debug?

2016-04-28 Thread thibaut noah
I seem to have found something that works though i fail to understand some parts of it, in this config, my ip would be 10.0.0.1? what is the /24 for? : Description="Local bridge network" Interface=br-lan Connection=bridge BindsToInterfaces=(enp6s5) #IP=no IP=static IPCustom=('addr add dev br-lan 1

Re: [vfio-users] connect bridge without connection to the local network?

2016-04-28 Thread thibaut noah
I use dhcp according to my bridge file in netctl I don't even know what a dhcp server is, my knoledge in network is close to none actually. So if i use static ip i can solve this? 2016-04-28 4:38 GMT+02:00 Ivan Volosyuk : > Do you use dhcp or static IPs? Can this be caused by inaccessible dhcp >

Re: [vfio-users] Win10 guest stops responding. How to debug?

2016-04-28 Thread Guillaume Brogi
Hey Okky! Thanks for the heads up. I'll try it out as soon as I can (which sadly means early next week...). I hope I can get a stable system too. Disks are really the slow point for me now, so any improvement are welcomed. Cheers Guillaume On 28 Apr 2016 07:38, Okky Hendriansyah wrote:On Thu, Mar