Skip to content

Commit 6419e6a

Browse files
committed
xenmgr: Remove xl reboot code
This code is no longer called, so remove it. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
1 parent 9b6d13f commit 6419e6a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • xenmgr/XenMgr/Connect

xenmgr/XenMgr/Connect/Xl.hs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ module XenMgr.Connect.Xl
2020
, pause
2121
, destroy
2222
, resumeFromSleep
23-
, reboot
2423
, sleep
2524
, hibernate
2625
, suspendToFile
@@ -162,15 +161,6 @@ domainXsPath uuid = do
162161

163162
--The following functions are all domain lifecycle operations, and self-explanatory
164163

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-
174164
shutdown :: Uuid -> IO ()
175165
shutdown uuid =
176166
do

0 commit comments

Comments
 (0)