hw/i386/amd_iommu: Rename amdviPCI TypeInfo
commit64cba40c4480b4716da7d26fbedc97f43aa9f8f4
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 26 Sep 2021 17:56:46 +0000 (26 19:56 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Oct 2021 21:30:57 +0000 (5 17:30 -0400)
tree1da04d4e7624e665c885cca2e8f9d270afb15c51
parent5c243345236b058a3d84c8cbc62802f3fffb273c
hw/i386/amd_iommu: Rename amdviPCI TypeInfo

Per 'QEMU Coding Style':

  Naming
  ======
  Variables are lower_case_with_underscores; easy to type and read.

Rename amdviPCI variable as amdvi_pci.

amdviPCI_register_types() register more than PCI types:
TYPE_AMD_IOMMU_DEVICE inherits TYPE_X86_IOMMU_DEVICE which
itself inherits TYPE_SYS_BUS_DEVICE.

Rename it more generically as amdvi_register_types().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210926175648.1649075-2-f4bug@amsat.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/amd_iommu.c