Revision cb446eca include/sysemu/kvm.h
b/include/sysemu/kvm.h | ||
---|---|---|
263 | 263 |
|
264 | 264 |
/* generic hooks - to be moved/refactored once there are more users */ |
265 | 265 |
|
266 |
static inline void cpu_synchronize_state(CPUArchState *env)
|
|
266 |
static inline void cpu_synchronize_state(CPUState *cpu)
|
|
267 | 267 |
{ |
268 | 268 |
if (kvm_enabled()) { |
269 |
kvm_cpu_synchronize_state(ENV_GET_CPU(env));
|
|
269 |
kvm_cpu_synchronize_state(cpu);
|
|
270 | 270 |
} |
271 | 271 |
} |
272 | 272 |
|
Also available in: Unified diff