[libvirt-users] RE : error when call migrate function "error: invalid argument: qemuDomainMigratePrepare3: unsupported flags (0x200)"

Michal Privoznik mprivozn at redhat.com
Wed Feb 27 12:57:01 UTC 2013


On 27.02.2013 13:47, loic.cloatre at orange.com wrote:
> 
> ________________________________________
> De : Jiri Denemark [jdenemar at redhat.com]
> Date d'envoi : mercredi 27 février 2013 13:36
> À : CLOATRE Loïc NRS
> Cc : Michal Privoznik; libvirt-users at redhat.com
> Objet : Re: [libvirt-users] error when call migrate function "error: invalid argument: qemuDomainMigratePrepare3: unsupported flags (0x200)"
> 
> On Wed, Feb 27, 2013 at 11:51:52 +0100, loic.cloatre at orange.com wrote:
>> Hello,
>>
>> Thanks for answer,
>> So I try with 1.0.0 and 1.0.2 but I get same message:
> 
> Did you upgrade both hosts, right?
> 
> [loic]
> Yes, both ubuntu host (wich are VM created with vmware on windows 7) reply this:
> loic at ubuntu:~$ virsh --version
> 1.0.2
> [/loic]

Here you don't connect anywhere, just print local version of virsh ...

> 
>> "error: XML error: missing security model when using multiple labels"
> 
> Interesting. Could you send the output of
> 
>     virsh dumpxml --migratable DOMAIN
> 
> [loic]
> loic at ubuntu:~$ virsh --connect qemu:///system dumpxml --migratable ubuntuShared5
> error: unsupported flags (0x8) in function virDomainDefFormatInternal

... while here you connect to qemu:///system. Have you restarted
libvirtd after upgrade?

# virsh version --daemon
or
$ virsh --connect qemu:///system version --daemon

are your friends here.

> 
> more informations about "ubuntuShared5" that I try to migrate, I used this command for creation:
> sudo virt-install -n ubuntuShared5 -r 2047 --disk path=/mnt/hgfs/vmware/ubuntuShared5.img,bus=virtio,size=3 -c /mnt/hgfs/ubuntu2/saveComm/ubuntu-12.04.1-server-i386.iso --network network=default,model=virtio --vnc -v
> 
> And exact error:
> loic at ubuntu:~$ virsh --connect qemu:///system  migrate --live ubuntuShared5 qemu+ssh://192.168.X.X/system --unsafe
> loic at 192.168.X.X's password: 
> error: XML error: missing security model when using multiple labels
> [/loic]
> 
> 
> Jirka

Michal




More information about the libvirt-users mailing list