Re: about python-libvirt

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

 



[re-adding libvirt-users; please don't take replies off-list]

On Thu, 2018-05-10 at 17:32 +0800, lizhuoyao wrote:
> Thanks!
> 
> But I'm not clear that what the language binding means? 
> What the relationship between they? Is that the code from
> https://libvirt.org/sources/ can be replaced completely by
> the code from https://libvirt.org/sources/python? 

Language bindings are the means through which libvirt, which is
implemented in C, can be used from non-C languages such as Python.
It's basically a bunch of glue code that allows Python code to
call into C code.

In order to use libvirt from Python, you need to have *both*
libvirt itself *and* the Python bindings installed on the system:
libvirt-python doesn't replace libvirt, and in fact can't work at
all unless the C library is available as well.

-- 
Andrea Bolognani / Red Hat / Virtualization

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux