chown kernel/initrd before spawning qemu
chown kernel/initrd before spawning qemu

If we're running qemu unprivileged, we need to chown any supplied kernel
or initrd before spawning it.

* src/qemu_driver.c: rename qemuDomainSetDiskOwnership() to
  qemuDomainSetFileOwnership(), pass it a path string instead of a disk
  definition and use it for chowning the kernel/initrd in
  qemuDomainSetAllDeviceOwnership()

foomango/libvirt,warewolf/libvirt,fabianfreyer/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,agx/libvirt,andreabolognani/libvirt,warewolf/libvirt,andreabolognani/libvirt,zippy2/libvirt,iam-TJ/libvirt,wiedi/libvirt,warewolf/libvirt,agx/libvirt,shugaoye/libvirt,andreabolognani/libvirt,jeckersb/libvirt,iam-TJ/libvirt,dumbbell/libvirt,dumbbell/libvirt,jfehlig/libvirt,iam-TJ/libvirt,wiedi/libvirt,elmarco/libvirt,kantai/libvirt-vfork,datto/libvirt,jfehlig/libvirt,eskultety/libvirt,andreabolognani/libvirt,bjzhang/libvirt,libvirt/libvirt,novel/fbsd-libvirt,kantai/libvirt-vfork,taget/libvirt,dumbbell/libvirt,jeckersb/libvirt,foomango/libvirt,rlaager/libvirt,taget/libvirt,emaste/libvirt,rlaager/libvirt,foomango/libvirt,bjzhang/libvirt,soulxu/libvirt-xuhj,libvirt/libvirt,shugaoye/libvirt,jeckersb/libvirt,rmarwaha/libvirt1,wiedi/libvirt,fabianfreyer/libvirt,soulxu/libvirt-xuhj,jeckersb/libvirt,rmarwaha/libvirt1,siboulet/libvirt-openvz,novel/fbsd-libvirt,siboulet/libvirt-openvz,olafhering/libvirt,datto/libvirt,VenkatDatta/libvirt,rbu/libvirt,iam-TJ/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,kantai/libvirt-vfork,rmarwaha/libvirt1,danwent/libvirt-ovs,siboulet/libvirt-openvz,usc-isi/libvirt,siboulet/libvirt-openvz,emaste/libvirt,soulxu/libvirt-xuhj,rlaager/libvirt,elmarco/libvirt,wiedi/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,rbu/libvirt,amery/libvirt-vserver,jeckersb/libvirt,emaste/libvirt,trainstack/libvirt,crobinso/libvirt,rmarwaha/libvirt,cbosdo/libvirt,eskultety/libvirt,usc-isi/libvirt,warewolf/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,fabianfreyer/libvirt,novel/fbsd-libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,novel/fbsd-libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,danwent/libvirt-ovs,crobinso/libvirt,emaste/libvirt,elmarco/libvirt,zippy2/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,bjzhang/libvirt,trainstack/libvirt,rmarwaha/libvirt,rmarwaha/libvirt1,danwent/libvirt-ovs,nertpinx/libvirt,soulxu/libvirt-xuhj,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,rmarwaha/libvirt,jeckersb/libvirt,danwent/libvirt-ovs,soulxu/libvirt-xuhj,datto/libvirt,siboulet/libvirt-openvz,taget/libvirt,jeckersb/libvirt,agx/libvirt,novel/fbsd-libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,foomango/libvirt,rlaager/libvirt,novel/fbsd-libvirt,andreabolognani/libvirt,olafhering/libvirt,leilihh/libvirt,agx/libvirt,eskultety/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,jardasgit/libvirt,danwent/libvirt-ovs,leilihh/libvirt,kantai/libvirt-vfork,bjzhang/libvirt,rmarwaha/libvirt,datto/libvirt,trainstack/libvirt,warewolf/libvirt,olafhering/libvirt,iam-TJ/libvirt,nertpinx/libvirt,leilihh/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,VenkatDatta/libvirt,rlaager/libvirt,bjzhang/libvirt,usc-isi/libvirt,rmarwaha/libvirt,jardasgit/libvirt,jfehlig/libvirt,trainstack/libvirt,agx/libvirt,leilihh/libvirt,jardasgit/libvirt,leilihh/libvirt,olafhering/libvirt,wiedi/libvirt,dumbbell/libvirt,taget/libvirt,rmarwaha/libvirt1,cbosdo/libvirt,novel/fbsd-libvirt,eskultety/libvirt,usc-isi/libvirt,rbu/libvirt,elmarco/libvirt,usc-isi/libvirt,taget/libvirt,rmarwaha/libvirt,shugaoye/libvirt,rmarwaha/libvirt1,amery/libvirt-vserver,leilihh/libvirt,VenkatDatta/libvirt,dumbbell/libvirt,jardasgit/libvirt,emaste/libvirt,amery/libvirt-vserver,dumbbell/libvirt,rbu/libvirt,cbosdo/libvirt,zippy2/libvirt,datto/libvirt,fabianfreyer/libvirt,amery/libvirt-vserver,VenkatDatta/libvirt,shugaoye/libvirt,cbosdo/libvirt,trainstack/libvirt,crobinso/libvirt,amery/libvirt-vserver,nertpinx/libvirt,zippy2/libvirt,jfehlig/libvirt,warewolf/libvirt,emaste/libvirt,elmarco/libvirt,trainstack/libvirt,shugaoye/libvirt,libvirt/libvirt,crobinso/libvirt,kantai/libvirt-vfork,libvirt/libvirt,rbu/libvirt,warewolf/libvirt,wiedi/libvirt,trainstack/libvirt,foomango/libvirt,wiedi/libvirt