42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
|
/*
|
||
|
* i386 KVM CPU type and functions
|
||
|
*
|
||
|
* Copyright (c) 2003 Fabrice Bellard
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU Lesser General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
|
* version 2 of the License, or (at your option) any later version.
|
||
|
*
|
||
|
* This library is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Lesser General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Lesser General Public
|
||
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
|
||
|
#ifndef KVM_CPU_H
|
||
|
#define KVM_CPU_H
|
||
|
|
||
|
#ifdef CONFIG_KVM
|
||
|
/*
|
||
|
* Change the value of a KVM-specific default
|
||
|
*
|
||
|
* If value is NULL, no default will be set and the original
|
||
|
* value from the CPU model table will be kept.
|
||
|
*
|
||
|
* It is valid to call this function only for properties that
|
||
|
* are already present in the kvm_default_props table.
|
||
|
*/
|
||
|
void x86_cpu_change_kvm_default(const char *prop, const char *value);
|
||
|
|
||
|
#else /* !CONFIG_KVM */
|
||
|
|
||
|
#define x86_cpu_change_kvm_default(a, b)
|
||
|
|
||
|
#endif /* CONFIG_KVM */
|
||
|
|
||
|
#endif /* KVM_CPU_H */
|