mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Introduce fw_name field to DeviceInfo structure.
Add "fw_name" to DeviceInfo to use in device path building. In contrast to "name" "fw_name" should refer to functionality device provides instead of particular device model like "name" does. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
1b3cba6e91
commit
779206de67
11 changed files with 16 additions and 0 deletions
|
@ -365,6 +365,7 @@ static PCIDeviceInfo i440fx_info[] = {
|
|||
static SysBusDeviceInfo i440fx_pcihost_info = {
|
||||
.init = i440fx_pcihost_initfn,
|
||||
.qdev.name = "i440FX-pcihost",
|
||||
.qdev.fw_name = "pci",
|
||||
.qdev.size = sizeof(I440FXState),
|
||||
.qdev.no_user = 1,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue