From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiVBR-0001B2-MK for qemu-devel@nongnu.org; Wed, 04 Jan 2012 13:03:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiVBQ-0005pg-3v for qemu-devel@nongnu.org; Wed, 04 Jan 2012 13:03:29 -0500 Received: from chello084112167138.7.11.vie.surfer.at ([84.112.167.138]:51413 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiVBP-0005pS-QJ for qemu-devel@nongnu.org; Wed, 04 Jan 2012 13:03:28 -0500 Received: from bbs.intern (localhost [127.0.0.1]) by wiesinger.com (8.14.4/8.14.4) with ESMTP id q04I2YOb010130 for ; Wed, 4 Jan 2012 19:02:34 +0100 Received: from localhost (gerhard@localhost) by bbs.intern (8.14.4/8.14.4/Submit) with ESMTP id q04I2Yij010126 for ; Wed, 4 Jan 2012 19:02:34 +0100 Date: Wed, 4 Jan 2012 19:02:34 +0100 (CET) From: Gerhard Wiesinger Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: [Qemu-devel] Boot order problem and disable iPXE/gPXE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I'm having the following boot order problem using an SCSI option ROM: Command line: /root/download/qemu/git/qemu-kvm/x86_64-softmmu/qemu-system-x86_64 -drive file=1.img,media=disk,if=scsi,bus=0,unit=0 -drive file=2.img,media=disk,if=scsi,bus=0,unit=1 -drive file=3.img,media=disk,if=scsi,bus=0,unit=2 -drive file=4.img,media=disk,if=scsi,bus=0,unit=3 -cdrom KNOPPIX_V6.2CD-2009-11-18-DE.iso -boot order=c -m 256 -k de -vga vmware -vnc :0 -bios /root/download/seabios/git/seabios/out/bios.bin -option-rom BIOS/8xx_64.rom -net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c -net tap,ifname=tap0,script=no,downscript=no Still boots the cdrom instead of harddisk. So it is impossible to have a bootable CDROM in the VM without booting from it. Going into boot menu (-boot order=c,menu=on)and selecting HD works well. Any ideas to fix it? I also want to disable iPXE/gPXE on boot. I found several "workarounds" specifying rom files on different command lines: 1.) -net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c,rom=/dev/null (https://lists.gnu.org/archive/html/qemu-devel/2010-03/msg00546.html) 2.) -device rtl8139,romfile=/dev/null 3.) remove ROM files. I think best way would be: -net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c,rom=/dev/null or by SEABIOS boot option. Removing rom files isn't an option because I want it by command line switch and need them for other VMs. Any thoughts? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/