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/vl.c.orig (-1 / +6 lines)
Lines 92-98 Link Here
92
#include "qemu-kvm.h"
92
#include "qemu-kvm.h"
93
#endif
93
#endif
94
94
95
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
95
#define DEFAULT_NETWORK_SCRIPT "/etc/kvm/qemu-ifup"
96
#ifdef __sun__
96
#ifdef __sun__
97
#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
97
#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
98
#else
98
#else
Lines 7341-7348 Link Here
7341
#if USE_KVM
7341
#if USE_KVM
7342
    if (kvm_allowed) {
7342
    if (kvm_allowed) {
7343
	if (kvm_qemu_init() < 0) {
7343
	if (kvm_qemu_init() < 0) {
7344
#ifdef CONFIG_KVM
7345
	    fprintf(stderr, "Could not initialize KVM\n");
7346
	    exit(1);
7347
#else
7344
	    fprintf(stderr, "Could not initialize KVM, will disable KVM support\n");
7348
	    fprintf(stderr, "Could not initialize KVM, will disable KVM support\n");
7345
	    kvm_allowed = 0;
7349
	    kvm_allowed = 0;
7350
#endif	
7346
	}
7351
	}
7347
    }
7352
    }
7348
#endif
7353
#endif

Return to bug 157987