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
--------
Open(O)
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, ...)
And
(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) ?
Finally,
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(!)
Thanks,
Shigeki Sakamoto.