[OpenBIOS] Back at it again( PCI Passthrough )

Tarl Neustaedter tarl-b2 at tarl.net
Tue May 8 17:39:03 CEST 2018


On 2018-May-8 11:10 , Jd Lyons via OpenBIOS wrote:
> Seems that doing select-dev twice in a row will fix this trouble:
> [...]
>
>
> 0 > include evaluator.fs   ok
> 0 > here u.  e7825a8  ok
> 0 > s" /pci/@0" select-dev   ok
> 0 > s" /pci/@0" select-dev   ok
> 0 > here u.  e7825a8  ok
> 0 > load disk1:,\666  
> Trying to load:  from:
> /vdevice/v-scsi at 71000003/disk at 8100000000000000:,\666 ...  ok
> 0 > here u.  e782748  ok
> 0 > 4040 1 byte-load   ok
>

You might try doing the load before the selects.

E.g.,
0> load disk1:,\666
0> s" /pci/@0" select-dev
0> 4040 1 byte-load

The contents should still be there at 4040 after you do the select(s). I
wonder if the load (which will do its own fiddling with device tree) is
somehow messing up the state, and that's why you needed two select-devs.




More information about the OpenBIOS mailing list