Lines 102-108
Link Here
|
102 |
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or" |
102 |
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or" |
103 |
eerror "an amd64 multilib profile is required. Remove the hvm use flag" |
103 |
eerror "an amd64 multilib profile is required. Remove the hvm use flag" |
104 |
eerror "to build xen-tools on your current profile." |
104 |
eerror "to build xen-tools on your current profile." |
105 |
die "USE=hvm is unsupported on this system." |
105 |
#die "USE=hvm is unsupported on this system." |
106 |
fi |
106 |
fi |
107 |
|
107 |
|
108 |
if [[ -z ${XEN_TARGET_ARCH} ]] ; then |
108 |
if [[ -z ${XEN_TARGET_ARCH} ]] ; then |
Lines 196-202
Link Here
|
196 |
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch |
196 |
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch |
197 |
|
197 |
|
198 |
if use hvm; then |
198 |
if use hvm; then |
199 |
cp -r "${FILESDIR}"/stubs-32.h xen/tools/include || die "copy of header file failed" |
199 |
mkdir -p "${WORKDIR}"/extra-headers/gnu || die "mkdir failed" |
|
|
200 |
cp "${FILESDIR}"/stubs-32.h "${WORKDIR}"/extra-headers/gnu || die "copy of header file failed" |
201 |
export CPATH="${WORKDIR}"/extra-headers |
200 |
einfo "stubs-32.h added" |
202 |
einfo "stubs-32.h added" |
201 |
fi |
203 |
fi |
202 |
} |
204 |
} |