[vfio-users] In need for some help building acs patch for fedora

sL1pKn07 SpinFlo sl1pkn07 at gmail.com
Sat Feb 20 23:33:03 UTC 2016


2016-02-21 0:07 GMT+01:00 thibaut noah <thibaut.noah at gmail.com>:
> Bumping this, i'm struggling for hours basically because the patch i'm
> trying to use is too old.
> Most recent i found was a modified version on the fedora forum suppose to
> work on 4.1.3
> Trying to fix it but without success so far.
> I managed to get this :
> http://ur1.ca/oju5v
>
> First hunk is failing at 2819, not really a problem since this is
> documentation.
> The second (which is the first for quirck.c) succeeds but after that the
> patch unexpectedly ends in middle of line.
> I don't know how this is possible since every bracket is close but okay.
>
> Did anyone manage to get his hands on a patch that will work with 4.2.3?
> If not is there a version between my kernel and 4.1.3?
>
> 2016-02-20 15:59 GMT+01:00 thibaut noah <thibaut.noah at gmail.com>:
>>
>> Hi, i spend almost 3days working on that patch and i cannot find a
>> comprehensive documentation, basically i like to know what i'm doing and i
>> don't understand half of what this documentation is talking about since i
>> have close to none kernel knowledge
>> (https://fedoraproject.org/wiki/Building_a_custom_kernel)
>>
>> If i understand correctly, to apply the patch
>> (https://lkml.org/lkml/diff/2013/5/30/513/1) i'm suppose to build a kernel
>> including it and then?...
>>
>> I created the rpmbuild dir, i downloaded my kernel (at least i think) with
>> "fedpkg clone -a kernel" and i really don't know what to do next despite the
>> doc, i think they actually list multiple methods to build the kernel so this
>> is more confusing than anything else.
>>
>> Is there someone who knows what he's doing that could land me a hand or
>> give me a proper documentation?
>>
>> I tried to use the patch directly with path -p1 < mypatch.txt but the
>> patch is looking for a source file to patch and i have no idea where is what
>> it's looking for and it is not specify in the doc
>> (https://www.kernel.org/doc/Documentation/applying-patches.txt)
>>
>> I use fedora 23 with kernel 4.2.3-300 if that helps
>
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>

try with this in 4.4.1

https://aur.archlinux.org/cgit/aur.git/plain/override_for_missing_acs_capabilities.patch?h=linux-vfio

source: https://aur.archlinux.org/cgit/aur.git/tree/?h=linux-vfio

greetings




More information about the vfio-users mailing list