]> xenbits.xensource.com Git - libvirt.git/commit
conf: Use virDomainChrSourceDefPtr for _virDomainRedirdevDef 'source.chr'
authorJohn Ferlan <jferlan@redhat.com>
Fri, 21 Oct 2016 22:27:52 +0000 (18:27 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 24 Oct 2016 10:44:23 +0000 (06:44 -0400)
commit99382262517d9c2d8912d462b889e2c4a7cbdc4d
tree3d85c7895b5ba1c47d88ce8cc21ac761fc23284c
parent8f67b9ecd2548db0827a4ae8ac079d8495548fa6
conf: Use virDomainChrSourceDefPtr for _virDomainRedirdevDef 'source.chr'

Use a pointer and the virDomainChrSourceDefNew() function in order to
allocate the structure for _virDomainRedirdevDef.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_hotplug.c