kvm_arm.h (600f070e934302e17081eebf8d77d4c6a5bef38d) | kvm_arm.h (cac675b54e6a9cb71dde6517f39c1763ae94c107) |
---|---|
1/* 2 * QEMU KVM support -- ARM specific functions. 3 * 4 * Copyright (c) 2012 Linaro Limited 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 8 * --- 134 unchanged lines hidden (view full) --- 143 * 144 * Set up the ARMCPU struct fields up to match the information probed 145 * from the host CPU. 146 */ 147void kvm_arm_set_cpu_features_from_host(ARMCPU *cpu); 148 149/** 150 * kvm_arm_add_vcpu_properties: | 1/* 2 * QEMU KVM support -- ARM specific functions. 3 * 4 * Copyright (c) 2012 Linaro Limited 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 8 * --- 134 unchanged lines hidden (view full) --- 143 * 144 * Set up the ARMCPU struct fields up to match the information probed 145 * from the host CPU. 146 */ 147void kvm_arm_set_cpu_features_from_host(ARMCPU *cpu); 148 149/** 150 * kvm_arm_add_vcpu_properties: |
151 * @obj: The CPU object to add the properties to | 151 * @cpu: The CPU object to add the properties to |
152 * 153 * Add all KVM specific CPU properties to the CPU object. These 154 * are the CPU properties with "kvm-" prefixed names. 155 */ | 152 * 153 * Add all KVM specific CPU properties to the CPU object. These 154 * are the CPU properties with "kvm-" prefixed names. 155 */ |
156void kvm_arm_add_vcpu_properties(Object *obj); | 156void kvm_arm_add_vcpu_properties(ARMCPU *cpu); |
157 158/** 159 * kvm_arm_steal_time_finalize: 160 * @cpu: ARMCPU for which to finalize kvm-steal-time 161 * @errp: Pointer to Error* for error propagation 162 * 163 * Validate the kvm-steal-time property selection and set its default 164 * based on KVM support and guest configuration. --- 73 unchanged lines hidden (view full) --- 238/* 239 * These functions should never actually be called without KVM support. 240 */ 241static inline void kvm_arm_set_cpu_features_from_host(ARMCPU *cpu) 242{ 243 g_assert_not_reached(); 244} 245 | 157 158/** 159 * kvm_arm_steal_time_finalize: 160 * @cpu: ARMCPU for which to finalize kvm-steal-time 161 * @errp: Pointer to Error* for error propagation 162 * 163 * Validate the kvm-steal-time property selection and set its default 164 * based on KVM support and guest configuration. --- 73 unchanged lines hidden (view full) --- 238/* 239 * These functions should never actually be called without KVM support. 240 */ 241static inline void kvm_arm_set_cpu_features_from_host(ARMCPU *cpu) 242{ 243 g_assert_not_reached(); 244} 245 |
246static inline void kvm_arm_add_vcpu_properties(Object *obj) | 246static inline void kvm_arm_add_vcpu_properties(ARMCPU *cpu) |
247{ 248 g_assert_not_reached(); 249} 250 251static inline int kvm_arm_get_max_vm_ipa_size(MachineState *ms, bool *fixed_ipa) 252{ 253 g_assert_not_reached(); 254} --- 34 unchanged lines hidden --- | 247{ 248 g_assert_not_reached(); 249} 250 251static inline int kvm_arm_get_max_vm_ipa_size(MachineState *ms, bool *fixed_ipa) 252{ 253 g_assert_not_reached(); 254} --- 34 unchanged lines hidden --- |