Check-in [33aa537a64]
Not logged in
Overview
Comment:Retry reading spice uri if first time it fails Improbe diagnistics if it fails second time
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 33aa537a644f3848b56b63120e80ffd022a7308a
User & Date: vitus on 2019-06-06 15:09:12
Other Links: manifest | tags
Context
2019-06-06
15:12
Increased vesion to 0.7 check-in: bdb22341a3 user: vitus tags: trunk
15:09
Retry reading spice uri if first time it fails Improbe diagnistics if it fails second time check-in: 33aa537a64 user: vitus tags: trunk
2018-12-07
12:46
Fix typo when checking net interface name check-in: d45c5b5e45 user: vitus tags: trunk
Changes

Modified debian/changelog from [772814f9fb] to [bbfdf8645b].







1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
9
10
11
12
13
+
+
+
+
+
+







vws (0.6-2) unstable; urgency=medium

  * Fixed bridge-checking code introduced in 0.6

 -- Victor Wagner <v.wagner@postgrespro.ru>  Fri, 07 Dec 2018 16:13:55 +0300

vws (0.6-1) unstable; urgency=medium

  * Added RemainAfterExit into systemd unit
  * Check if machine uses incorrect bridge names
  * Read away (qemu) prompt from monitor socket before issuing command

 -- Victor Wagner <vitus@wagner.pp.ru>  Tue, 17 Jul 2018 17:16:37 +0300

Modified debian/files from [43ac8ad2a4] to [215d6a4990].

1
2




1
2
-
-
+
+
vws_0.6-1_all.deb otherosfs optional
vws_0.6-1_amd64.buildinfo otherosfs optional
vws_0.6-2_all.deb otherosfs optional
vws_0.6-2_amd64.buildinfo otherosfs optional

Modified vws from [3d8e33b5ca] to [5a984c38d3].

1

2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
9

+







#!/usr/bin/python
# -*- encoding: utf-8 -*-
""" vws - script to control QEMU/KVM virtual workstations """
# pylint: disable=bad-builtin
from ConfigParser import ConfigParser
from argparse import ArgumentParser, Namespace
import fcntl
import socket, select
import errno
75
76
77
78
79
80
81


82

83
84
85
86
87
88
89
76
77
78
79
80
81
82
83
84

85
86
87
88
89
90
91
92







+
+
-
+







            continue
        idx = line.find("address:")
        if idx != -1:
            url = line[idx+9:]
            if url.startswith('*:'):
                url = socket.getfqdn()+url[1:]
    if url is None:
        if output.endswith('(qemu)'):
            return spiceurl(sock)
        print >>sys.stderr, "ERROR parsing 'info spice' output:",output
        print >>sys.stderr, "ERROR parsing 'info spice' output:«",output,"»"
        return None
    return "spice://" + url.rstrip('\r')



def list_bridges():
    """ Return list of bridge network interfaces present in the system """