xend: Save the state of PPCIs after hot-plug events.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
Keir Fraser committed 2009-03-31 11:16:01 +01:00
1 parent be01c537b2
commit f32b5caf31
1 file changed
+4
+4
View File
@@ -363,6 +363,8 @@ class XendNode:
ppci_uuid = saved_ppci_table.get(pci_dev.name, uuid.createString())
XendPPCI(ppci_uuid, ppci_record)
self.save_PPCIs()
def remove_PPCI(self, pci_name):
# Update lspci info
@@ -373,6 +375,8 @@ class XendNode:
ppci_ref = XendPPCI.get_by_sbdf(domain, bus, slot, func)
XendAPIStore.get(ppci_ref, "PPCI").destroy()
self.save_PPCIs()
def add_PSCSI(self):
# TODO
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.