diff options
| author | Eric Auger <eric.auger@linaro.org> | 2014-12-22 09:54:31 -0700 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2014-12-22 09:54:31 -0700 |
| commit | 462037c9e85b27149e71d7f5c7f41375ca6e47d5 (patch) | |
| tree | 1ae817abeccd8c10a8a044508962f1101feb690c /hw/core/qdev-properties-system.c | |
| parent | 5546a621a8801351601537b311539486b9b3ee79 (diff) | |
| download | focaccia-qemu-462037c9e85b27149e71d7f5c7f41375ca6e47d5.tar.gz focaccia-qemu-462037c9e85b27149e71d7f5c7f41375ca6e47d5.zip | |
hw/vfio/pci: add type, name and group fields in VFIODevice
Add 3 new fields in the VFIODevice struct. Type is set to VFIO_DEVICE_TYPE_PCI. The type enum value will later be used to discriminate between VFIO PCI and platform devices. The name is set to domain:bus:slot:function. Currently used to test whether the device already is attached to the group. Later on, the name will be used to simplify all traces. The group is simply moved from VFIOPCIDevice to VFIODevice. Signed-off-by: Eric Auger <eric.auger@linaro.org> [Fix g_strdup_printf() usage] Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions