[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v5 12/17] xen/libxc: sched: DOMCTL_*vcpuaffinity works with hard and soft affinity



On mar, 2013-12-03 at 11:20 +0000, Jan Beulich wrote:
> >>> On 03.12.13 at 11:59, Dario Faggioli <dario.faggioli@xxxxxxxxxx> wrote:
> > Well, actually, I only asked what we should be returning from
> > DOMCTL_vcpu_setaffinity, and never mentioned DOMCTL_vcpu_getaffinity
> > because I seriously thought there was no need to discuss what the latter
> > should be returning, and whether or not the two return values should
> > match.
> 
> And I would also have doubted that I ever said to do something
> intentionally inconsistent...
> 
Well, if you ask me, you never did, as I think this is perfectly
consistent. :-)

> > That being said, I of course can say something about this in some
> > docs/header. Actually, the following patch does that quite thoroughly, I
> > think, in tools/libxc/xenctrl.h. I can certainly add something similar
> > in Xen's public .h files.
> 
> As said - as long as there is proper reasoning and at least a brief
> explanation in the public header (xenctrl.h not being considered
> "public" in the context here"), I'm fine with the returned masks
> differing.
> 
Ok, as I anticipated, I'll make a note about this in an hypervisor
public header.

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.