hypervision理解的记录

目录

一、hypervision介绍

Type 1 Hypervisor

Type 2 Hypervisor

二、QNX hypervision是TYPE1的虚拟机

三、QNX hypervision架构

1、VMM (虚拟机管理器)

2、virtual-net

3、qnx官网 network

九、其他


一、hypervision介绍

 首先,hypervision分为Type1和Type2,现在想要了解TYPE1型的虚拟机(应该是qnx hypervision吧,记得是,等会儿再查以下?)

hypervision是什么

什么是虚拟机管理程序hypervisor,什么是hypervisor type 1, hypervisor type 2_程序之巅的博客-CSDN博客

Xen、KVM、VMware、hyper-v等虚拟化技术的对比

摘录以下先:

Type 1 Hypervisor

可以本地安装并直接在物理主机上运行的Hypervisor称为Type 1 Hypervisor。

关键指标

  • Type 1 Hypervisor可以直接安装在裸机系统或物理主机上。

  • 它不需要先安装或可用的操作系统 (OS),即可将自身部署在服务器上。

Type 2 Hypervisor

无法本地安装且需要操作系统才能在物理主机上运行的管理程序称为类型 2 管理程序。

关键指标

  • Type 2 hypervisor 不能直接安装在裸机系统或物理主机上。

  • 它需要首先安装或可用的操作系统,以便部署自己。

  • VMware Workstation Player、VMware Workstation Pro和VirtualBox是Type 2 hypervisor的一些示例。

二、QNX hypervision是TYPE1的虚拟机

QNX Type 1 Hypervisor_锋影Q的博客-CSDN博客

The QNX Hypervisor 1.0 is a realtime Type 1 hypervisor that can be used for developing medical devices. By using the QNX Hypervisor, medical device developers can consolidate multiple operating systems onto a single compute platform or system-on-chip (SoC), thereby reducing the cost, size, weight, and power consumption of their products. The QNX Hypervisor is designed to simplify certification efforts for safety-critical systems. It can run safety-related software components on one OS and non-safety components on another OS, while keeping the two operating systems fully isolated from each other, though both run on the same hardware. This technique complements the advanced isolation mechanisms of the QNX Neutrino OS, which prevent software components from corrupting or consuming system resources needed by other components or by the OS itself. The QNX Hypervisor can also simplify the sharing of other resources, including network connections, file systems, and input/output devices such as the I2C serial bus. Developers are spared the effort of writing custom shared-device drivers that increase testing and certification costs and that typically exhibit lower performance than vendor-supplied device drivers. In addition to the QNX OS, the QNX Hypervisor also supports other operating systems, including Linux and Android. It complies with IEC 62304 standard for medical device software.

QNX Hypervisor —— 虚拟设备_建鼎呓语的博客-CSDN博客

三、QNX hypervision架构

1、VMM (虚拟机管理器)

VMM负责任务如下:

  •     使用设备树中的配置启动qvm进程。
  •     监听qvm运行状况事件,并向在主机(HOST)上运行的相关客户端提供通知。
  •     当qvm、startupmgr或其他需要时,处理qvm的启动/重启/终止任务。
  •     监视qvm进程,以防发生崩溃,并采取适当的措施。
  •     根据运行状况事件/控制指令维护每个虚拟机的状态。
  •     每当虚拟机的状态发生变化时,就向已注册的客户端通知事件。
     

01-SA8155 QNX 虚拟机Hypervisor_村里小码农的博客-CSDN博客_qnx虚拟机

2、virtual-net

虚拟化之Virtio-Net基础篇-51CTO.COM

05-SA8155 QNX Hypervisor 之 Virtio-i2c虚拟I2C_村里小码农的博客-CSDN博客

3、qnx官网 network

https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.hypervisor.safety.user/topic/network/guest2world.html

https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.hypervisor.user/topic/utils/devnp-vdevpeer-net.so.html

https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.hypervisor.safety.user/topic/network/network.html

https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.hypervisor.safety.user/topic/vdev_ref/vdev_virtio-net.html

https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.hypervisor.user/topic/network/network.html

https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.utilities/topic/b/brconfig.html

QNX开发总结_SEP5010的博客-CSDN博客_qnx开发

https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.utilities/topic/i/io-pkt.html

https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.hypervisor.nonsafety.user/topic/use/taps.html

https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.hypervisor.safety.user/topic/utils/devnp-vdevpeer-net.so.html

四、感觉比较好的虚拟机网络  

参考:Linux 虚拟网络设备

本意是想了解QNX hypervision的网络结构和veth-pair的原理,也就是双系统qnx和android之间的网络架构,但是qnx网络架构资源较少,所以通过linux的网络架构来先理解下 

 

八、 veth-pair

这个有为什么veth-pair无法ping通彼此的原理:

计算机网络基础02-linux虚拟网络隔离(网桥bridge,路由,虚拟网卡veth)_linux 网络隔离_liaomin416100569的博客-CSDN博客

Linux 虚拟网络设备 veth-pair 详解,看这一篇就够了-阿里云开发者社区

图解并茂|Linux中常用的虚拟网卡 - 知乎

Linux 虚拟网络设备 veth-pair 详解,看这一篇就够了 - bakari - 博客园

docker容器网络通信原理分析 - 知乎

九、其他

基本概念:

network namespace:实现网络虚拟化的重要功能,它能创建多个隔离的网络空间,它们有独自的网络栈信息。不管是虚拟机还是容器,运行的时候仿佛自己就在独立的网络中。
veth:VETH(Virtual Ethernet )是Linux提供的另外一种特殊的网络设备,中文称为虚拟网卡接口。它总是成对出现,要创建就创建一个pair。一个Pair中的veth就像一个网络线缆的两个端点,数据从一个端点进入,必然从另外一个端点流出。每个veth都可以被赋予IP地址,并参与三层网络路由过程,可以实现不同netns之间网络通信。
网桥:是一种虚拟设备,可以将 Linux 内部多个网络接口连接起来,一个网络接口接收到网络数据包后,会复制到其他网络接口中,Bridge 是二层设备,仅用来处理二层的通讯。Bridge 使用 MAC 地址表来决定怎么转发帧(Frame)。Bridge 会从 host 之间的通讯数据包中学习 MAC 地址。

虚拟机体验之 Xen 篇 —— 令人脑洞大开的奇异架构 - sunylat - 博客园

Linux接口之虚拟网络接口介绍 | 云原生知识星球

Linux Tun/Tap 介绍-赵化冰的博客 | Zhaohuabing Blog

QNX Hypervisor中的一些概念

虚拟化软件Docker、Wine、Qemu、KVM有什么区别? - 知乎

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值