fix callback for non-xen hosts