qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] PCI support
@ 2004-05-18 23:14 Fabrice Bellard
  2004-05-19  2:28 ` Leigh Dyer
  2004-05-19  6:02 ` Pavel Janík
  0 siblings, 2 replies; 9+ messages in thread
From: Fabrice Bellard @ 2004-05-18 23:14 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Qemu-devel] PCI support
@ 2004-05-19  0:56 Hetz Ben Hamo
  2004-05-19  7:01 ` Rudi Lippert
  0 siblings, 1 reply; 9+ messages in thread
From: Hetz Ben Hamo @ 2004-05-19  0:56 UTC (permalink / raw)
  To: qemu devel Mailing list, Fabrice Bellard

Hi,

It seems that few minutes ago, Fabrice has commited:

* Script to convert VMWare images to raw images
* PCI Support
* NE2K PCI card...

And I was wondering, is there a chance that QEMU will let a user use an 
UNUSED PCI card which is inside the host machine? (example - graphics 
card, network analyzer, etc..)

Also, not to nitpick, but why PIIX3 and not PIIX4? documentation problem?

Thanks,
Hetz

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-18 23:14 Fabrice Bellard
@ 2004-05-19  2:28 ` Leigh Dyer
  2004-05-19  6:02 ` Pavel Janík
  1 sibling, 0 replies; 9+ messages in thread
From: Leigh Dyer @ 2004-05-19  2:28 UTC (permalink / raw)
  To: qemu-devel

On Wed, 2004-05-19 at 01:14 +0200, Fabrice Bellard wrote:
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-18 23:14 Fabrice Bellard
  2004-05-19  2:28 ` Leigh Dyer
@ 2004-05-19  6:02 ` Pavel Janík
  1 sibling, 0 replies; 9+ messages in thread
From: Pavel Janík @ 2004-05-19  6:02 UTC (permalink / raw)
  To: qemu-devel

   From: Fabrice Bellard <fabrice@bellard.org>
   Date: Wed, 19 May 2004 01:14:49 +0200

Fabrice!

it is almost unbelievable, how fast you are :-)

   > 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/initrd

  The 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!
-- 
Pavel Janík

Keep it simple to make it faster.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-19  0:56 [Qemu-devel] PCI support Hetz Ben Hamo
@ 2004-05-19  7:01 ` Rudi Lippert
  2004-05-19  7:44   ` Jens Arm
  2004-05-19 16:23   ` Natalia Portillo
  0 siblings, 2 replies; 9+ messages in thread
From: Rudi Lippert @ 2004-05-19  7:01 UTC (permalink / raw)
  To: qemu-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi.

a little something about the vmware conversion script:
it won't work with files that excede a certain size. i tried it with a 3.7G 
image, which was apparently too large for the c++ open() function to handle.
[using gentoo linux, kernel 2.6.6, gcc 3.3.2-r5 (20031218), propolice-3.3-7]

i don't know of a way to get out of this problem.
do you?

greets,
Rudi

"[Qemu-devel] PCI support" (Hetz Ben Hamo, Wednesday 19 May 2004 02:56):
> Hi,
>
> It seems that few minutes ago, Fabrice has commited:
>
> * Script to convert VMWare images to raw images
> * PCI Support
> * NE2K PCI card...
>
> And I was wondering, is there a chance that QEMU will let a user use an
> UNUSED PCI card which is inside the host machine? (example - graphics
> card, network analyzer, etc..)
>
> Also, not to nitpick, but why PIIX3 and not PIIX4? documentation problem?
>
> Thanks,
> Hetz
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqwZl1nTg39QS/TsRAk5bAJ4qSCJpuG5ouLEIn2O1+pssnKS9lACfX8do
xYDEuNqIAtdYvPiSG0bw1AE=
=qXcR
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-19  7:01 ` Rudi Lippert
@ 2004-05-19  7:44   ` Jens Arm
  2004-05-19  8:26     ` Pavel Janík
  2004-05-19  8:41     ` Jens Arm
  2004-05-19 16:23   ` Natalia Portillo
  1 sibling, 2 replies; 9+ messages in thread
From: Jens Arm @ 2004-05-19  7:44 UTC (permalink / raw)
  To: qemu-devel

Hi

Knoppix 3.3 do NOT realize the PCI :(

Jens

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-19  7:44   ` Jens Arm
@ 2004-05-19  8:26     ` Pavel Janík
  2004-05-19  8:41     ` Jens Arm
  1 sibling, 0 replies; 9+ messages in thread
