]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
x86/time: fix domain type check in tsc_set_info()
authorHaozhong Zhang <haozhong.zhang@intel.com>
Tue, 8 Dec 2015 08:46:30 +0000 (09:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 8 Dec 2015 08:46:30 +0000 (09:46 +0100)
commit3c80d6f3c61eb0f8072f70b0a9a8c8c7adf17572
tree1ee9db78d64489c0b9e70a1f2926aff3a43fe5f0
parent11eeca65126e51f03a883907751d5ccbe4f35aa3
x86/time: fix domain type check in tsc_set_info()

Replace is_hvm_domain() in tsc_set_info() by has_hvm_container_domain()
to keep consistent with other domain type checks in tsc_set_info().

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/time.c