libvirt/src/xen
Laine Stump ffc40b63b5 conf: make virNodeDevCapData an official type
For some reason a union (_virNodeDevCapData) that had only been
declared inside the toplevel struct virNodeDevCapsDef was being used
as an argument to functions all over the place. Since it was only a
union, the "type" attribute wasn't necessarily sent with it. While
this works, it just seems wrong.

This patch creates a toplevel typedef for virNodeDevCapData and
virNodeDevCapDataPtr, making it a struct that has the type attribute
as a member, along with an anonymous union of everything that used to
be in union _virNodeDevCapData. This way we only have to change the
following:

  s/union _virNodeDevCapData */virNodeDevCapDataPtr /

and

  s/caps->type/caps->data.type/

This will make me feel less guilty when adding functions that need a
pointer to one of these.
2015-05-18 10:22:20 -04:00
..
block_stats.c xen: fix build error on rhel-5 2015-04-14 15:14:58 +02:00
block_stats.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_driver.c conf: make virNodeDevCapData an official type 2015-05-18 10:22:20 -04:00
xen_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
xen_hypervisor.c caps: Convert to use VIR_DOMAIN_VIRT internally 2015-04-20 16:40:26 -04:00
xen_hypervisor.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_inotify.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
xen_inotify.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
xend_internal.c domain: Convert os.type to VIR_DOMAIN_OSTYPE enum 2015-04-20 16:40:09 -04:00
xend_internal.h xend: Remove a couple of unused function prototypes. 2015-04-21 10:22:43 +01:00
xm_internal.c xen: Resolve Coverity FORWARD_NULL 2015-05-05 20:02:37 -04:00
xm_internal.h Convert Xen domain stats/peek driver methods to use virDomainDefPtr 2013-05-21 16:11:39 +01:00
xs_internal.c util: Check return value from virStrToLong* functions 2014-07-21 15:20:59 +02:00
xs_internal.h src/xen: Utilize more of VIR_(APPEND|INSERT|DELETE)_ELEMENT 2014-03-10 13:45:11 +01:00