Hi Peter,
This won't be easy unfortunately, at least not clean :).
The vendor_id device_id are part of the PCIDeviceClass.
So I _think_ you can't use a qom parameter for that.
But... it seems that these fields are used firstly in
pci_qdev_realize (to be checked) so maybe it's okay to change them
l
Am 03.02.2017 um 13:07 schrieb Peter Lieven:
Hi,
I have a special use case of creating a dummy PCI device with a certain
vendor/device ID. The device does not have to actually function, it just
has to be visible under lspci.
Any idea how to achieve this? I was thinking of modifying the edu
Hi,
I have a special use case of creating a dummy PCI device with a certain
vendor/device ID. The device does not have to actually function, it just
has to be visible under lspci.
Any idea how to achieve this? I was thinking of modifying the edu pci device to
make the device/vendor ID passab