* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install [not found] ` <200803100913.46422.borntraeger@de.ibm.com> @ 2008-03-10 11:23 ` Arnd Bergmann 2008-03-10 11:23 ` Arnd Bergmann 0 siblings, 1 reply; 14+ messages in thread From: Arnd Bergmann @ 2008-03-10 11:23 UTC (permalink / raw) To: Christian Borntraeger Cc: Andrew Morton, David Woodhouse, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, linux-arch On Monday 10 March 2008, Christian Borntraeger wrote: > include/asm-alpha/Kbuild | 1 + > include/asm-alpha/kvm.h | 6 ++++++ > include/asm-arm/Kbuild | 2 ++ > include/asm-arm/kvm.h | 6 ++++++ > include/asm-avr32/Kbuild | 1 + > include/asm-avr32/kvm.h | 6 ++++++ > include/asm-blackfin/Kbuild | 1 + > include/asm-blackfin/kvm.h | 6 ++++++ > include/asm-cris/Kbuild | 1 + > include/asm-cris/kvm.h | 6 ++++++ > include/asm-frv/Kbuild | 1 + > include/asm-frv/kvm.h | 6 ++++++ > include/asm-h8300/Kbuild | 2 ++ > include/asm-h8300/kvm.h | 6 ++++++ > include/asm-ia64/Kbuild | 1 + > include/asm-ia64/kvm.h | 6 ++++++ > include/asm-m32r/Kbuild | 2 ++ > include/asm-m32r/kvm.h | 6 ++++++ > include/asm-m68k/Kbuild | 1 + > include/asm-m68k/kvm.h | 6 ++++++ Instead of adding kvm.h to every single Kbuild file, you can just add it once, in include/asm-generic/Kbuild.asm. Arnd <>< ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-10 11:23 ` [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install Arnd Bergmann @ 2008-03-10 11:23 ` Arnd Bergmann 0 siblings, 0 replies; 14+ messages in thread From: Arnd Bergmann @ 2008-03-10 11:23 UTC (permalink / raw) To: Christian Borntraeger Cc: Andrew Morton, David Woodhouse, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, linux-arch On Monday 10 March 2008, Christian Borntraeger wrote: > include/asm-alpha/Kbuild | 1 + > include/asm-alpha/kvm.h | 6 ++++++ > include/asm-arm/Kbuild | 2 ++ > include/asm-arm/kvm.h | 6 ++++++ > include/asm-avr32/Kbuild | 1 + > include/asm-avr32/kvm.h | 6 ++++++ > include/asm-blackfin/Kbuild | 1 + > include/asm-blackfin/kvm.h | 6 ++++++ > include/asm-cris/Kbuild | 1 + > include/asm-cris/kvm.h | 6 ++++++ > include/asm-frv/Kbuild | 1 + > include/asm-frv/kvm.h | 6 ++++++ > include/asm-h8300/Kbuild | 2 ++ > include/asm-h8300/kvm.h | 6 ++++++ > include/asm-ia64/Kbuild | 1 + > include/asm-ia64/kvm.h | 6 ++++++ > include/asm-m32r/Kbuild | 2 ++ > include/asm-m32r/kvm.h | 6 ++++++ > include/asm-m68k/Kbuild | 1 + > include/asm-m68k/kvm.h | 6 ++++++ Instead of adding kvm.h to every single Kbuild file, you can just add it once, in include/asm-generic/Kbuild.asm. Arnd <>< ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install [not found] ` <1204933418.2495.14.camel@shinybook.infradead.org> [not found] ` <200803100913.46422.borntraeger@de.ibm.com> @ 2008-03-10 13:11 ` Christian Borntraeger 2008-03-10 13:11 ` Christian Borntraeger 2008-03-11 6:20 ` Andrew Morton 1 sibling, 2 replies; 14+ messages in thread From: Christian Borntraeger @ 2008-03-10 13:11 UTC (permalink / raw) To: Andrew Morton Cc: David Woodhouse, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits Ok, here goes the second version. Andrew, if there are no further complaints, please replace the old patch, with this version. Thank you. - [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install Currently include/linux/kvm.h is not considered by make headers_install, because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h. This problem was introduced by 040922c04cf2c8ac70be2e88a8a9614ecdb41d2e, which makes this an 2.6.25 regression. One way of solving the issue is to enhance Kbuild, but Avi Kivity and David Woodhouse conviced me, that changing headers_install is not the way to go. This patch changes the definition for linux/kvm.h to unifdef-y. If unifdef-y is used for linux/kvm.h "make headers_check" will fail on all architectures without asm/kvm.h. Therefore, this patch also provides asm/kvm.h on all architectures. Changes since v1: o use asm-generic/Kbuild.asm (Arnd Bergmann) o fix comment in asm-frv (David Howells) Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Avi Kivity <avi@qumranet.com> --- include/asm-alpha/kvm.h | 6 ++++++ include/asm-arm/kvm.h | 6 ++++++ include/asm-avr32/kvm.h | 6 ++++++ include/asm-blackfin/kvm.h | 6 ++++++ include/asm-cris/kvm.h | 6 ++++++ include/asm-frv/kvm.h | 6 ++++++ include/asm-generic/Kbuild.asm | 2 ++ include/asm-h8300/kvm.h | 6 ++++++ include/asm-ia64/kvm.h | 6 ++++++ include/asm-m32r/kvm.h | 6 ++++++ include/asm-m68k/kvm.h | 6 ++++++ include/asm-m68knommu/kvm.h | 6 ++++++ include/asm-mips/kvm.h | 6 ++++++ include/asm-mn10300/kvm.h | 6 ++++++ include/asm-parisc/kvm.h | 6 ++++++ include/asm-powerpc/kvm.h | 6 ++++++ include/asm-s390/kvm.h | 6 ++++++ include/asm-sh/kvm.h | 6 ++++++ include/asm-sparc/kvm.h | 6 ++++++ include/asm-sparc64/kvm.h | 6 ++++++ include/asm-um/kvm.h | 6 ++++++ include/asm-v850/kvm.h | 6 ++++++ include/asm-xtensa/kvm.h | 6 ++++++ include/linux/Kbuild | 2 +- 24 files changed, 135 insertions(+), 1 deletion(-) Index: linux-2.6.git/include/asm-alpha/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-alpha/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ALPHA_H +#define __LINUX_KVM_ALPHA_H + +/* alpha does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-arm/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-arm/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ARM_H +#define __LINUX_KVM_ARM_H + +/* arm does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-avr32/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-avr32/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_AVR32_H +#define __LINUX_KVM_AVR32_H + +/* avr32 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-blackfin/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-blackfin/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_BLACKFIN_H +#define __LINUX_KVM_BLACKFIN_H + +/* blackfin does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-cris/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-cris/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_CRIS_H +#define __LINUX_KVM_CRIS_H + +/* cris does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-frv/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-frv/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_FRV_H +#define __LINUX_KVM_FRV_H + +/* frv does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-generic/Kbuild.asm =================================================================== --- linux-2.6.git.orig/include/asm-generic/Kbuild.asm +++ linux-2.6.git/include/asm-generic/Kbuild.asm @@ -1,3 +1,5 @@ +header-y += kvm.h + ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) unifdef-y += a.out.h endif Index: linux-2.6.git/include/asm-h8300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-h8300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_H8300_H +#define __LINUX_KVM_H8300_H + +/* h8300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-ia64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-ia64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_IA64_H +#define __LINUX_KVM_IA64_H + +/* ia64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m32r/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m32r/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M32R_H +#define __LINUX_KVM_M32R_H + +/* m32r does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68k/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68k/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68K_H +#define __LINUX_KVM_M68K_H + +/* m68k does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68knommu/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68knommu/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68KNOMMU_H +#define __LINUX_KVM_M68KNOMMU_H + +/* m68knommu does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mips/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mips/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MIPS_H +#define __LINUX_KVM_MIPS_H + +/* mips does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mn10300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mn10300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MN10300_H +#define __LINUX_KVM_MN10300_H + +/* mn10300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-parisc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-parisc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_PARISC_H +#define __LINUX_KVM_PARISC_H + +/* parisc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-powerpc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-powerpc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_POWERPC_H +#define __LINUX_KVM_POWERPC_H + +/* powerpc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-s390/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-s390/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_S390_H +#define __LINUX_KVM_S390_H + +/* s390 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sh/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sh/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SH_H +#define __LINUX_KVM_SH_H + +/* sh does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC_H +#define __LINUX_KVM_SPARC_H + +/* sparc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC64_H +#define __LINUX_KVM_SPARC64_H + +/* sparc64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-um/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-um/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_UM_H +#define __LINUX_KVM_UM_H + +/* um does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-v850/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-v850/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_V850_H +#define __LINUX_KVM_V850_H + +/* v850 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-xtensa/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-xtensa/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_XTENSA_H +#define __LINUX_KVM_XTENSA_H + +/* xtensa does not support KVM */ + +#endif Index: linux-2.6.git/include/linux/Kbuild =================================================================== --- linux-2.6.git.orig/include/linux/Kbuild +++ linux-2.6.git/include/linux/Kbuild @@ -257,7 +257,7 @@ unifdef-y += kd.h unifdef-y += kernelcapi.h unifdef-y += kernel.h unifdef-y += keyboard.h -unifdef-$(CONFIG_HAVE_KVM) += kvm.h +unifdef-y += kvm.h unifdef-y += llc.h unifdef-y += loop.h unifdef-y += lp.h ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-10 13:11 ` Christian Borntraeger @ 2008-03-10 13:11 ` Christian Borntraeger 2008-03-11 6:20 ` Andrew Morton 1 sibling, 0 replies; 14+ messages in thread From: Christian Borntraeger @ 2008-03-10 13:11 UTC (permalink / raw) To: Andrew Morton Cc: David Woodhouse, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits Ok, here goes the second version. Andrew, if there are no further complaints, please replace the old patch, with this version. Thank you. - [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install Currently include/linux/kvm.h is not considered by make headers_install, because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h. This problem was introduced by 040922c04cf2c8ac70be2e88a8a9614ecdb41d2e, which makes this an 2.6.25 regression. One way of solving the issue is to enhance Kbuild, but Avi Kivity and David Woodhouse conviced me, that changing headers_install is not the way to go. This patch changes the definition for linux/kvm.h to unifdef-y. If unifdef-y is used for linux/kvm.h "make headers_check" will fail on all architectures without asm/kvm.h. Therefore, this patch also provides asm/kvm.h on all architectures. Changes since v1: o use asm-generic/Kbuild.asm (Arnd Bergmann) o fix comment in asm-frv (David Howells) Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Avi Kivity <avi@qumranet.com> --- include/asm-alpha/kvm.h | 6 ++++++ include/asm-arm/kvm.h | 6 ++++++ include/asm-avr32/kvm.h | 6 ++++++ include/asm-blackfin/kvm.h | 6 ++++++ include/asm-cris/kvm.h | 6 ++++++ include/asm-frv/kvm.h | 6 ++++++ include/asm-generic/Kbuild.asm | 2 ++ include/asm-h8300/kvm.h | 6 ++++++ include/asm-ia64/kvm.h | 6 ++++++ include/asm-m32r/kvm.h | 6 ++++++ include/asm-m68k/kvm.h | 6 ++++++ include/asm-m68knommu/kvm.h | 6 ++++++ include/asm-mips/kvm.h | 6 ++++++ include/asm-mn10300/kvm.h | 6 ++++++ include/asm-parisc/kvm.h | 6 ++++++ include/asm-powerpc/kvm.h | 6 ++++++ include/asm-s390/kvm.h | 6 ++++++ include/asm-sh/kvm.h | 6 ++++++ include/asm-sparc/kvm.h | 6 ++++++ include/asm-sparc64/kvm.h | 6 ++++++ include/asm-um/kvm.h | 6 ++++++ include/asm-v850/kvm.h | 6 ++++++ include/asm-xtensa/kvm.h | 6 ++++++ include/linux/Kbuild | 2 +- 24 files changed, 135 insertions(+), 1 deletion(-) Index: linux-2.6.git/include/asm-alpha/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-alpha/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ALPHA_H +#define __LINUX_KVM_ALPHA_H + +/* alpha does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-arm/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-arm/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ARM_H +#define __LINUX_KVM_ARM_H + +/* arm does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-avr32/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-avr32/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_AVR32_H +#define __LINUX_KVM_AVR32_H + +/* avr32 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-blackfin/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-blackfin/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_BLACKFIN_H +#define __LINUX_KVM_BLACKFIN_H + +/* blackfin does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-cris/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-cris/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_CRIS_H +#define __LINUX_KVM_CRIS_H + +/* cris does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-frv/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-frv/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_FRV_H +#define __LINUX_KVM_FRV_H + +/* frv does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-generic/Kbuild.asm =================================================================== --- linux-2.6.git.orig/include/asm-generic/Kbuild.asm +++ linux-2.6.git/include/asm-generic/Kbuild.asm @@ -1,3 +1,5 @@ +header-y += kvm.h + ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) unifdef-y += a.out.h endif Index: linux-2.6.git/include/asm-h8300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-h8300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_H8300_H +#define __LINUX_KVM_H8300_H + +/* h8300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-ia64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-ia64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_IA64_H +#define __LINUX_KVM_IA64_H + +/* ia64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m32r/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m32r/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M32R_H +#define __LINUX_KVM_M32R_H + +/* m32r does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68k/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68k/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68K_H +#define __LINUX_KVM_M68K_H + +/* m68k does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68knommu/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68knommu/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68KNOMMU_H +#define __LINUX_KVM_M68KNOMMU_H + +/* m68knommu does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mips/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mips/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MIPS_H +#define __LINUX_KVM_MIPS_H + +/* mips does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mn10300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mn10300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MN10300_H +#define __LINUX_KVM_MN10300_H + +/* mn10300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-parisc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-parisc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_PARISC_H +#define __LINUX_KVM_PARISC_H + +/* parisc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-powerpc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-powerpc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_POWERPC_H +#define __LINUX_KVM_POWERPC_H + +/* powerpc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-s390/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-s390/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_S390_H +#define __LINUX_KVM_S390_H + +/* s390 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sh/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sh/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SH_H +#define __LINUX_KVM_SH_H + +/* sh does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC_H +#define __LINUX_KVM_SPARC_H + +/* sparc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC64_H +#define __LINUX_KVM_SPARC64_H + +/* sparc64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-um/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-um/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_UM_H +#define __LINUX_KVM_UM_H + +/* um does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-v850/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-v850/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_V850_H +#define __LINUX_KVM_V850_H + +/* v850 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-xtensa/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-xtensa/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_XTENSA_H +#define __LINUX_KVM_XTENSA_H + +/* xtensa does not support KVM */ + +#endif Index: linux-2.6.git/include/linux/Kbuild =================================================================== --- linux-2.6.git.orig/include/linux/Kbuild +++ linux-2.6.git/include/linux/Kbuild @@ -257,7 +257,7 @@ unifdef-y += kd.h unifdef-y += kernelcapi.h unifdef-y += kernel.h unifdef-y += keyboard.h -unifdef-$(CONFIG_HAVE_KVM) += kvm.h +unifdef-y += kvm.h unifdef-y += llc.h unifdef-y += loop.h unifdef-y += lp.h ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-10 13:11 ` Christian Borntraeger 2008-03-10 13:11 ` Christian Borntraeger @ 2008-03-11 6:20 ` Andrew Morton 2008-03-11 6:20 ` Andrew Morton 2008-03-11 6:42 ` David Woodhouse 1 sibling, 2 replies; 14+ messages in thread From: Andrew Morton @ 2008-03-11 6:20 UTC (permalink / raw) To: Christian Borntraeger Cc: linux-arch, mm-commits, Arnd Bergmann, kvm-devel, David Woodhouse, linux-kernel, Avi Kivity, David Howells, Sam Ravnborg On Mon, 10 Mar 2008 14:11:04 +0100 Christian Borntraeger <borntraeger@de.ibm.com> wrote: > [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install > > Currently include/linux/kvm.h is not considered by make headers_install, > because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h. > This problem was introduced by 040922c04cf2c8ac70be2e88a8a9614ecdb41d2e, > which makes this an 2.6.25 regression. > > One way of solving the issue is to enhance Kbuild, but Avi Kivity and David > Woodhouse conviced me, that changing headers_install is not the way to go. > This patch changes the definition for linux/kvm.h to unifdef-y. > > If unifdef-y is used for linux/kvm.h "make headers_check" will fail on all > architectures without asm/kvm.h. Therefore, this patch also provides > asm/kvm.h on all architectures. > > Changes since v1: > o use asm-generic/Kbuild.asm (Arnd Bergmann) > o fix comment in asm-frv (David Howells) err, this doesn't work. alpha and m68k (at least) fail make headers_check /usr/src/devel/usr/include/linux/kvm.h requires asm/kvm.h, which does not exist in exported headers ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 6:20 ` Andrew Morton @ 2008-03-11 6:20 ` Andrew Morton 2008-03-11 6:42 ` David Woodhouse 1 sibling, 0 replies; 14+ messages in thread From: Andrew Morton @ 2008-03-11 6:20 UTC (permalink / raw) To: Christian Borntraeger Cc: David Woodhouse, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits On Mon, 10 Mar 2008 14:11:04 +0100 Christian Borntraeger <borntraeger@de.ibm.com> wrote: > [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install > > Currently include/linux/kvm.h is not considered by make headers_install, > because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h. > This problem was introduced by 040922c04cf2c8ac70be2e88a8a9614ecdb41d2e, > which makes this an 2.6.25 regression. > > One way of solving the issue is to enhance Kbuild, but Avi Kivity and David > Woodhouse conviced me, that changing headers_install is not the way to go. > This patch changes the definition for linux/kvm.h to unifdef-y. > > If unifdef-y is used for linux/kvm.h "make headers_check" will fail on all > architectures without asm/kvm.h. Therefore, this patch also provides > asm/kvm.h on all architectures. > > Changes since v1: > o use asm-generic/Kbuild.asm (Arnd Bergmann) > o fix comment in asm-frv (David Howells) err, this doesn't work. alpha and m68k (at least) fail make headers_check /usr/src/devel/usr/include/linux/kvm.h requires asm/kvm.h, which does not exist in exported headers ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 6:20 ` Andrew Morton 2008-03-11 6:20 ` Andrew Morton @ 2008-03-11 6:42 ` David Woodhouse 2008-03-11 6:42 ` David Woodhouse [not found] ` <1205217745.2592.86.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org> 1 sibling, 2 replies; 14+ messages in thread From: David Woodhouse @ 2008-03-11 6:42 UTC (permalink / raw) To: Andrew Morton Cc: linux-arch, mm-commits, Arnd Bergmann, kvm-devel, linux-kernel, Avi Kivity, David Howells, Christian Borntraeger, Sam Ravnborg On Mon, 2008-03-10 at 23:20 -0700, Andrew Morton wrote: > > > Changes since v1: > > o use asm-generic/Kbuild.asm (Arnd Bergmann) I don't see that in the diffstat of the patch you dropped (looking at the immediately subsequent mail in my inbox). Which might explain... > /usr/src/devel/usr/include/linux/kvm.h requires asm/kvm.h, which does > not exist in exported headers -- dwmw2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 6:42 ` David Woodhouse @ 2008-03-11 6:42 ` David Woodhouse [not found] ` <1205217745.2592.86.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org> 1 sibling, 0 replies; 14+ messages in thread From: David Woodhouse @ 2008-03-11 6:42 UTC (permalink / raw) To: Andrew Morton Cc: Christian Borntraeger, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits On Mon, 2008-03-10 at 23:20 -0700, Andrew Morton wrote: > > > Changes since v1: > > o use asm-generic/Kbuild.asm (Arnd Bergmann) I don't see that in the diffstat of the patch you dropped (looking at the immediately subsequent mail in my inbox). Which might explain... > /usr/src/devel/usr/include/linux/kvm.h requires asm/kvm.h, which does > not exist in exported headers -- dwmw2 ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <1205217745.2592.86.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org>]
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install [not found] ` <1205217745.2592.86.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org> @ 2008-03-11 7:10 ` Christian Borntraeger 2008-03-11 7:10 ` Christian Borntraeger 2008-03-11 9:33 ` Andreas Schwab 0 siblings, 2 replies; 14+ messages in thread From: Christian Borntraeger @ 2008-03-11 7:10 UTC (permalink / raw) To: David Woodhouse, Andrew Morton Cc: Avi Kivity, Sam Ravnborg, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann, David Howells, linux-arch-u79uwXL29TY76Z2rM5mHXA, mm-commits-u79uwXL29TY76Z2rM5mHXA Am Dienstag, 11. März 2008 schrieb David Woodhouse: > > On Mon, 2008-03-10 at 23:20 -0700, Andrew Morton wrote: > > > > > Changes since v1: > > > o use asm-generic/Kbuild.asm (Arnd Bergmann) > > I don't see that in the diffstat of the patch you dropped (looking at > the immediately subsequent mail in my inbox). Which might explain... I cross tested my patch on all architectures and, yes, that part did not make it into mm. Maybe it was caused by my last patch being word wrapped. Here is a resend: [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install Currently include/linux/kvm.h is not considered by make headers_install, because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h. This problem was introduced by 040922c04cf2c8ac70be2e88a8a9614ecdb41d2e, which makes this an 2.6.25 regression. One way of solving the issue is to enhance Kbuild, but Avi and David conviced me, that changing headers_install is not the way to go. This patch changes the definition for linux/kvm.h to unifdef-y. If unifdef-y is used for linux/kvm.h "make headers_check" will fail on all architectures without asm/kvm.h. Therefore, this patch also provides asm/kvm.h on all architectures. Changes since v1: o use asm-generic/Kbuild.asm (Arnd Bergmann) o fix comment in asm-frv (David Howells) Signed-off-by: Christian Borntraeger <borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> Acked-by: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> CCed: Sam Ravnborg <sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org CCed: David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> --- include/asm-alpha/kvm.h | 6 ++++++ include/asm-arm/kvm.h | 6 ++++++ include/asm-avr32/kvm.h | 6 ++++++ include/asm-blackfin/kvm.h | 6 ++++++ include/asm-cris/kvm.h | 6 ++++++ include/asm-frv/kvm.h | 6 ++++++ include/asm-generic/Kbuild.asm | 2 ++ include/asm-h8300/kvm.h | 6 ++++++ include/asm-ia64/kvm.h | 6 ++++++ include/asm-m32r/kvm.h | 6 ++++++ include/asm-m68k/kvm.h | 6 ++++++ include/asm-m68knommu/kvm.h | 6 ++++++ include/asm-mips/kvm.h | 6 ++++++ include/asm-mn10300/kvm.h | 6 ++++++ include/asm-parisc/kvm.h | 6 ++++++ include/asm-powerpc/kvm.h | 6 ++++++ include/asm-s390/kvm.h | 6 ++++++ include/asm-sh/kvm.h | 6 ++++++ include/asm-sparc/kvm.h | 6 ++++++ include/asm-sparc64/kvm.h | 6 ++++++ include/asm-um/kvm.h | 6 ++++++ include/asm-v850/kvm.h | 6 ++++++ include/asm-xtensa/kvm.h | 6 ++++++ include/linux/Kbuild | 2 +- 24 files changed, 135 insertions(+), 1 deletion(-) Index: linux-2.6.git/include/asm-alpha/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-alpha/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ALPHA_H +#define __LINUX_KVM_ALPHA_H + +/* alpha does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-arm/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-arm/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ARM_H +#define __LINUX_KVM_ARM_H + +/* arm does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-avr32/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-avr32/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_AVR32_H +#define __LINUX_KVM_AVR32_H + +/* avr32 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-blackfin/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-blackfin/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_BLACKFIN_H +#define __LINUX_KVM_BLACKFIN_H + +/* blackfin does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-cris/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-cris/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_CRIS_H +#define __LINUX_KVM_CRIS_H + +/* cris does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-frv/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-frv/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_FRV_H +#define __LINUX_KVM_FRV_H + +/* frv does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-generic/Kbuild.asm =================================================================== --- linux-2.6.git.orig/include/asm-generic/Kbuild.asm +++ linux-2.6.git/include/asm-generic/Kbuild.asm @@ -1,3 +1,5 @@ +header-y += kvm.h + ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) unifdef-y += a.out.h endif Index: linux-2.6.git/include/asm-h8300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-h8300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_H8300_H +#define __LINUX_KVM_H8300_H + +/* h8300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-ia64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-ia64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_IA64_H +#define __LINUX_KVM_IA64_H + +/* ia64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m32r/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m32r/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M32R_H +#define __LINUX_KVM_M32R_H + +/* m32r does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68k/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68k/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68K_H +#define __LINUX_KVM_M68K_H + +/* m68k does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68knommu/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68knommu/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68KNOMMU_H +#define __LINUX_KVM_M68KNOMMU_H + +/* m68knommu does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mips/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mips/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MIPS_H +#define __LINUX_KVM_MIPS_H + +/* mips does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mn10300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mn10300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MN10300_H +#define __LINUX_KVM_MN10300_H + +/* mn10300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-parisc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-parisc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_PARISC_H +#define __LINUX_KVM_PARISC_H + +/* parisc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-powerpc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-powerpc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_POWERPC_H +#define __LINUX_KVM_POWERPC_H + +/* powerpc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-s390/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-s390/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_S390_H +#define __LINUX_KVM_S390_H + +/* s390 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sh/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sh/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SH_H +#define __LINUX_KVM_SH_H + +/* sh does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC_H +#define __LINUX_KVM_SPARC_H + +/* sparc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC64_H +#define __LINUX_KVM_SPARC64_H + +/* sparc64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-um/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-um/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_UM_H +#define __LINUX_KVM_UM_H + +/* um does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-v850/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-v850/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_V850_H +#define __LINUX_KVM_V850_H + +/* v850 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-xtensa/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-xtensa/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_XTENSA_H +#define __LINUX_KVM_XTENSA_H + +/* xtensa does not support KVM */ + +#endif Index: linux-2.6.git/include/linux/Kbuild =================================================================== --- linux-2.6.git.orig/include/linux/Kbuild +++ linux-2.6.git/include/linux/Kbuild @@ -257,7 +257,7 @@ unifdef-y += kd.h unifdef-y += kernelcapi.h unifdef-y += kernel.h unifdef-y += keyboard.h -unifdef-$(CONFIG_HAVE_KVM) += kvm.h +unifdef-y += kvm.h unifdef-y += llc.h unifdef-y += loop.h unifdef-y += lp.h -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 7:10 ` Christian Borntraeger @ 2008-03-11 7:10 ` Christian Borntraeger 2008-03-11 9:33 ` Andreas Schwab 1 sibling, 0 replies; 14+ messages in thread From: Christian Borntraeger @ 2008-03-11 7:10 UTC (permalink / raw) To: David Woodhouse, Andrew Morton Cc: Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits Am Dienstag, 11. März 2008 schrieb David Woodhouse: > > On Mon, 2008-03-10 at 23:20 -0700, Andrew Morton wrote: > > > > > Changes since v1: > > > o use asm-generic/Kbuild.asm (Arnd Bergmann) > > I don't see that in the diffstat of the patch you dropped (looking at > the immediately subsequent mail in my inbox). Which might explain... I cross tested my patch on all architectures and, yes, that part did not make it into mm. Maybe it was caused by my last patch being word wrapped. Here is a resend: [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install Currently include/linux/kvm.h is not considered by make headers_install, because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h. This problem was introduced by 040922c04cf2c8ac70be2e88a8a9614ecdb41d2e, which makes this an 2.6.25 regression. One way of solving the issue is to enhance Kbuild, but Avi and David conviced me, that changing headers_install is not the way to go. This patch changes the definition for linux/kvm.h to unifdef-y. If unifdef-y is used for linux/kvm.h "make headers_check" will fail on all architectures without asm/kvm.h. Therefore, this patch also provides asm/kvm.h on all architectures. Changes since v1: o use asm-generic/Kbuild.asm (Arnd Bergmann) o fix comment in asm-frv (David Howells) Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Avi Kivity <avi@qumranet.com> CCed: Sam Ravnborg <sam@ravnborg.org CCed: David Woodhouse <dwmw2@infradead.org> --- include/asm-alpha/kvm.h | 6 ++++++ include/asm-arm/kvm.h | 6 ++++++ include/asm-avr32/kvm.h | 6 ++++++ include/asm-blackfin/kvm.h | 6 ++++++ include/asm-cris/kvm.h | 6 ++++++ include/asm-frv/kvm.h | 6 ++++++ include/asm-generic/Kbuild.asm | 2 ++ include/asm-h8300/kvm.h | 6 ++++++ include/asm-ia64/kvm.h | 6 ++++++ include/asm-m32r/kvm.h | 6 ++++++ include/asm-m68k/kvm.h | 6 ++++++ include/asm-m68knommu/kvm.h | 6 ++++++ include/asm-mips/kvm.h | 6 ++++++ include/asm-mn10300/kvm.h | 6 ++++++ include/asm-parisc/kvm.h | 6 ++++++ include/asm-powerpc/kvm.h | 6 ++++++ include/asm-s390/kvm.h | 6 ++++++ include/asm-sh/kvm.h | 6 ++++++ include/asm-sparc/kvm.h | 6 ++++++ include/asm-sparc64/kvm.h | 6 ++++++ include/asm-um/kvm.h | 6 ++++++ include/asm-v850/kvm.h | 6 ++++++ include/asm-xtensa/kvm.h | 6 ++++++ include/linux/Kbuild | 2 +- 24 files changed, 135 insertions(+), 1 deletion(-) Index: linux-2.6.git/include/asm-alpha/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-alpha/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ALPHA_H +#define __LINUX_KVM_ALPHA_H + +/* alpha does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-arm/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-arm/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_ARM_H +#define __LINUX_KVM_ARM_H + +/* arm does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-avr32/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-avr32/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_AVR32_H +#define __LINUX_KVM_AVR32_H + +/* avr32 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-blackfin/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-blackfin/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_BLACKFIN_H +#define __LINUX_KVM_BLACKFIN_H + +/* blackfin does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-cris/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-cris/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_CRIS_H +#define __LINUX_KVM_CRIS_H + +/* cris does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-frv/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-frv/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_FRV_H +#define __LINUX_KVM_FRV_H + +/* frv does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-generic/Kbuild.asm =================================================================== --- linux-2.6.git.orig/include/asm-generic/Kbuild.asm +++ linux-2.6.git/include/asm-generic/Kbuild.asm @@ -1,3 +1,5 @@ +header-y += kvm.h + ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) unifdef-y += a.out.h endif Index: linux-2.6.git/include/asm-h8300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-h8300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_H8300_H +#define __LINUX_KVM_H8300_H + +/* h8300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-ia64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-ia64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_IA64_H +#define __LINUX_KVM_IA64_H + +/* ia64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m32r/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m32r/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M32R_H +#define __LINUX_KVM_M32R_H + +/* m32r does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68k/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68k/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68K_H +#define __LINUX_KVM_M68K_H + +/* m68k does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-m68knommu/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-m68knommu/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_M68KNOMMU_H +#define __LINUX_KVM_M68KNOMMU_H + +/* m68knommu does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mips/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mips/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MIPS_H +#define __LINUX_KVM_MIPS_H + +/* mips does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-mn10300/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-mn10300/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_MN10300_H +#define __LINUX_KVM_MN10300_H + +/* mn10300 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-parisc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-parisc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_PARISC_H +#define __LINUX_KVM_PARISC_H + +/* parisc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-powerpc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-powerpc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_POWERPC_H +#define __LINUX_KVM_POWERPC_H + +/* powerpc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-s390/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-s390/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_S390_H +#define __LINUX_KVM_S390_H + +/* s390 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sh/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sh/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SH_H +#define __LINUX_KVM_SH_H + +/* sh does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC_H +#define __LINUX_KVM_SPARC_H + +/* sparc does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-sparc64/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-sparc64/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_SPARC64_H +#define __LINUX_KVM_SPARC64_H + +/* sparc64 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-um/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-um/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_UM_H +#define __LINUX_KVM_UM_H + +/* um does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-v850/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-v850/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_V850_H +#define __LINUX_KVM_V850_H + +/* v850 does not support KVM */ + +#endif Index: linux-2.6.git/include/asm-xtensa/kvm.h =================================================================== --- /dev/null +++ linux-2.6.git/include/asm-xtensa/kvm.h @@ -0,0 +1,6 @@ +#ifndef __LINUX_KVM_XTENSA_H +#define __LINUX_KVM_XTENSA_H + +/* xtensa does not support KVM */ + +#endif Index: linux-2.6.git/include/linux/Kbuild =================================================================== --- linux-2.6.git.orig/include/linux/Kbuild +++ linux-2.6.git/include/linux/Kbuild @@ -257,7 +257,7 @@ unifdef-y += kd.h unifdef-y += kernelcapi.h unifdef-y += kernel.h unifdef-y += keyboard.h -unifdef-$(CONFIG_HAVE_KVM) += kvm.h +unifdef-y += kvm.h unifdef-y += llc.h unifdef-y += loop.h unifdef-y += lp.h ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 7:10 ` Christian Borntraeger 2008-03-11 7:10 ` Christian Borntraeger @ 2008-03-11 9:33 ` Andreas Schwab 2008-03-11 9:33 ` Andreas Schwab [not found] ` <je7ig9hag4.fsf-+JVCjXrnBTholqkO4TVVkw@public.gmane.org> 1 sibling, 2 replies; 14+ messages in thread From: Andreas Schwab @ 2008-03-11 9:33 UTC (permalink / raw) To: Christian Borntraeger Cc: linux-arch, mm-commits, Arnd Bergmann, kvm-devel, David Woodhouse, linux-kernel, Avi Kivity, David Howells, Andrew Morton, Sam Ravnborg Christian Borntraeger <borntraeger@de.ibm.com> writes: > include/asm-alpha/kvm.h | 6 ++++++ Can't you put it in asm-generic? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 9:33 ` Andreas Schwab @ 2008-03-11 9:33 ` Andreas Schwab [not found] ` <je7ig9hag4.fsf-+JVCjXrnBTholqkO4TVVkw@public.gmane.org> 1 sibling, 0 replies; 14+ messages in thread From: Andreas Schwab @ 2008-03-11 9:33 UTC (permalink / raw) To: Christian Borntraeger Cc: David Woodhouse, Andrew Morton, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits Christian Borntraeger <borntraeger@de.ibm.com> writes: > include/asm-alpha/kvm.h | 6 ++++++ Can't you put it in asm-generic? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <je7ig9hag4.fsf-+JVCjXrnBTholqkO4TVVkw@public.gmane.org>]
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install [not found] ` <je7ig9hag4.fsf-+JVCjXrnBTholqkO4TVVkw@public.gmane.org> @ 2008-03-11 10:02 ` Christian Borntraeger 2008-03-11 10:02 ` Christian Borntraeger 0 siblings, 1 reply; 14+ messages in thread From: Christian Borntraeger @ 2008-03-11 10:02 UTC (permalink / raw) To: Andreas Schwab Cc: David Woodhouse, Andrew Morton, Avi Kivity, Sam Ravnborg, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann, David Howells, linux-arch-u79uwXL29TY76Z2rM5mHXA, mm-commits-u79uwXL29TY76Z2rM5mHXA Am Dienstag, 11. März 2008 schrieb Andreas Schwab: > Christian Borntraeger <borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> writes: > > > include/asm-alpha/kvm.h | 6 ++++++ > > Can't you put it in asm-generic? I dont think so. The generic part is in include/linux/kvm.h. asm/kvm.h is populated by each architecture which gets kvm support with arch specfic definitions. x86 has support and s390, powerpc and ia64 are currently know to work on ports. Christian -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install 2008-03-11 10:02 ` Christian Borntraeger @ 2008-03-11 10:02 ` Christian Borntraeger 0 siblings, 0 replies; 14+ messages in thread From: Christian Borntraeger @ 2008-03-11 10:02 UTC (permalink / raw) To: Andreas Schwab Cc: David Woodhouse, Andrew Morton, Avi Kivity, Sam Ravnborg, kvm-devel, linux-kernel, Arnd Bergmann, David Howells, linux-arch, mm-commits Am Dienstag, 11. März 2008 schrieb Andreas Schwab: > Christian Borntraeger <borntraeger@de.ibm.com> writes: > > > include/asm-alpha/kvm.h | 6 ++++++ > > Can't you put it in asm-generic? I dont think so. The generic part is in include/linux/kvm.h. asm/kvm.h is populated by each architecture which gets kvm support with arch specfic definitions. x86 has support and s390, powerpc and ia64 are currently know to work on ports. Christian ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2008-03-11 10:03 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200803071326.06682.borntraeger@de.ibm.com>
[not found] ` <1204933418.2495.14.camel@shinybook.infradead.org>
[not found] ` <200803100913.46422.borntraeger@de.ibm.com>
2008-03-10 11:23 ` [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install Arnd Bergmann
2008-03-10 11:23 ` Arnd Bergmann
2008-03-10 13:11 ` Christian Borntraeger
2008-03-10 13:11 ` Christian Borntraeger
2008-03-11 6:20 ` Andrew Morton
2008-03-11 6:20 ` Andrew Morton
2008-03-11 6:42 ` David Woodhouse
2008-03-11 6:42 ` David Woodhouse
[not found] ` <1205217745.2592.86.camel-Fexsq3y4057IgHVZqg5X0TlWvGAXklZc@public.gmane.org>
2008-03-11 7:10 ` Christian Borntraeger
2008-03-11 7:10 ` Christian Borntraeger
2008-03-11 9:33 ` Andreas Schwab
2008-03-11 9:33 ` Andreas Schwab
[not found] ` <je7ig9hag4.fsf-+JVCjXrnBTholqkO4TVVkw@public.gmane.org>
2008-03-11 10:02 ` Christian Borntraeger
2008-03-11 10:02 ` Christian Borntraeger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox