xen 0.1.2 → 0.1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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"]
|