[libvirt] [RFC][PATCH] virt-manager calls migration API

S.Sakamoto fj0588di at aa.jp.fujitsu.com
Mon Sep 8 09:09:19 UTC 2008

Hi, I just make the proto patch that calls migration API from virt-manager.
Form unity point of view,
This proto patch adds Migrate in as same layer as operations for the Domain. 
Fisrt, this patch adds "Migrate" to the right-click menu when selected a domain.

    Run                  Run
    Pause                Pause
    Shutdown             Shutdown
    ---------    --->    --------
    Open(O)              Migrate

When "Migrate" selected, it goes on new window open which shows available(have
been connecting) hosts. Of course, I have been knowing that there is Drag&Drop way.

By the way,
(1)It is necessary to migrate a domain that users modify an environmental setting.
   (ex. for XenD xend-config, ...)
(2)I think it that is necessary to improve usability that there is "precheking" beofre migrating.
   (ex. same cpu family/processor number?, enough free memory?, ...)
Do you already have a idea that virt-manager servies above (1)(2) ?

I understand that migrated domain's state switches Running and Shutoff alternately,
because current virt-maneger manages domains by UUID.
Is there a plan that this problem is solved?

 virtManager/domain.py   |   27 ++++++
 virtManager/engine.py   |   82 ++++++++++++++++++++
 virtManager/hostlist.py |  172 ++++++++++++++++++++++++++++++++++++++++++
 virtManager/manager.py  |   27 ++!!!!
 vmm-hostlist.glade      |  195 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 488 insertions(+), 15 modifications(!)

Shigeki Sakamoto.

More information about the libvir-list mailing list