[libvirt] [PATCH v8][re-send] support offline migration
li guang
lig.fnst at cn.fujitsu.com
Mon Sep 24 02:13:56 UTC 2012
在 2012-09-21五的 11:50 +0100,Daniel P. Berrange写道:
> # virsh -c avocado dominfo vm1
> Id: -
> Name: vm1
> UUID: c7b3edbd-edaf-9455-926a-d65c16db1800
> OS Type: hvm
> State: shut off
> CPU(s): 1
> Max memory: 219200 kB
> Used memory: 219136 kB
> Persistent: yes
> Autostart: disable
> Managed save: no
-------------------------------------
> Security model: selinux
-------------------------------------
I did not test security model, sorry for that.
> Security DOI: 0
>
>
> So a normal migrate fails, which is good.
>
> # virsh -c avocado migrate vm1 mustard
> error: Requested operation is not valid: domain is not running
>
>
>
> Now I try your new offline migrate, which claims to succeed
>
> # virsh -c avocado migrate --offline vm1 mustard
did this operations succeed?
if not, maybe there's something wrong with target mustard.
for me, after update libvirt at both source and target
virsh migrate --offline vm1 qemu+ssh://target/system
always be OK.
>
> We should have rejected an attempt to use --offline, unless the user
> has also specified either --persistent, or --copy-storage-all
>
>
>
> Regards,
> Daniel
--
liguang lig.fnst at cn.fujitsu.com
FNST linux kernel team
More information about the libvir-list
mailing list