From: Pavel Janík @ 2004-05-19  8:26 UTC (permalink / raw)
  To: qemu-devel

   From: Jens Arm <Jens.Arm@gmx.de>
   Date: Wed, 19 May 2004 09:44:06 +0200

   > Knoppix 3.3 do NOT realize the PCI :(

Have you used -pci command line option? What does it print?
-- 
Pavel Janík

Failure is not an option. It comes bundled with your Microsoft product.
                  -- Peter Surda in linux@linux.cz

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-19  7:44   ` Jens Arm
  2004-05-19  8:26     ` Pavel Janík
@ 2004-05-19  8:41     ` Jens Arm
  1 sibling, 0 replies; 9+ messages in thread
From: Jens Arm @ 2004-05-19  8:41 UTC (permalink / raw)
  To: qemu-devel

> Knoppix 3.3 do NOT realize the PCI :(

aaarg, I have not used -pci with it it works

Jens

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] PCI support
  2004-05-19  7:01 ` Rudi Lippert
  2004-05-19  7:44   ` Jens Arm
@ 2004-05-19 16:23   ` Natalia Portillo
  1 sibling, 0 replies; 9+ messages in thread
From: Natalia Portillo @ 2004-05-19 16:23 UTC (permalink / raw)
  To: qemu-devel

open64() ;)

On Wed, 19 May 2004 09:01:54 +0200
Rudi Lippert <Rudi@LYRIKpage.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hi.
> 
> a little something about the vmware conversion script:
> it won't work with files that excede a certain size. i tried it with a 3.7G 
> image, which was apparently too large for the c++ open() function to handle.
> [using gentoo linux, kernel 2.6.6, gcc 3.3.2-r5 (20031218), propolice-3.3-7]
> 
> i don't know of a way to get out of this problem.
> do you?
> 
> greets,
> Rudi
> 
> "[Qemu-devel] PCI support" (Hetz Ben Hamo, Wednesday 19 May 2004 02:56):
> > Hi,
> >
> > It seems that few minutes ago, Fabrice has commited:
> >
> > * Script to convert VMWare images to raw images
> > * PCI Support
> > * NE2K PCI card...
> >
> > And I was wondering, is there a chance that QEMU will let a user use an
> > UNUSED PCI card which is inside the host machine? (example - graphics
> > card, network analyzer, etc..)
> >
> > Also, not to nitpick, but why PIIX3 and not PIIX4? documentation problem?
> >
> > Thanks,
> > Hetz
> >
> >
> > _______________________________________________
> > Qemu-devel mailing list
> > Qemu-devel@nongnu.org
> > http://mail.nongnu.org/mailman/listinfo/qemu-devel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFAqwZl1nTg39QS/TsRAk5bAJ4qSCJpuG5ouLEIn2O1+pssnKS9lACfX8do
> xYDEuNqIAtdYvPiSG0bw1AE=
> =qXcR
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-05-20  2:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-19  0:56 [Qemu-devel] PCI support Hetz Ben Hamo
2004-05-19  7:01 ` Rudi Lippert
2004-05-19  7:44   ` Jens Arm
2004-05-19  8:26     ` Pavel Janík
2004-05-19  8:41     ` Jens Arm
2004-05-19 16:23   ` Natalia Portillo
  -- strict thread matches above, loose matches on Subject: below --
2004-05-18 23:14 Fabrice Bellard
2004-05-19  2:28 ` Leigh Dyer
2004-05-19  6:02 ` Pavel Janík

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).