NUMA node - Memory Only

Jin Huang andy.jinhuang at gmail.com
Thu Aug 11 09:21:18 UTC 2022


Hi, Andrea
Thank you for your help, but I did not figure out how to deal with the dsc
and rebuilding package stuff yet.


Also, I compiled and installed the libvirt-8.5.0 source code from
https://libvirt.org/sources/.
The build command I used is:
meson build -Dsystem=true -Ddriver_interface=enabled
-Ddriver_libvirtd=enabled -Ddriver_network=enabled -Ddriver_qemu=enabled
-Ddriver_remote=enabled -Dnumactl=enabled -Dnumad=enabled
-Dstorage_disk=enabled

Now my question is how to start the libvird? My OS is Ubuntu20.
According to https://libvirt.org/compiling.html, when I tried # service
libvirtd stop (or systemctl stop libvirtd.service), under build/src
directory
The system reports error: Failed to start/stop libvirtd.service: Unit
libvirtd.service not found.



Thank You
Best
Jin Huang


On Wed, Aug 10, 2022 at 2:17 AM Andrea Bolognani <abologna at redhat.com>
wrote:

> On Tue, Aug 09, 2022 at 01:26:55PM +0200, Michal Prívozník wrote:
> > On 8/9/22 12:55, Jin Huang wrote:
> > > Hi, everyone
> > > I built the libvirt 8.6.0 on my Ubuntu 20 system with the options like
> this:
> > > meson build -Dsystem=true -Ddriver_interface=enabled
> > > -Ddriver_libvirtd=enabled -Ddriver_network=enabled
> -Ddriver_qemu=enabled
> > > -Ddriver_remote=enabled -Dnumactl=enabled -Dnumad=enabled
> > > -Dstorage_disk=enabled
> > >
> > > (1)After installation, when I tried to start the libvirtd, I get this
> > > error message:
> > > error : virNetworkObjAssignDefLocked:576 : operation failed: network
> > > 'default' already exists with uuid 7477a9f5-02d3-4fbc-b0e8-d7229d39a6a2
> > >
> > > (2)When try the virsh command, I get this error message:
> > > virsh: /lib/x86_64-linux-gnu/libvirt-qemu.so.0: version
> > > `LIBVIRT_QEMU_8.2.0' not found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_8.0.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_8.5.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_6.10.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.7.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.8.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.2.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.1.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.3.0' not
> > > found (required by virsh)
> > > virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version
> > > `LIBVIRT_PRIVATE_8.6.0' not found (required by virsh)
> > >
> > > Could anyone give me some suggestions to fix these issues?
> >
> > This is pretty much expected if you had libvirt installed from your
> > package manager (which I believe is the case because of the network
> > error). I don't know what the correct way to build a .deb package is,
> > but on rpm based distros I usually build a .tar.xz (meson dist) from
> > which I build a .rpm (rpmbuild -ta) and then install it.
>
> You could grab the source package for the latest version of libvirt
> available in Debian, which would be
>
>   https://deb.debian.org/debian/pool/main/libv/libvirt/libvirt_8.5.0-1.dsc
>
> right now, and then follow the instructions in
>
>   https://wiki.debian.org/BuildingTutorial#Get_the_source_package
>
> to rebuild it locally targeting your release of Ubuntu. Since it's
> not insanely old, I expect that would work just fine.
>
> --
> Andrea Bolognani / Red Hat / Virtualization
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220811/93c2b7a2/attachment.htm>


More information about the libvirt-users mailing list