[libvirt] [PATCH v3 1/9] domain_conf: Introduce chardev hotplug helpers
Daniel P. Berrange
berrange at redhat.com
Wed Jul 3 15:11:59 UTC 2013
On Tue, Jul 02, 2013 at 05:53:00PM +0200, Michal Privoznik wrote:
> 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 | 135 +++++++++++++++++++++++++++++++++++++++++++++++
> src/conf/domain_conf.h | 15 ++++++
> src/libvirt_private.syms | 4 ++
> 3 files changed, 154 insertions(+)
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list