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

Aline Manera alinefm at linux.vnet.ibm.com
Tue Mar 4 18:48:37 UTC 2014


On 03/04/2014 07:14 AM, lvroyce at linux.vnet.ibm.com wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> When using get_list function of vms model,

I could not find an occurrence when we use VMsModel.get_list() outside 
its class.

> Background Task will run multiple times because of started
> in vm init function.
> Fix this by making vms model singleton.
>
> Royce Lv (2):
>    Make vm 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(+)
>




More information about the Kimchi-devel mailing list