Pci resource management
Revision as of 01:02, 13 January 2015 by Yongli.he@intel.com (talk | contribs) (Created page with "<gallery> Example.jpg|Caption1 Example.jpg|Caption2 </gallery> a) Same PCI had different Objects, one in the stats and another in the instance b) when RESIZE secondary host g...")
- Example.jpg
Caption1
- Example.jpg
Caption2
a) Same PCI had different Objects, one in the stats and another in the instance b) when RESIZE secondary host get other instances Objects
Resize:
-> new host claim -> old host stop (instance going to new HOST)-> new host starting new instance
Confirm:
new machine call source machines’s drop_resize_claim ( a new resource tracker been setting up)
Aborting:
new: stop new instance, drop claim -- > old: reverting old status and stating machine
problem 1: 在使用hostname前, claim状态必须保存, 因为libvirt 比较instance内的hostname和 pci device内的 compute ID 解决方法A: 从instance 的hostname 得到 compute node,然后得到 compute node ID 风险: 总是要读取数据库,并无法缓存 方法2: 保留 "Claim" 状态