]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_conf: Introduce chardev hotplug helpers
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Mar 2013 14:55:07 +0000 (15:55 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Jul 2013 08:59:52 +0000 (10:59 +0200)
commit8d4c3c3f81ebd21aa7bd59580441d647a147fbdf
treef7b38c5f4f947b100b35ae667a25f9f15d98b83d
parent273745b43122a77adf8c73b2e0a852ac42387349
domain_conf: Introduce chardev hotplug helpers

For now, only these three helpers are needed:
virDomainChrFind - to find a duplicate chardev within VM def
virDomainChrInsert - wrapper for inserting a new chardev into VM def
virDomainChrRemove - wrapper for removing chardev from VM def

There is, however, one internal helper as well:
virDomainChrGetDomainPtrs which sets given pointers to one of
vmdef->{parallels,serials,consoles,channels} based on passed
chardev type.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms