Re: Patching qemu from fedora-virt-preview repo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Mar 2016 23:15:33 +0100
thibaut noah <thibaut.noah@xxxxxxxxx> wrote:

> Hello, i have installed virt tools by adding the fedora-virt-preview
> repo as described in alex's blog (
> http://vfio.blogspot.fr/2015/05/vfio-gpu-how-to-series-part-3-host.html)
> when i first did my system installation (opening my own issue for
> better clarity).
> 
> https://fedorapeople.org/groups/virt/virt-preview/fedora-virt-preview.repo
> 
> Doing so actually installed a lot of packages but i am a little
> perplex here. Checking available packages from the repo i see that
> there is a qemu-2:2.5.0-6.fc23.x86_64 package which is not installed.
> In installed packages i have : qemu-system qemu-guest-agent qemu-kvm
> qemu-img qemu-common
> 
> I might be mistaken but is it possible that qemu-common are just files
> needed by all qemu packages and that by using libvirt i never really
> used qemu from the start?

Yes, this seems to be the case.  We confirmed that your system does not
have the qemu binary package from virt-preview installed.  You can
confirm for yourself where your qemu packages came from by running

dnf list installed | grep -i qemu

Over to the right it will tell you the repository the installed package
came from.  I suspect you will find that it will be fedora or updates,
and not virt-preview.

> If so and considering i actually never installed any packages myself
> for virtualization (only adding repo and updating system) do i have
> to install qemu-2 manually because this is the one to patch?

Why do you want to patch anything?  If there are updates in the fedora
repositiories, why not just update your system using them?  IIRC, the
results from your system showed that the fedora update packages were
2.5.0 as well.

Is there some customization that you are adding to the standard
source?

> I managed to enable fedora-virt-preview-source which is listed in the
> same repo as fedora-virt-preview and in there i can find rpm
> packages :
> https://fedorapeople.org/groups/virt/virt-preview/fedora-23/rpms/

Those seem to be native Fedora packages.

> Question is where do i got from there? Do i download qemu rpm
> manually (by clicking on it in my browser) and patch it?

Patch it with what?  You haven't mentioned any patches before, that I
recall.

> Seems by this link :
> http://bradthemad.org/tech/notes/patching_rpms.php that the process
> to patch a rpm is similar as patching a kernel, mainly creating
> folder, downloading source, patch it and recompile.
> 
> I'm just afraid to do so considering i'm not sure this is what i'm
> suppose to do. If this is the right way i assume using rpmbuild at
> the end of the process will automatically install it and i'm done?

No, rpmbuild builds a binary RPM package from a src.rpm that can then be
installed with dnf.  The advantage of doing this is that the packaging
system is aware of the new package.

If you decide you need to build a binary rpm that you can then install
with dnf, you can use relevant parts of this description of how to
create an RPM to help.
https://fedoraproject.org/wiki/How_to_create_an_RPM_package

And this is how to build a custom kernel.  Parts of that will also help
you understand what you have to do with rpmbuild in order to build the
binary RPMs you want to install.
http://fedoraproject.org/wiki/Building_a_custom_kernel

I thought it was clear from our previous exchange that all you needed to
do was run dnf upgrade to update the qemu packages already installed on
your system.  At least that is what I took away.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux