From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [PATCH 0/2] kvm: disable virtualization on kdump Date: Wed, 29 Oct 2008 07:54:48 -0700 Message-ID: References: <4904676F.3020706@redhat.com> <490487C1.1010707@redhat.com> <20081026213927.GF23893@blackpad> <49058645.9010005@redhat.com> <20081027122808.GH23893@blackpad> <4905C9ED.807@redhat.com> <20081028194530.GK23893@blackpad> <49082FD0.3040009@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andrew Morton , Eduardo Habkost , kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Haren Myneni , Simon Horman , Vivek Goyal To: Avi Kivity Return-path: In-Reply-To: <49082FD0.3040009-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> (Avi Kivity's message of "Wed, 29 Oct 2008 11:41:36 +0200") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kexec-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Errors-To: kexec-bounces+glkk-kexec=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity writes: > Eric W. Biederman wrote: >>> I think I will get flamed if I try to pull to the core a bunch of code >>> that always lived in the KVM module. 8) >>> >> >> Why is KVM modular anyway? That seems like some pretty core cpu > functionality... >> > > Many reasons. Developers like the ability to rmmod and modprobe during > development. Distros like to keep their non-modular core small. There is an > external module distribution that allows users to graft a new kvm on an old > kernel, which our testers and bleeding edge users like. Because it's there. Most of the reason I was wondering is that the cpu hardware probing largely seems to be a duplicate of what we have in the core for probing cpu capabilities already, and could likely be made smaller by building upon the existing codebase. > svm can writeback into memory at odd times if we don't do this, and the cost is > small - clear a bit in EFER. There's no reason to be lazy. Especially if we can clear that bit unconditionally (when EFER is present) I'm all for it. Eric