コード例 #1
0
ファイル: engine.py プロジェクト: yumingfei/virt-manager
 def _create_inspection_thread(self):
     if not self.config.support_inspection:
         logging.debug("No inspection thread because "
                       "libguestfs is too old, not available, "
                       "or libvirt is not thread safe.")
         return
     from virtManager.inspection import vmmInspection
     self.inspection = vmmInspection()
     self.inspection.start()
     self.connect("conn-added", self.inspection.conn_added)
     self.connect("conn-removed", self.inspection.conn_removed)
     return
コード例 #2
0
ファイル: engine.py プロジェクト: cardoe/virt-manager
    def _create_inspection_thread(self):
        logging.debug("libguestfs inspection support: %s",
                      self.config.support_inspection)
        if not self.config.support_inspection:
            return

        from virtManager.inspection import vmmInspection
        self.inspection = vmmInspection()
        self.inspection.start()
        self.connect("conn-added", self.inspection.conn_added)
        self.connect("conn-removed", self.inspection.conn_removed)
        return
コード例 #3
0
ファイル: engine.py プロジェクト: aurex-linux/virt-manager
    def _create_inspection_thread(self):
        logging.debug("libguestfs inspection support: %s",
                      self.config.support_inspection)
        if not self.config.support_inspection:
            return

        from virtManager.inspection import vmmInspection
        self.inspection = vmmInspection()
        self.inspection.start()
        self.connect("conn-added", self.inspection.conn_added)
        self.connect("conn-removed", self.inspection.conn_removed)
        return
コード例 #4
0
 def _create_inspection_thread(self):
     if not self.config.support_inspection:
         logging.debug("No inspection thread because "
                       "libguestfs is too old, not available, "
                       "or libvirt is not thread safe.")
         return
     from virtManager.inspection import vmmInspection
     self.inspection = vmmInspection()
     self.inspection.start()
     self.connect("conn-added", self.inspection.conn_added)
     self.connect("conn-removed", self.inspection.conn_removed)
     return