]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: remove union for one member from redirdev struct
authorPavel Hrdina <phrdina@redhat.com>
Mon, 24 Oct 2016 12:24:51 +0000 (14:24 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 24 Oct 2016 14:00:22 +0000 (16:00 +0200)
commite4501244a0f2a8099995e8eb9312d053d595de6c
tree48b441e3a807e34deab03176c414c876464a6ade
parentccd5665fb19eb652e7f8b871d3b0ab97fcc3b78c
domain_conf: remove union for one member from redirdev struct

Currently the union has only one member so remove that union.  If there
is a need to add a new type of source for new bus in the future this
will force the author to add a union and properly check bus type before
any access to union member.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_hotplug.c