OSStest: use CONFIG_X86_GENERIC for 32-bit x86 kernel
PATCH 1/1 OSStest: use CONFIG_X86_GENERIC for 32-bit x86 kernel
Today the cpu type for a 32-bit x86 kernel is not specified in the used kernel config, resulting in the M686 to be used.
Instead of using the M686 which isn't even a 64-bit cpu (thus not capable to run a Xen guest), use the X86_GENERIC variant which is more appropriate.
--- ts-kernel-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
ts-kernel-build +4 -1
@@ -608,7 +608,10 @@ setopt CONFIG_POWER_RESET_XGENE y setopt CONFIG_RTC_DRV_XGENE y case ${XEN_TARGET_ARCH} in - x86_32) setopt CONFIG_64BIT n ;; + x86_32) + setopt CONFIG_64BIT n + setopt CONFIG_X86_GENERIC y + ;; x86_64) setopt CONFIG_64BIT y setopt CONFIG_IA32_EMULATION y
Signature · 1 line
2.35.3
Quoted 17 lines · Juergen Gross
Today the cpu type for a 32-bit x86 kernel is not specified in the used kernel config, resulting in the M686 to be used.
Instead of using the M686 which isn't even a 64-bit cpu (thus not capable to run a Xen guest), use the
X86_GENERICvariant which is more appropriate.Signed-off-by Juergen Gross <[email protected]>--- ts-kernel-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)ts-kernel-build +0
-0
ts-kernel-build setopt CONFIG_POWER_RESET_XGENE y · line 613
Quoted 7 lines
ts-kernel-build +3
-1@@ -608,7 +608,10 @@ setopt CONFIG_POWER_RESET_XGENE y setopt CONFIG_RTC_DRV_XGENE y case ${XEN_TARGET_ARCH} in - x86_32) setopt CONFIG_64BIT n ;; + x86_32) + setopt CONFIG_64BIT n + setopt CONFIG_X86_GENERIC y
It would be nice if that was working, but XEN_TARGET_ARCH is never set, so the change isn't going to work.
I'm preparing patches to set X86_GENERIC on i386 builds, and fixing some issues.
Thanks,
Signature · 1 line
Anthony PERARD
Quoted 20 lines · Anthony PERARD
Quoted 19 lines · Juergen Gross
Today the cpu type for a 32-bit x86 kernel is not specified in the used kernel config, resulting in the M686 to be used.
Instead of using the M686 which isn't even a 64-bit cpu (thus not capable to run a Xen guest), use the
X86_GENERICvariant which is more appropriate.Signed-off-by Juergen Gross <[email protected]>--- ts-kernel-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)ts-kernel-build +0
-0@@ -608,7 +608,10 @@ setopt CONFIG_POWER_RESET_XGENE y setopt CONFIG_RTC_DRV_XGENE y
Quoted 8 lines
ts-kernel-build setopt CONFIG_POWER_RESET_XGENE y · line 613
Quoted 5 lines
ts-kernel-build +3
-1case ${XEN_TARGET_ARCH} in - x86_32) setopt CONFIG_64BIT n ;; + x86_32) + setopt CONFIG_64BIT n + setopt CONFIG_X86_GENERIC yIt would be nice if that was working, but
XEN_TARGET_ARCHis never set, so the change isn't going to work.
Oh, how ... funny? weird? strange?
Quoted 3 lines
I'm preparing patches to set
X86_GENERICon i386 builds, and fixing some issues.
Thanks,
Juergen
Quoted 29 lines · Anthony PERARD
Quoted 17 lines · Juergen Gross
Today the cpu type for a 32-bit x86 kernel is not specified in the used kernel config, resulting in the M686 to be used.
Instead of using the M686 which isn't even a 64-bit cpu (thus not capable to run a Xen guest), use the
X86_GENERICvariant which is more appropriate.Signed-off-by Juergen Gross <[email protected]>--- ts-kernel-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)ts-kernel-build +0
-0ts-kernel-build setopt CONFIG_POWER_RESET_XGENE y · line 613
Quoted 7 lines
ts-kernel-build +3
-1@@ -608,7 +608,10 @@ setopt CONFIG_POWER_RESET_XGENE y setopt CONFIG_RTC_DRV_XGENE y case ${XEN_TARGET_ARCH} in - x86_32) setopt CONFIG_64BIT n ;; + x86_32) + setopt CONFIG_64BIT n + setopt CONFIG_X86_GENERIC yIt would be nice if that was working, but
XEN_TARGET_ARCHis never set, so the change isn't going to work.
Quoted 2 lines
I'm preparing patches to set
X86_GENERICon i386 builds, and fixing some issues.
Oh, BTW, I think it might be a good idea to add a MAINTAINERS entry in the Xen git tree for OSStest. I was pretty sure you are the one to send patches to, but maybe someone else should receive them?
Juergen