WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Live Migration problems using xenapi with xm

I think I have hacked together something that seems to work...

HVM Live migration seems to succeed if I do the following:
a.) Ignore the fact that receive thinks it is a PV guest (force is_hvm to return True)
b.) Modify XendDomainInfo.waitForDevices to ignore "vkbd" and "vfb" devices for HVM guests

We don't really do much PV guest stuff here, so I'm not real sure what the vfb, and vkbd are in the PV world...
However, I'm not sure that they are necessary in HVM (though please correct me if I'm wrong)

I'd like to come up with a patch for this, but would like to hear thoughts on what the right way to go about this is.
Should I ignore those devices in waitForDevices?
Should they not be there in the first place?


Ian Jackson wrote:
Jim Fehlig writes ("Re: [Xen-devel] Re: Live Migration problems using xenapi with xm"):
  
I would suspect you are in uncharted territory.  Currently I don't think
there are a lot of xenapi users.  In the past I have generally had to
fix bugs or provide implementation for xenapi features previously not
consumed by my app.  You are perhaps the first to attempt migration
(almost certainly of HVM guests) through xenapi.
    

Jim may well be right, I'm afraid.  I've only just arrived so to speak
but I think the implementation in xend certainly needs work.

Thanks,
Ian.
  

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel