[Kimchi-devel] [PATCHv2 0/2] Make vms model singleton

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Wed Mar 5 08:14:50 UTC 2014


From: Royce Lv <lvroyce at linux.vnet.ibm.com>

Everytime when when VMsModel.get_list() need to be called
one more background task to collect vm status is started.
Fix this by making vms model singleton.

Royce Lv (2):
  Make vms model to be a singleton
  Hack test_model to support vm model singleton

 src/kimchi/model/vms.py | 3 +++
 tests/test_model.py     | 2 ++
 2 files changed, 5 insertions(+)

-- 
1.8.1.2




More information about the Kimchi-devel mailing list