Revision 828566bc kvm-all.c
b/kvm-all.c | ||
---|---|---|
905 | 905 |
#ifdef KVM_CAP_SET_GUEST_DEBUG |
906 | 906 |
static void on_vcpu(CPUState *env, void (*func)(void *data), void *data) |
907 | 907 |
{ |
908 |
#ifdef CONFIG_IOTHREAD |
|
908 | 909 |
if (env == cpu_single_env) { |
909 | 910 |
func(data); |
910 | 911 |
return; |
911 | 912 |
} |
912 | 913 |
abort(); |
914 |
#else |
|
915 |
func(data); |
|
916 |
#endif |
|
913 | 917 |
} |
914 | 918 |
|
915 | 919 |
struct kvm_sw_breakpoint *kvm_find_sw_breakpoint(CPUState *env, |
Also available in: Unified diff