Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / target / i386 / kvm / kvm-cpu.h
blobe858ca21e5cf929ca5314cd8b5c3d50066e74687
1 /*
2 * i386 KVM CPU type and functions
4 * Copyright (c) 2003 Fabrice Bellard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef KVM_CPU_H
21 #define KVM_CPU_H
23 #ifdef CONFIG_KVM
25 * Change the value of a KVM-specific default
27 * If value is NULL, no default will be set and the original
28 * value from the CPU model table will be kept.
30 * It is valid to call this function only for properties that
31 * are already present in the kvm_default_props table.
33 void x86_cpu_change_kvm_default(const char *prop, const char *value);
35 #else /* !CONFIG_KVM */
37 #define x86_cpu_change_kvm_default(a, b)
39 #endif /* CONFIG_KVM */
41 #endif /* KVM_CPU_H */