xen 0.1.2 → 0.1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/xen/vm.rb +2 -1
- metadata +1 -1
data/lib/xen/vm.rb
CHANGED
@@ -48,6 +48,7 @@ module Xen
|
|
48
48
|
})
|
49
49
|
uid = host.get_value("VM.create", o)
|
50
50
|
self.new(uid, host)
|
51
|
+
end
|
51
52
|
|
52
53
|
# Creates a new VM, Given the VM's UID and the host it is running on.
|
53
54
|
def initialize(uid, host)
|
@@ -132,7 +133,7 @@ module Xen
|
|
132
133
|
end
|
133
134
|
|
134
135
|
private
|
135
|
-
def preload_record
|
136
|
+
def preload_record!
|
136
137
|
data = record
|
137
138
|
@dom_id = data["domid"]
|
138
139
|
@kernel = data["PV_kernel"]
|