Re: [openstack-dev] [nova][pci] What is the point of the ALLOCATED vs. CLAIMED device status?

2016-03-09 Thread yongli he
Hi, Jay Here is a rough summary about claimed state: when we resizing VM to same host, suppose we now have PCI A, will renew to B1, B2, before the whole resizing process finished, we given user the change to revert the re-size, it's better reverting to original PCI A, not a new PCI devices.

[openstack-dev] [nova][pci] What is the point of the ALLOCATED vs. CLAIMED device status?

2016-03-07 Thread Jay Pipes
Subject says it all. I've been trying to fix this bug: https://bugs.launchpad.net/nova/+bug/1549984 and just shake my head every time I look at the PCI handling code in nova/pci/manager.py and nova/pci/stats.py. Why do we have a CLAIMED state as well as an ALLOCATED state? Best, -jay