We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6d13f commit 6419e6aCopy full SHA for 6419e6a
1 file changed
xenmgr/XenMgr/Connect/Xl.hs
@@ -20,7 +20,6 @@ module XenMgr.Connect.Xl
20
, pause
21
, destroy
22
, resumeFromSleep
23
- , reboot
24
, sleep
25
, hibernate
26
, suspendToFile
@@ -162,15 +161,6 @@ domainXsPath uuid = do
162
161
163
--The following functions are all domain lifecycle operations, and self-explanatory
164
165
-reboot :: Uuid -> IO ()
166
-reboot uuid =
167
- do
168
- domid <- getDomainId uuid
169
- exitCode <- system ("xl reboot " ++ domid)
170
- case exitCode of
171
- ExitSuccess -> return ()
172
- _ -> shutdown uuid
173
-
174
shutdown :: Uuid -> IO ()
175
shutdown uuid =
176
do
0 commit comments