]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: move/rename hostdev PCI driver type enum to device_conf.h
authorLaine Stump <laine@redhat.com>
Fri, 5 Jan 2024 01:12:51 +0000 (20:12 -0500)
committerLaine Stump <laine@redhat.com>
Mon, 8 Jan 2024 04:57:09 +0000 (23:57 -0500)
commita435e7e6c84b60b31958f671d0e30d416f0f9a76
treee6ecd21df07eba0acca1ddc826c843a239e2cad4
parentdeefaf8f1c2147ce2a3b325068a6a4be9b5f7281
conf: move/rename hostdev PCI driver type enum to device_conf.h

Currently this enum is defined in domain_conf.h and named
virDomainHostdevSubsysPCIDriverType. I want to use it in parts of the
network and networkport config, so am moving its definition to
device_conf.h which is / can be included by all interested parties,
and renaming it to match the name of the corresponding XML attribute
("driver name"). The name change (which includes enum values) does cause a
lot of churn, but it's all mechanical.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
23 files changed:
src/conf/device_conf.c
src/conf/device_conf.h
src/conf/domain_capabilities.c
src/conf/domain_capabilities.h
src/conf/domain_conf.c
src/conf/domain_conf.h
src/hypervisor/virhostdev.c
src/libvirt_private.syms
src/libxl/libxl_capabilities.c
src/libxl/libxl_domain.c
src/libxl/libxl_driver.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_validate.c
src/security/security_apparmor.c
src/security/security_dac.c
src/security/security_selinux.c
src/security/virt-aa-helper.c
src/test/test_driver.c
tests/domaincapstest.c
tests/virhostdevtest.c
tools/virsh-completer-nodedev.c