A better way to make sure XenServer is booted

Change-Id: Ie1a560a19b200f9a7eafd2344822120255875306