pci-passthrough of openstack havana
来源:互联网 发布:pptv网络电视在线下载 编辑:程序博客网 时间:2024/06/06 08:51
Concept
1. pci_alias is configed in nova.conf on the controller node, for example,
pci_alias={"vendor_id":"8086", "product_id":"10c9", "name":"a1"}
It's your request pci device type, which will be used by the flavor while you creating an instance.
2. pci_passthrough_whitelist is configed in nova.conf on the compute node,for example,
pci_passthrough_whitelist=[{ "vendor_id":"8086","product_id":"10c9"}]
This means the pci devices you permit to be used by vms on the compute nodes, the others are forbidden.
User scenarios
1. Config pci_passthrough_whitelist on the compute node and pci_alias on the controller node, which means the devices you permit to be assigned to vms.
2. Create a floavor and set the "pci_passthrough:alias",for example,
nova flavor-key gzm set "pci_passthrough:alias"="a1:2". one more request is supported too,like this, nova flavor-key gzm set "pci_passthrough:alias"="a1:2,b1:1".
3. Show details of the flavor, you'll see ,
nova flavor-show gzm +----------------------------+--------------------------------------+ | Property | Value | +----------------------------+--------------------------------------+ | name | gzm | | ram | 1024 | | OS-FLV-DISABLED:disabled | False | | vcpus | 2 | | extra_specs | {u'pci_passthrough:alias': u'a1:2'} | | swap | | | os-flavor-access:is_public | True | | rxtx_factor | 1.0 | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 10 | | id | 62686729-aa43-4fc6-99e0-b50bb84e2f60 | +----------------------------+--------------------------------------+
4. Create instance using the flavor above,then you'll see two pci devices have been assigned to the instance and you won't see them on the old compute node.
5. Query pci device in nova DB, you'll see the status of devices applyed to the request changed to "allocated".
- pci-passthrough of openstack havana
- Centos 7 + Openstack + PCI passthrough(透传)
- PCI passthrough
- OpenStack PCI passthrough(PIC直通)环境配置
- xen pci-passthrough 2
- pci passthrough with qemu
- xen pci-passthrough 2
- fedora 18 kvm pci passthrough
- CentOS7 中Xen PCI passthrough
- qemu使用PCI passthrough设备
- OpenStack Havana版发布
- openstack havana release
- OpenStack Havana版发布
- Openstack Havana学习总结
- 用pdb调试OpenStack Havana
- openstack (havana) 计算节点安装
- openstack (havana) 控制节点安装
- CentOS下搭建openstack-Havana
- 网站建设对对碰
- struts2:国际化
- C++ 类模板作为函数模板示例
- C# 实现快速排序
- struts2:下载文件
- pci-passthrough of openstack havana
- 浅谈架构
- 文言文解释
- 【marks】html5 学习资源
- 获取本地IP地址
- 【C语言】22-枚举
- IOS cydia 越狱
- sdk
- C#下实现在ProgressBar控件上添加百分比