Home | History | Annotate | Download | only in virt

Lines Matching refs:full_id

1284     status, full_id = commands.getstatusoutput(cmd)
1287 return full_id
1555 full_id = get_full_pci_id(pci_id)
1557 drv_path = os.path.join(base_dir, "devices/%s/driver" % full_id)
1564 cmd = "echo '%s' > %s/unbind" % (full_id, stub_path)
1569 cmd = "echo '%s' > %s/bind" % (full_id, driver)
1643 def is_binded_to_stub(self, full_id):
1645 Verify whether the device with full_id is already binded to pci-stub.
1647 @param full_id: Full ID for the given PCI device
1651 if os.path.exists(os.path.join(stub_path, full_id)):
1703 full_id = get_full_pci_id(pci_id)
1704 if not full_id:
1706 drv_path = os.path.join(base_dir, "devices/%s/driver" % full_id)
1712 if not self.is_binded_to_stub(full_id):
1713 logging.debug("Binding device %s to stub", full_id)
1720 (full_id, unbind_dev),
1721 (full_id, stub_bind)]
1731 if not self.is_binded_to_stub(full_id):