[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 01/11] x86/domctl: Add XEN_DOMCTL_set_avail_vcpus
On 11/15/2016 11:41 AM, Andrew Cooper wrote: > >>>>> It also occurs to me that you necessarily need a get_avail_vcpus >>>>> hypercall to be able to use this interface sensibly from the toolstack. >>>> We could modify getdomaininfo but that would make set_avail_vcpus domctl >>>> non-symmetrical. >>>> >>>> And what would the use of this information be anyway? >>> Well, for a start, this information needs to move in the migration >>> stream, or by migrating a VM you will lose its current availability >>> bitmap and reintroduce the problem we are trying to solve. >> Oh, right, of course. > Everyone forgets migrate. (Or nested virt.) As I was poking at this yesterday I realized that we may not need the get interface ---- this information is available in xenstore via cpu/available node (well, it actually doesn't fully function for HVM guests but I think it should be fixed). But if you still feel we should have it I'd rather add another field to XEN_DOMCTL_getdomaininfo. -boris > > When we eventually get a checklist for new features, migration will > definitely be on there somewhere. > > ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |