• libvirt, libvirt-python, libvirtd 关系浅析


    libvirt 官方解释:  http://libvirt.org/

      见分隔线以下。

    我的理解:libvirt 作为一个中间层,封装了对下层虚拟化 hypervisor 的操作方法。也就是说,无论你是使用 kvm, 还是 xen,只要使用 libvirt 方式来操作,那操作的方法就是一样的。这些操作方法,就是 libvirt 提供的 API。

    libvirt-python

    我的理解:这个就是用来生成 libvirt.py 的自动化工具。将 libvirtmod.so (以及 libvirtmod_qemu.so 或其他)提供的接口转成 python 形式。

    libvirtd:

    以下来自:http://smilejay.com/2013/03/libvirt-configuration-and-usage/ (此博客强推)

    "libvirtd 是一个作为 libvirt 虚拟化管理系统中的服务器端的守护程序,如果要让某个节点能够用 libvirt 进行管理(无论是本地还是远程管理),都需要在这个节点上运行着 libvirtd 这个守护进程,以便让其他上层管理工具可以连接到该节点,libvirtd 负责执行其他管理工具发送它的虚拟化管理操作指令。而 libvirt 的客户端工具(包括virsh、virt-manager等)可以连接到本地或远程的 libvirtd 进程,以便管理节点上的客户机(启动、关闭、重启、迁移等)、收集节点上的宿主机和客户机的配置和资源使用状态。"  

    以下来自:

    "... 运行于远程节点上、名为 libvirtd 的特殊守护进程。当在新节点上安装 libvirt 时该程序会自动启动,且可自动确定本地虚拟机监控程序并为其安装驱动程序(稍后讨论)。该管理应用程序通过一种通用协议从本地 libvirt 连接到远程 libvirtd。对于 QEMU,协议在 QEMU 监视器处结束。QEMU 包含一个监测控制台,它允许检查运行中的来宾操作系统并控制虚拟机(VM)各部分。"

    =======================================================

    The virtualization API

    libvirt is:

    • A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes), see our project goals for details.
    • Free software available under the GNU Lesser General Public License.
    • A long term stable C API
    • A set of bindings for common languages
    • A CIM provider for the DMTF virtualization schema
    • A QMF agent for the AMQP/QPid messaging system
    • A technical meritocracy, in which participants gain influence over a project through recognition of their contributions.

    libvirt supports:

    libvirt provides:

    • Remote management using TLS encryption and x509 certificates
    • Remote management authenticating with Kerberos and SASL
    • Local access control using PolicyKit
    • Zero-conf discovery using Avahi multicast-DNS
    • Management of virtual machines, virtual networks and storage
    • Portable client API for Linux, Solaris and Windows
  • 相关阅读:
    JQ trigger函数无法触发a标签的两种解决方法
    Normalize.css
    wow.js中各种特效对应的类名
    利用伪元素:after清除浮动
    单词超出隐藏显示省略号(单行或多行)并设置是否将单词打断
    利用伪元素和css3实现鼠标移入下划线向两边展开效果
    css3 兼容各个浏览器
    html 初始化
    将博客搬至CSDN
    Linux配置问题
  • 原文地址:https://www.cnblogs.com/Clisa/p/3851573.html
Copyright © 2020-2023  润新知