xenmgr doesn't wait for guests to shutdown

Description

VM shutdowns originating from xenmgr (UI action, platform shutdown, ...) are non-blocking.
This can be a big issue, for example on platform shutdown, where we may not wait for all VMs to be off before shutting down the platform.
Luckily, the xenmgr code awfully spawns a shell to call "xl shutdown", and xl shutdown has a wait option (-w). Adding -w to all the xl shutdown calls could be a fix.

Environment

None

Validation Steps

None

Assignee

Mahantesh Salimath

Reporter

Jed

Labels

None

QA Assignee

None

QA Image URL

None

Components

Fix versions

Affects versions

Priority

Critical
Configure