[OpenBIOS] Back at it again( PCI Passthrough )

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Fri May 11 17:33:25 CEST 2018


On 11/05/18 15:54, Jd Lyons via OpenBIOS wrote:

> Sorry., it’s returning:
> 
>  >> =============================================================
>  >> OpenBIOS 1.1 [May 11 2018 10:49]
>  >> Configuration device id QEMU version 1 machine id 1
>  >> CPUs: 1
>  >> Memory: 256M
>  >> UUID: 00000000-0000-0000-0000-000000000000
>  >> CPU type PowerPC,G4
> milliseconds isn't unique.
> Welcome to OpenBIOS v1.1 built on May 11 2018 10:49
> 
> 0 > cd /pci/NE2000    ok
> 0 > .properties
> name                      "NE2000"
> vendor-id                 10ec
> device-id                 8029
> revision-id               0
> class-code                20000
> interrupts                1
> min-grant                 0
> max-latency               0
> devsel-speed              0
> subsystem-vendor-id       1af4
> subsystem-id              1100
> cache-line-size           0
> device_type               "network"
> model                     "NE2000 PCI"
> assigned-addresses        -- 14 : 01 00 70 10 00 00 00 00 00 00 10 00 00 
> 00 00 00 00 00 01 00
> reg                       00007000 00000000 00000000   00000000 00000000
>                            01007010 00000000 00000000   00000000 00000100
> network-type              "ethernet"
> removable                 "network"
> category                  "net"
>   ok
> 0 > cd ..    ok
> 0 > 1000 config-l@ u. ffffffff  ok
> 0 >

What command line are you using to launch qemu-system-ppc as the machine 
configuration looks different to mine?

The config space address of a PCI device is the first 32-bit word in the 
"reg" property so for your machine above you need to do:

7000 config-l@ u.


ATB,

Mark.



More information about the OpenBIOS mailing list