Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 157987 | Differences between
and this patch

Collapse All | Expand All

(-)qemu/qemu-kvm.c.orig (+34 lines)
Lines 1-6 Link Here
1
1
2
#include "config.h"
2
#include "config.h"
3
#include "config-host.h"
3
#include "config-host.h"
4
#include "stdlib.h"
4
5
5
#ifdef USE_KVM
6
#ifdef USE_KVM
6
7
Lines 921-924 Link Here
921
 out:
922
 out:
922
    return r;
923
    return r;
923
}
924
}
925
#ifdef CONFIG_KVM
926
CCTable cc_table[CC_OP_NB];
927
int code_copy_enabled;
928
929
static int nop_flags(void)
930
{
931
    return 0;
932
}
933
934
int cpu_gen_code(CPUState *env, TranslationBlock *tb,
935
		 int max_code_size, int *gen_code_size_ptr)
936
{
937
    return -1;
938
}
939
940
int cpu_restore_state(TranslationBlock *tb,
941
		      CPUState *env, unsigned long searched_pc,
942
		      void *puc)
943
{
944
    return -1;
945
}
946
947
void optimize_flags_init(void)
948
{
949
    int i;
950
951
    for (i = 0; i < CC_OP_NB; i++) {
952
	cc_table[i].compute_c = nop_flags;
953
	cc_table[i].compute_all = nop_flags;
954
    }
955
}
956
957
#endif
924
#endif
958
#endif

Return to bug 157987