95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
m=re.search("file=([^,\s]*)",line)
if m:
result.append(m.group(1))
return result
def snapshot_mode(sock):
answer=send_command(sock,"info block")
return re.search(": /tmp",answer) is not None:
#
# command implementation
#
def cmd_spiceuri(options):
print spiceurl(options)
|
|
|
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
m=re.search("file=([^,\s]*)",line)
if m:
result.append(m.group(1))
return result
def snapshot_mode(sock):
answer=send_command(sock,"info block")
return re.search(": /tmp",answer) is not None
#
# command implementation
#
def cmd_spiceuri(options):
print spiceurl(options)
|