aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2014-12-22 09:54:31 -0700
committerAlex Williamson <alex.williamson@redhat.com>2014-12-22 09:54:31 -0700
commit462037c9e85b27149e71d7f5c7f41375ca6e47d5 (patch)
tree1ae817abeccd8c10a8a044508962f1101feb690c /vl.c
parent5546a621a8801351601537b311539486b9b3ee79 (diff)
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 'vl.c')
0 files changed, 0 insertions, 0 deletions