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

loic.cloatre at orange.com loic.cloatre at orange.com
Mon Feb 25 08:06:31 UTC 2013


Hello,

I am using latest version of libvirt: 0.10.0
If I drop unsafe flag I get "error: Unsafe migration: Migration may lead to data corruption if disks use cache != none"

"cache=none": I try also to create a VM using virt-install with "-disk ...,cache=none" but I always get error "could not open disk image /media/shared/dd.vdi", "could not open disk image /media/shared/dd.qcow"...

Loic 


-----Message d'origine-----
De : Michal Privoznik [mailto:mprivozn at redhat.com] 
Envoyé : vendredi 22 février 2013 18:02
À : CLOATRE Loïc NRS
Cc : libvirt-users at redhat.com
Objet : Re: [libvirt-users] error when call migrate function "error: invalid argument: qemuDomainMigratePrepare3: unsupported flags (0x200)"

On 22.02.2013 17:02, loic.cloatre at orange.com wrote:
> Hello,
> 
>  
> 
> I try to migrate a VM and I get this error :
> 
> loic at loic-VirtualBox:~/workspace/src/build/bin$ ./virsh --connect 
> qemu:///system migrate  --live vmUbuntuPartage2CacheWriteBack
> qemu+ssh://192.168.10x.2x/system --unsafe
> loic at 192.168.10x.2x's password:
> error: invalid argument: qemuDomainMigratePrepare3: unsupported flags
> (0x200)
> 
>  

That means you libvirt doesn't support VIR_MIGRATE_UNSAFE flag. You have to drop --unsafe from virsh migrate command to be able to migrate. Or just upgrade to 0.9.11+.

Michal


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.





More information about the libvirt-users mailing list