From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH/RFC 7/9] Virtual network guest device driver Date: Tue, 22 May 2007 08:17:13 +0300 Message-ID: <46527CD9.5000603@qumranet.com> References: <200705211328.04565.arnd@arndb.de> <4651E8D1.4010208@us.ibm.com> <13426df10705211609j613032c6j373d9a4660f8ec6c@mail.gmail.com> <46523952.7070405@codemonkey.ws> <46524A79.8070004@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jimi Xenidis , "jmk-zzFmDc4TPjtKvsKVC3L/VUEOCMrvLtNR@public.gmane.org" , mschwid2-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, Christian Borntraeger , Suzanne McIntosh , kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Anthony Liguori Return-path: In-Reply-To: <46524A79.8070004-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Anthony Liguori wrote: >> >> In a PV environment why not just pass an initial cookie/hash/whatever >> as a command-line argument/register/memory-space to the underlying >> kernel? >> > > You can't pass a command line argument to Windows (at least, not easily > AFAIK). You could get away with an MSR/CPUID flag but then you're > relying on uniqueness which isn't guaranteed. > In the general case, you can't pass a command line argument to Linux either. kvm doesn't boot Linux; it boots the bios, which boots the boot sector, which boots grub, which boots Linux. Relying on the user to edit the command line in grub is wrong. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/