]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add flags for virDomainOpenConsole
authorPeter Krempa <pkrempa@redhat.com>
Wed, 12 Oct 2011 11:19:48 +0000 (13:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Feb 2012 14:05:16 +0000 (15:05 +0100)
commita1801023f4327e7eef4c8c81328a7106efdc789a
tree4ac8b8907c1f53de254746cc1b834a8b7aa5a29b
parent3e0623ebc86a4e173dd98e4cd5256bb5bb5cbdea
Add flags for virDomainOpenConsole

This patch adds a set of flags to be used with the virDomainOpenConsole
API call to specify if the user wishes to interrupt an existing console
session or just to try open a new one.

VIR_DOMAIN_CONSOLE_SAFE - specifies that the console connection should
                          be opened only if the hypervisor supports
                          mutually exclusive access to console devices

VIR_DOMAIN_CONSOLE_FORCE - specifies that the caller wishes to interrupt
                           existing session and force a creation of a
                           new one.
include/libvirt/libvirt.h.in
src/libvirt.c