libvirt/src/conf
Jonathon Jongsma 53aec799fa Include vdpa devices in node device list
The current udev node device driver ignores all events related to vdpa
devices. Since libvirt now supports vDPA network devices, include these
devices in the device list.

Example output:

virsh # nodedev-list
[...ommitted long list of nodedevs...]
vdpa_vdpa0

virsh # nodedev-dumpxml vdpa_vdpa0
<device>
  <name>vdpa_vdpa0</name>
  <path>/sys/devices/vdpa0</path>
  <parent>computer</parent>
  <driver>
    <name>vhost_vdpa</name>
  </driver>
  <capability type='vdpa'>
    <chardev>/dev/vhost-vdpa-0</chardev>
  </capability>
</device>

NOTE: normally the 'parent' would be a PCI device instead of 'computer',
but this example output is from the vdpa_sim kernel module, so it
doesn't have a normal parent device.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
2020-10-26 02:39:29 -04:00
..
backup_conf.c virStorageSourceNew: Abort on failure 2020-09-23 22:37:56 +02:00
backup_conf.h backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
capabilities.c conf: capabilities: use g_new0 2020-10-08 11:09:26 +02:00
capabilities.h Add a space before ending a comment 2020-01-30 12:32:03 +01:00
checkpoint_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
checkpoint_conf.h conf: checkpoint: Add a flag storing whether disk 'size' is valid 2020-07-07 12:58:19 +02:00
cpu_conf.c conf: cpu: use g_new0 2020-10-08 11:09:27 +02:00
cpu_conf.h cpu: Wire in XML validation 2020-10-07 11:26:27 +02:00
device_conf.c virDomainNetFindIdx: add support for CCW addresses 2020-09-24 13:48:31 +02:00
device_conf.h virDomainNetFindIdx: add support for CCW addresses 2020-09-24 13:48:31 +02:00
domain_addr.c util: hash: Remove virHashValueFree 2020-10-22 15:02:46 +02:00
domain_addr.h conf: domain_addr: Refactor hash usage in zpci reservation code 2020-10-22 15:02:46 +02:00
domain_audit.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
domain_audit.h conf: domain: use #pragma once in headers 2019-06-13 17:05:08 +02:00
domain_capabilities.c conf: use g_new0 2020-10-08 11:09:27 +02:00
domain_capabilities.h conf: Advertise migratable attribute for CPU in domcaps 2020-06-09 20:32:50 +02:00
domain_conf.c Replace all instances of 'virHashCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
domain_conf.h conf: Add support for vDPA network devices 2020-10-20 14:46:52 -04:00
domain_event.c libvirt: support memory failure event 2020-10-23 09:41:52 +02:00
domain_event.h libvirt: support memory failure event 2020-10-23 09:41:52 +02:00
domain_nwfilter.c conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
domain_nwfilter.h conf: domain: use #pragma once in headers 2019-06-13 17:05:08 +02:00
interface_conf.c conf: interface: use g_new0 2020-10-08 11:09:27 +02:00
interface_conf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
meson.build meson: src: build libvirt.so library 2020-08-03 09:27:04 +02:00
moment_conf.c src: replace clock_gettime()/gettimeofday() with g_get_real_time() 2020-01-03 15:42:13 +00:00
moment_conf.h snapshot: Store both config and live XML in the snapshot domain 2019-09-11 13:09:45 +02:00
netdev_bandwidth_conf.c conf: Add support for vDPA network devices 2020-10-20 14:46:52 -04:00
netdev_bandwidth_conf.h conf: do not pass vm object to virDomainClearNetBandwidth 2020-02-25 17:50:47 +01:00
netdev_vlan_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
netdev_vlan_conf.h conf: network: use #pragma once in headers 2019-06-13 17:05:09 +02:00
netdev_vport_profile_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
netdev_vport_profile_conf.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
network_conf.c conf: network: use g_new0 2020-10-08 11:09:26 +02:00
network_conf.h conf: convert network_conf.c to use g_auto* pointers 2020-06-15 16:02:16 -04:00
network_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
network_event.h conf: network: use #pragma once in headers 2019-06-13 17:05:09 +02:00
networkcommon_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
networkcommon_conf.h conf: network: use #pragma once in headers 2019-06-13 17:05:09 +02:00
node_device_conf.c Include vdpa devices in node device list 2020-10-26 02:39:29 -04:00
node_device_conf.h Include vdpa devices in node device list 2020-10-26 02:39:29 -04:00
node_device_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
node_device_event.h conf: node device: use #pragma once in headers 2019-06-13 17:05:09 +02:00
node_device_util.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
node_device_util.h conf: node device: use #pragma once in headers 2019-06-13 17:05:09 +02:00
numa_conf.c conf: numa: use g_new0 2020-10-08 11:09:27 +02:00
numa_conf.h numa: expose HMAT APIs 2020-07-08 12:05:24 +02:00
nwfilter_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
nwfilter_conf.h conf: nwfilter: use #pragma once in headers 2019-06-13 17:05:09 +02:00
nwfilter_ipaddrmap.c conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
nwfilter_ipaddrmap.h conf: nwfilter: use #pragma once in headers 2019-06-13 17:05:09 +02:00
nwfilter_params.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
nwfilter_params.h conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
object_event_private.h conf: fix alignment in virObjectEvent to be 8 not 4 bytes 2020-06-04 11:17:05 +01:00
object_event.c conf: use g_new0 2020-10-08 11:09:27 +02:00
object_event.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
secret_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
secret_conf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
secret_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
secret_event.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
snapshot_conf_priv.h virDomainSnapshotDiskDefFree: Export and register as autoptr func 2020-10-01 09:55:02 +02:00
snapshot_conf.c conf: use g_new0 2020-10-08 11:09:27 +02:00
snapshot_conf.h virDomainSnapshotDiskDefFree: Export and register as autoptr func 2020-10-01 09:55:02 +02:00
storage_adapter_conf.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
storage_adapter_conf.h conf: storage: use #pragma once in headers 2019-06-13 17:05:09 +02:00
storage_capabilities.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
storage_capabilities.h conf: storagecaps: Fix broken attempt at being const-correct 2019-11-12 14:37:57 +01:00
storage_conf.c conf: storage: use g_new0 2020-10-08 11:09:27 +02:00
storage_conf.h conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storage_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
storage_event.h conf: storage: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virchrdev.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virchrdev.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virconftypes.h conf: allow to map sound device to host device 2020-08-25 08:42:16 +04:00
virdomaincheckpointobjlist.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virdomaincheckpointobjlist.h backup: Allow for lists of checkpoint objects 2019-07-26 16:48:58 -05:00
virdomainmomentobjlist.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virdomainmomentobjlist.h backup: Allow for lists of checkpoint objects 2019-07-26 16:48:58 -05:00
virdomainobjlist.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virdomainobjlist.h conf: drop virCapsPtr param from domain obj list APIs 2019-12-09 10:17:27 +00:00
virdomainsnapshotobjlist.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virdomainsnapshotobjlist.h snapshot: Don't leak moment obj list metaroot to callers 2019-07-24 17:03:34 -05:00
virinterfaceobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virinterfaceobj.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virnetworkobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virnetworkobj.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virnetworkportdef.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virnetworkportdef.h conf: reduce includes in virnetworkportdef.h 2020-02-25 17:50:47 +01:00
virnodedeviceobj.c Include vdpa devices in node device list 2020-10-26 02:39:29 -04:00
virnodedeviceobj.h nodedev: add mdev support to virNodeDeviceCreateXML() 2020-06-19 10:39:55 +02:00
virnwfilterbindingdef.c conf: nwfilter: Replace 'virNWFilterHashTableCreate' with 'virHashNew' 2020-10-22 15:02:46 +02:00
virnwfilterbindingdef.h conf: virnwfilterbindingdef: include virxml.h 2020-02-25 17:46:45 +01:00
virnwfilterbindingobj.c conf: use g_auto() for all virBuffers 2020-07-08 16:34:17 -04:00
virnwfilterbindingobj.h conf: nwfilter: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virnwfilterbindingobjlist.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virnwfilterbindingobjlist.h conf: nwfilter: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virnwfilterobj.c conf: use g_new0 2020-10-08 11:09:27 +02:00
virnwfilterobj.h nwfilter: acquire a pidfile in the driver root directory 2019-07-11 12:46:20 +01:00
virsavecookie.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
virsavecookie.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virsecretobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virsecretobj.h conf: misc: use #pragma once in headers 2019-06-13 17:05:09 +02:00
virstorageobj.c util: hash: Change type of hash table name/key to 'char' 2020-10-22 15:02:46 +02:00
virstorageobj.h storage_driver: Protect pool def during startup and build 2019-08-23 09:32:26 +02:00