[libvirt] [PATCH 18/20] Make handling of monitor prompts more general.