From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: [PATCH 03/12] Add udev rule Date: Mon, 19 Oct 2009 17:19:17 +0400 Message-ID: <4ADC6755.4040608@msgid.tls.msk.ru> References: <20091019105923.3988.42243.stgit@mchn012c.ww002.siemens.net> <20091019105924.3988.4209.stgit@mchn012c.ww002.siemens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org To: Jan Kiszka Return-path: Received: from isrv.corpit.ru ([81.13.33.159]:48080 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751534AbZJSNTO (ORCPT ); Mon, 19 Oct 2009 09:19:14 -0400 In-Reply-To: <20091019105924.3988.4209.stgit@mchn012c.ww002.siemens.net> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka wrote: > Ported from OpenSUSE: Provide an udev rule that not only sets the group > of /dev/kvm but also triggers automatic loading of the kernel modules > during boot. > [] > diff --git a/Makefile b/Makefile > index 8314833..8614449 100644 > --- a/Makefile > +++ b/Makefile > @@ -54,6 +54,7 @@ install: > if [ -f "$$i" ]; then mv "$$i" "$$i.orig"; fi; \ > done > /sbin/depmod -a $(DEPMOD_VERSION) -b $(DESTDIR) > + install -m 644 -D scripts/65-kvm.rules $(DESTDIR)/etc/udev/rules.d/65-kvm.rules Ugh. I wonder why kernel does not load all the hardware modules this way still. And why people think that whole world is udev. Can we avoid this mess please? /mjt