Overview
Comment: | Added stop --hard, written some usb-related code |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2cc90f6c24cfbee55771cf402742988a |
User & Date: | vitus on 2015-12-11 21:21:22 |
Other Links: | manifest | tags |
Context
2015-12-12
| ||
07:26 | Hopefilly fixed problem with hangs of monitor operation. Implemented screenshot, record and stoprecord commands. Incorporated start.template inside script, improved error diagnostic on create check-in: a090f477b4 user: vitus tags: trunk | |
2015-12-11
| ||
21:21 | Added stop --hard, written some usb-related code check-in: 2cc90f6c24 user: vitus tags: trunk | |
20:50 | Improved help messages check-in: 4eed41b225 user: vitus tags: trunk | |
Changes
Modified vws from [c892d664ab] to [910684f88e].
︙ | |||
88 89 90 91 92 93 94 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | + + + - + + + | options.sock = connect_vm(options.dir) if options.gui: uri = spiceurl(options) os.system("remote-viewer %s &" % uri) elif not options.stopped: print >>sys.stderr,"VM already running" def cmd_stop(options): if options.hard: print send_command(options.sock,'quit') else: |
︙ | |||
130 131 132 133 134 135 136 | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | + + + - + + + + + + + + + + + + + + + + + + - + - + - + + | answer=send_command(options.sock,"eject "+options.id) else: answer=send_command(options.sock, "change %s %s" % (options.id, options.file)) print answer def find_usb(options,devices): if hasattr("pattern",options): for dev in devies: if re.search(options.pattern,dev[1]): options.address=dev[0] |
︙ |