* Re: KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM [not found] ` <20071202085006.C6D5A2508F6-LjA0eNSCdXrQnzwC+xcbyw@public.gmane.org> @ 2007-12-04 21:22 ` Hollis Blanchard 2007-12-05 10:25 ` Avi Kivity 0 siblings, 1 reply; 2+ messages in thread From: Hollis Blanchard @ 2007-12-04 21:22 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, 02 Dec 2007 10:50:06 +0200, Avi Kivity wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 368864d..eded44e > 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -112,6 +112,9 @@ config GENERIC_TIME_VSYSCALL > bool > default X86_64 > > +config ARCH_SUPPORTS_KVM > + bool > + default y > > > > diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig index > 6569206..4086080 100644 > --- a/drivers/kvm/Kconfig > +++ b/drivers/kvm/Kconfig > @@ -3,7 +3,7 @@ > # > menuconfig VIRTUALIZATION > bool "Virtualization" > - depends on X86 > + depends on ARCH_SUPPORTS_KVM || X86 > default y > ---help--- > Say Y here to get to see options for using your Linux host to run > other I think this approach is fine, but don't forget that lguest was snuck into drivers/kvm/Kconfig. It might be a good idea to move CONFIG_VIRTUALIZATION into drivers/Kconfig at this point... maybe a task for Rusty. -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM 2007-12-04 21:22 ` KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM Hollis Blanchard @ 2007-12-05 10:25 ` Avi Kivity 0 siblings, 0 replies; 2+ messages in thread From: Avi Kivity @ 2007-12-05 10:25 UTC (permalink / raw) To: Hollis Blanchard; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hollis Blanchard wrote: >> >> diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig index >> 6569206..4086080 100644 >> --- a/drivers/kvm/Kconfig >> +++ b/drivers/kvm/Kconfig >> @@ -3,7 +3,7 @@ >> # >> menuconfig VIRTUALIZATION >> bool "Virtualization" >> - depends on X86 >> + depends on ARCH_SUPPORTS_KVM || X86 >> default y > I think this approach is fine, but don't forget that lguest was snuck > into drivers/kvm/Kconfig. Actually I considered this. X86 in the depends statement above is short for "ARCH_SUPPORTS_LGUEST"; otherwise it is not needed. > It might be a good idea to move > CONFIG_VIRTUALIZATION into drivers/Kconfig at this point I prefer a top-level virt/ and arch/*/virt/. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-05 10:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20071202085006.C6D5A2508F6@il.qumranet.com>
[not found] ` <20071202085006.C6D5A2508F6-LjA0eNSCdXrQnzwC+xcbyw@public.gmane.org>
2007-12-04 21:22 ` KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM Hollis Blanchard
2007-12-05 10:25 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox