|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 0/11] Rename/remove IS_PRIV
On 04/18/2013 11:12 AM, Jan Beulich wrote: On 12.04.13 at 23:04, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> wrote:
After looking at the XSA-46 patch, I think a the IS_PRIV removal can still
be usefully applied to the XEN_DOMCTL_{bind,unbind}_pt_irq functions - I'll
send the patch in a minute for comment.
For the rest of the series, however, I would want you two to work out the release related aspects, and I'd look into committing parts that I'm permitted to commit once I saw George's ack. George: Here are my thoughts on the viability of these patches for a freeze exception; I tried to address them in order from most to least important. Patch 8 fixes a bug with cpupools, although it is unlikely this bug will be hit on a normal setup since it requires the cpupool operation to be invoked from a domain other than dom0. It is also independent of the other patches in this series, and I see no reason not to include it in 4.3. Patches 3-5 just change the behavior with XSM enabled, and makes these access vectors more consistent with the rest of the hypervisor in the use of XSM hooks when doing access checks related to domain permissions. I think there is good reason to include these in 4.3, assuming there are no technical objections. Patch 6 only changes ARM code, and should only change behavior with XSM enabled. Since XSM on ARM is not really tested yet, this is less important for 4.3 - although it allows removing some of the functions that were replaced by XSM hooks, which may help avoid reintroducing users of these functions. Patches 7 and 9-11 introduce is_hardware_domain as a wrapper on (domid == 0). Since the hypervisor does not currently support setting is_privileged on non-dom0 domains, the test is equivalent to IS_PRIV - just a cosmetic change. The changes to .c files in patches 9-11 should produce identical code after preprocessing and so have almost zero chance of introducing a bug. Patch 10 may, according to the reply I just sent, need another small tweak before getting applied - as long as you agree, I could certainly do this while committing. Jan Assuming that the is_hardware_domain changes go in, the tweak you mentioned looks good to me. -- Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |