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
xen_driver.c conf: make virNodeDevCapData an official type 2015-05-18 10:22:20 -04:00
xen_driver.h
xen_hypervisor.c caps: Convert to use VIR_DOMAIN_VIRT internally 2015-04-20 16:40:26 -04:00
xen_hypervisor.h
xen_inotify.c
xen_inotify.h
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
xs_internal.c
xs_internal.h