On 03/26/2012 05:18 PM, Martin Kletzander wrote:
On 03/26/2012 11:07 AM, Peter Krempa wrote:
> Add the local copy of the flags.
> ---
> lib/domainAPI.py | 3 +++
> lib/streamAPI.py | 3 +++
> 2 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/lib/domainAPI.py b/lib/domainAPI.py
> index bc0069b..43565c2 100644
> --- a/lib/domainAPI.py
> +++ b/lib/domainAPI.py
> @@ -912,3 +912,6 @@ VIR_DOMAIN_AFFECT_CURRENT = 0
> VIR_DOMAIN_AFFECT_LIVE = 1
> VIR_DOMAIN_AFFECT_CONFIG = 2
>
> +# virDomainConsoleFlags
> +VIR_DOMAIN_CONSOLE_FORCE = 1
> +VIR_DOMAIN_CONSOLE_SAFE = 2
> diff --git a/lib/streamAPI.py b/lib/streamAPI.py
> index 18ce71e..0dfda28 100644
> --- a/lib/streamAPI.py
> +++ b/lib/streamAPI.py
> @@ -118,3 +118,6 @@ VIR_EVENT_HANDLE_READABLE = 1
> VIR_EVENT_HANDLE_WRITABLE = 2
> VIR_EVENT_HANDLE_ERROR = 4
> VIR_EVENT_HANDLE_HANGUP = 8
> +
> +# virStreamFlags
> +VIR_STREAM_NONBLOCK = 1
No flag is missing, flags are in right files according to the API, I'd
definitely say ACK, depends on you if you want a second opinion.
Martin
thanks, pushed
Guannan Ren