qemu-toolkit 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qemu-toolkit/vm.rb +2 -1
- metadata +2 -2
data/lib/qemu-toolkit/vm.rb
CHANGED
@@ -3,6 +3,7 @@ require 'qemu-toolkit/dsl'
|
|
3
3
|
require 'qemu-toolkit/iscsi_target'
|
4
4
|
|
5
5
|
require 'fileutils'
|
6
|
+
require 'socket'
|
6
7
|
|
7
8
|
module QemuToolkit
|
8
9
|
# Abstracts a virtual machine on a vm host. This class provides all sorts
|
@@ -289,7 +290,7 @@ module QemuToolkit
|
|
289
290
|
|
290
291
|
private
|
291
292
|
def monitor_cmd(cmd)
|
292
|
-
socket = UNIXSocket.new(monitor_path)
|
293
|
+
socket = ::UNIXSocket.new(monitor_path)
|
293
294
|
socket.puts cmd
|
294
295
|
socket.close
|
295
296
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qemu-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|