[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen : Replace hard coded domain_id checks with a macro
Yes, the idea is to later have it, or another similar macro return true for domids != 0. At the moment, I think it's likely that there will be other separate predicates (maybe something like is_xenstore_domain, is_control_domain, etc) for different disaggregated domains, and then have the last bit continue to use this, even though it may no longer be domid 0. You're right about the name being ill-chosen, but the only other name I could come up with was is_what_used_to_be_dom0 which was even worse ;) I'm open to suggestions. Perhaps, hardware domain or pci domain? At the moment, IS_PRIV could be used, but it would lead to a coupling of the privileges with functionality which could be problematic later on. ~M On Fri, Dec 10, 2010 at 1:08 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |