mips.c (2a267e7c41aa88215de2b542de797d03d16ecdfd) | mips.c (a86cb413f4bf273a9d341a3ab2c2ca44e12eb317) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * KVM/MIPS: MIPS specific KVM APIs 7 * 8 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. --- 1108 unchanged lines hidden (view full) --- 1117 r = 1; 1118 break; 1119 case KVM_CAP_NR_VCPUS: 1120 r = num_online_cpus(); 1121 break; 1122 case KVM_CAP_MAX_VCPUS: 1123 r = KVM_MAX_VCPUS; 1124 break; | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * KVM/MIPS: MIPS specific KVM APIs 7 * 8 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. --- 1108 unchanged lines hidden (view full) --- 1117 r = 1; 1118 break; 1119 case KVM_CAP_NR_VCPUS: 1120 r = num_online_cpus(); 1121 break; 1122 case KVM_CAP_MAX_VCPUS: 1123 r = KVM_MAX_VCPUS; 1124 break; |
1125 case KVM_CAP_MAX_VCPU_ID: 1126 r = KVM_MAX_VCPU_ID; 1127 break; |
|
1125 case KVM_CAP_MIPS_FPU: 1126 /* We don't handle systems with inconsistent cpu_has_fpu */ 1127 r = !!raw_cpu_has_fpu; 1128 break; 1129 case KVM_CAP_MIPS_MSA: 1130 /* 1131 * We don't support MSA vector partitioning yet: 1132 * 1) It would require explicit support which can't be tested --- 623 unchanged lines hidden --- | 1128 case KVM_CAP_MIPS_FPU: 1129 /* We don't handle systems with inconsistent cpu_has_fpu */ 1130 r = !!raw_cpu_has_fpu; 1131 break; 1132 case KVM_CAP_MIPS_MSA: 1133 /* 1134 * We don't support MSA vector partitioning yet: 1135 * 1) It would require explicit support which can't be tested --- 623 unchanged lines hidden --- |