[libvirt] [Xen-devel] [PATCH] libxl: Disallow save or migrate when host devices are assigned to a guest.
Dario Faggioli
dario.faggioli at citrix.com
Thu Apr 16 23:19:59 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150417/784f5fc6/attachment-0001.sig>
More information about the libvir-list
mailing list