Hi Felix,
I think you can check by xm command there are two options to shutdown
complete xen.
-a Shutdown all domains. Often used when doing a complete shutdown
of a Xen system.
-w Wait for the domain to complete shutdown before returning.
xm shutdown -a -w
Thanks,
Norman