From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: qemu-kvm: Unsolicited boot from net Date: Thu, 12 Nov 2009 14:44:21 -0600 Message-ID: <4AFC73A5.9050207@linux.vnet.ibm.com> References: <4AFBFFB1.4000707@siemens.com> <20091112154849.GA26525@amt.cnet> <4AFC45EC.7020103@siemens.com> <20091112201157.GA29514@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Kiszka , kvm , Gleb Natapov , Avi Kivity , Anthony Liguori , Glauber Costa To: Marcelo Tosatti Return-path: Received: from e32.co.us.ibm.com ([32.97.110.150]:42348 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754162AbZKLUoa (ORCPT ); Thu, 12 Nov 2009 15:44:30 -0500 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e32.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id nACKdKT9003275 for ; Thu, 12 Nov 2009 13:39:20 -0700 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nACKiNgT059248 for ; Thu, 12 Nov 2009 13:44:23 -0700 Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nACKiM6i016340 for ; Thu, 12 Nov 2009 13:44:22 -0700 In-Reply-To: <20091112201157.GA29514@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti wrote: >> Looking closer: It's actually still pcbios that is used by my >> installation - shouldn't this be Seabios now? >> > > My understanding is that Seabios should get more testing with qemu-kvm > (other than the cpu hotplug debate). Gleb/Avi would know for sure. > > Now whether pcbios option rom supports gpxe properly i don't know, maybe > that is the root cause for the problem (yes, qemu-kvm loads gpxe and > attempts to boot from the network first, the above commit only removes > the annoying multi-second delay). > > CC'ing people with some clue. > Yup, that's the problem. gPXE doesn't think PCBIOS is a PnP bios because it isn't. Therefore it doesn't enable BEV and uses int19 instead. This isn't a problem with older QEMUs because we only loaded the option roms on demand. We now load them unconditionally. Of course, that meant -boot cdn never really worked correctly. The only easy solution is moving to SeaBIOS. I'm surprised qemu-kvm hasn't already made the move to be honest. -- Regards, Anthony Liguori