PCI support
Hi,
PCI support is now in the QEMU CVS. It is experimental so it is not enabled by default (use the runtime option '-pci'). There is support for an i440FX bridge, PIIX3 ISA bridge, PCI IDE controller (without DMA) and NE2000 PCI card. I tested it succesfully with a Linux 2.4.21 kernel.
I still have to add a correct IRQ allocation, PowerPC support and a dummy VGA PCI board.
Fabrice.
Quoted 7 lines · Fabrice Bellard
Hi,
PCI support is now in the QEMU CVS. It is experimental so it is not enabled by default (use the runtime option '-pci'). There is support for an i440FX bridge, PIIX3 ISA bridge, PCI IDE controller (without DMA) and NE2000 PCI card. I tested it succesfully with a Linux 2.4.21 kernel.
I've just done some quick testing of the new PCI bus on a Win98 guest. Win98 didn't see the PCI bus at first, but running the Add New Hardware wizard and getting it to detect new non-PNP hardware detected the PCI bus. After installing the appropriate drivers (and going through several reboots) it has detected the ISA bridge, IDE controller and NE2k. However, Windows gives a warning about the NE2k at boot and disables it
- it shows up in the device manager with the (!) icon attached to it. I've put up a couple of screenshots:
http://gir.eclinic.com.au/~lsd/qemu/win98/win98-ne2k-boot.png
http://gir.eclinic.com.au/~lsd/qemu/win98/win98-ne2k-deviceman.png
Let me know if there's any more info that I can provide. I also tried booting a Win2k system, but it failed with an INACCESSIBLE_BOOT_DEVICE error (common when trying to transplant a Win2k system in to a new PC), so I might try to do a fresh Win2k install instead.
Thanks
Leigh
From: Fabrice Bellard <[email protected]>
Date: Wed, 19 May 2004 01:14:49 +0200
Fabrice!
it is almost unbelievable, how fast you are :-)
Quoted 5 lines
PCI support is now in the QEMU CVS. It is experimental so it is not enabled by default (use the runtime option '-pci'). There is support for an i440FX bridge, PIIX3 ISA bridge, PCI IDE controller (without DMA) and NE2000 PCI card. I tested it succesfully with a Linux 2.4.21 kernel.
I tested two cases:
- booting Solaris 10
It failed the last time without PCI support with this:
http://tmp.janik.cz/QEMU/Solaris-10-x86-boot.png
It still doesn't continue booting, but Boot path has been changed
http://tmp.janik.cz/QEMU/Solaris-10-x86-boot-with-pci.png
It is now /pci@0,0/pci-ide@3/ide@1/sd@0,0:a
Solaris detection find both PCI Ethernet card and IDE. It is the same with Solaris 9.
- GRUB boot floppy with stage2.netboot
(http://tmp.janik.cz/QEMU/floppy.img)
In one project I'm working on, we use this image to boot the systems that do not support PXE natively in BIOS. It is a simple GRUB floppy with stage2.netboot (supporting many types of network cards). The GRUB config file contains entries like:
title xAPOSTclient
dhcp
root (nd)
kernel (nd)/9.0/linux install=nfs://10.7.7.104/install/9.0/CD1 autoyast=nfs://10.7.7.104/install/9.0/xAPOSTclient.xml textmode=1
initrd (nd)/9.0/initrdThe card inside vmware is detected as
http://tmp.janik.cz/QEMU/GRUB-vmware.png
But in QEMU the detection seems to not work:
http://tmp.janik.cz/QEMU/GRUB-qemu.png
It detected RTL8139 (which is IMHO the default in GRUB when nothing detected properly).
Keep up the good work!
Signature · 4 lines
Pavel Janík
Keep it simple to make it faster.
-- The Elements of Programming Style (Kernighan & Plaugher)