This cannot be done via xenstore, because stubdom is started just after creating (unlike real VM, which is created paused), so there is no time for creating xenstore entries.