NOTE: Check if a certain patch from a specific PULL request (KVM in this case) is included in the latest Fedora Kernel: First, fetch the SRPM and build it: $ wget http://kojipkgs.fedoraproject.org//packages/kernel/3.10.0/0.rc0.git23.1.fc20/src/kernel-3.10.0-0.rc0.git23.1.fc20.src.rpm $ rpm -ivh kernel-3.10.0-0.rc0.git23.1.fc20.src.rpm $ cd ~/rpmbuild/SPECS $ cd ../SPECS/ $ rpmbuild -ba kernel.spec .... ## configuration written to .config # #+ echo '# x86_64' + cat .config + find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';' + find . -name .gitignore -exec rm -f '{}' ';' + cd .. + exit 0 $ cd ../SOURCES/ # Check upstream KVM tree, for the latest commit -- # db6ae6158186a17165ef990bda2895ae7594b039 -- and grep for that content # in /rpmbuild/SOURCES/patch-3.9-git23.xz. # git://git.kernel.org/pub/scm/virt/kvm/kvm.git $ git log tags/kvm-3.10-1 $ pushd $ cp patch-3.9-git23.xz /var/tmp/t/ $ cd /var/tmp/t/ $ unxz patch-3.9-git23.xz $ ls patch-3.9-git23 # Now, the last commit in upstream KVM -- # db6ae6158186a17165ef990bda2895ae7594b039 -- added this - "kvm: Add # compat_ioctl for device control API". First, let's view the contents # of the patch $ git log -p db6ae6158186a17165ef990bda2895ae7594b039 # It added the line: ".compat_ioctl = kvm_device_ioctl" # Let's grep for that in the just in /rpmbuild/SOURCES/patch-3.9-git23.xz. # compat_ioctl for device control API $ grep ".compat_ioctl = kvm_device_ioctl" patch-3.9-git23 + .compat_ioctl = kvm_device_ioctl, # Another interesting patch is # in commit -- 8a1b9dd0006bce5cc770fd80bc95f9916670c151 which does KVM: # nVMX: Enable and disable shadow vmcs functionality $ grep "bool sync_shadow_vmcs" patch-3.9-git23 + bool sync_shadow_vmcs;