| Summary: | qemuppc: Cannot manage 'undefined' PCI device type '<NULL>' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jackie Huang <jackie.huang> |
| Component: | virtual machines | Assignee: | Jackie Huang <jackie.huang> |
| Status: | RESOLVED ReportedUpstream | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | randy.macleod, sgw |
| Version: | 2.4 | ||
| Target Milestone: | 2.5 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| See Also: |
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12034 https://bugzilla.yoctoproject.org/show_bug.cgi?id=12183 |
||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Jackie Huang
2017-10-10 05:37:22 UTC
After messing around with qemu source and enabling qemu tracing, I am convinced that the problem here is the openbios when it enumerates the PCI devices, it does find the VIRTIO_RNG device in it's tables. Currently, the openbios code is not rebuilt, we purely use the upstream binary from the qemu tarball. An entry would be needed in the pci_database.c code in the rom/openbios code for the Virtio_rng. I did verify via the tracing, that while the openbios does not know how to handle the virtio-rng PCI entry, the kernel correctly identifies it and I see correct tracing output when the device is accessed. I would suggest you report it upstream and then close this bug as reported upstream. The openbios issue tracker is not accessible: https://tracker.coreboot.org/trac/openbios So I report it in github: https://github.com/openbios/openbios/issues/2 And send Email to the openbios mailing list: openbios@openbios.org |