Thanks for your reply,

I'm wondering - is this uncharted territory, or has migration on HVM (with xenapi) worked in the past? We'll be happy to help fix this...but it would go a long way to know what is thought to be working.

Strangely, I have found that I can migrate guests with xenapi that were not created with xenapi.

Just as a hack, I also tried always returning True for is_hvm. This seemed to get the migration process further, but seemed to get hung up on closing(or connecting) the vkbd device - leaving the domain in a broken state at both the sender, and receiver

Ben

Ian Jackson wrote:
Ben Guthro writes ("[Xen-devel] Re: Live Migration problems using xenapi with xm"):
  
I've managed to track this down to being a bug in HVM migration using 
XenAPI.
    

Aha.

  
It seems that restore is trying to restore a PV guest, while save is 
trying to save an HVM guest...  [ etc. ]
    

Thanks for investigating.

  
I'll continue to dig further, but if anyone has any thoughts on this, 
I'd welcome pointers.
    

I don't have any thoughts right now, I'm afraid.  I hope to be in a
better position to help out very shortly; There's quite a lot of
review, testing and general sorting out of XenAPI needed which I'll be
looking into.

In the meantime, good luck and do let us know what more you find.

Regards,
Ian.