]> xenbits.xensource.com Git - xen.git/commit
domctl: also pause domain for "extended" context updates
authorJan Beulich <jbeulich@suse.com>
Thu, 6 Feb 2014 11:20:20 +0000 (12:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 6 Feb 2014 11:20:20 +0000 (12:20 +0100)
commit53f808a3880da13d0a0909f446698891a41f6869
treecf64a061c9210d397f9f275e3fac32feba16bbba
parentc42494acb2f7f31e561d38f06c59a50ee4198f36
domctl: also pause domain for "extended" context updates

This is not just for consistency with "base" context updates, but
actually needed so that guest side accesses can't race with control
domain side updates.

This would have been a security issue if XSA-77 hadn't waived them on
the affected domctl operation.

While looking at the code I also spotted a redundant NULL check in the
"base" context update handling code, which is being removed.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/x86/domctl.c
xen/common/domctl.c