SConstruct (10841:38af38f1f307) | SConstruct (10860:cba0f26038b4) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 1034 unchanged lines hidden (view full) --- 1043 return False 1044 1045 if not have_posix_timers: 1046 print "Warning: Can not enable KVM, host seems to lack support " \ 1047 "for POSIX timers" 1048 return False 1049 1050 if isa == "arm": | 1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 1034 unchanged lines hidden (view full) --- 1043 return False 1044 1045 if not have_posix_timers: 1046 print "Warning: Can not enable KVM, host seems to lack support " \ 1047 "for POSIX timers" 1048 return False 1049 1050 if isa == "arm": |
1051 return host_isa == "armv7l" | 1051 return host_isa in ( "armv7l", "aarch64" ) |
1052 elif isa == "x86": 1053 if host_isa != "x86_64": 1054 return False 1055 1056 if not have_kvm_xsave: 1057 print "KVM on x86 requires xsave support in kernel headers." 1058 return False 1059 --- 371 unchanged lines hidden --- | 1052 elif isa == "x86": 1053 if host_isa != "x86_64": 1054 return False 1055 1056 if not have_kvm_xsave: 1057 print "KVM on x86 requires xsave support in kernel headers." 1058 return False 1059 --- 371 unchanged lines hidden --- |