]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Introduce virDomainDeviceGetInfo API
authorJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 21:34:00 +0000 (22:34 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 21:42:30 +0000 (22:42 +0100)
commit563a12b3463e9a665fae02589437ecd6dba89f6b
treeb7d7a09983c1c8e1bc7dfdd9915e844a9ab7514b
parent1c13166134bd2dd1fc5711e421ac5f983bece6a6
conf: Introduce virDomainDeviceGetInfo API

The offset of virDomainDeviceInfo structure within a device definition
varies with device type and some types do not contain the info structure
at all. This new API makes it easier to access the info structure from a
generic virDomainDeviceDef structure.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms