On Tue, 2015-04-14 at 20:15 -0600, Jim Fehlig wrote:
Konrad Rzeszutek Wilk wrote:
> -static bool
> -libxlDomainMigrationIsAllowed(virDomainDefPtr def)
> -{
> - /* Migration is not allowed if definition contains any hostdevs */
> - if (def->nhostdevs > 0) {
> - virReportError(VIR_ERR_OPERATION_INVALID, "%s",
> - _("domain has assigned host devices"));
> - return false;
> - }
> -
> - return true;
> -}
> -
This function was created with the intention of adding more checks, e.g.
is the cpu and numa configuration migratable?
Only vaguely related to the patch, I know (sorry!), but if I can ask,
what do you mean with "is the cpu and numa configuration migratable?"
I mean what NUMA configuration are we talking about, and when and under
what circumstances would you consider it "migratable"?
Thanks and Regards,
Dario