cpu.c (7b09f127738ae3d0e71716cea086fc8f847a5686) cpu.c (eb94284d0812b4e7c11c5d075b584100ac1c1b9a)
1/*
2 * QEMU ARM CPU
3 *
4 * Copyright (c) 2012 SUSE LINUX Products GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 1306 unchanged lines hidden (view full) ---

1315 Error *local_err = NULL;
1316
1317 if (arm_feature(&cpu->env, ARM_FEATURE_AARCH64)) {
1318 arm_cpu_sve_finalize(cpu, &local_err);
1319 if (local_err != NULL) {
1320 error_propagate(errp, local_err);
1321 return;
1322 }
1/*
2 * QEMU ARM CPU
3 *
4 * Copyright (c) 2012 SUSE LINUX Products GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 1306 unchanged lines hidden (view full) ---

1315 Error *local_err = NULL;
1316
1317 if (arm_feature(&cpu->env, ARM_FEATURE_AARCH64)) {
1318 arm_cpu_sve_finalize(cpu, &local_err);
1319 if (local_err != NULL) {
1320 error_propagate(errp, local_err);
1321 return;
1322 }
1323
1324 /*
1325 * KVM does not support modifications to this feature.
1326 * We have not registered the cpu properties when KVM
1327 * is in use, so the user will not be able to set them.
1328 */
1329 if (!kvm_enabled()) {
1330 arm_cpu_pauth_finalize(cpu, &local_err);
1331 if (local_err != NULL) {
1332 error_propagate(errp, local_err);
1333 return;
1334 }
1335 }
1323 }
1324
1325 if (kvm_enabled()) {
1326 kvm_arm_steal_time_finalize(cpu, &local_err);
1327 if (local_err != NULL) {
1328 error_propagate(errp, local_err);
1329 return;
1330 }

--- 1038 unchanged lines hidden ---
1336 }
1337
1338 if (kvm_enabled()) {
1339 kvm_arm_steal_time_finalize(cpu, &local_err);
1340 if (local_err != NULL) {
1341 error_propagate(errp, local_err);
1342 return;
1343 }

--- 1038 unchanged lines hidden ---