CA-56842: if someone destroys a domain but doesn't clean up xenstore properly, clean up the last_known_good domain id.
CA-56842: if someone destroys a domain but doesn't clean up xenstore properly, clean up the last_known_good domain id.

If the qemu-dm-wrapper catches qemu-dm segfaulting and calls Xc.destroy_domain, xapi will clean up all the leftovers.

Signed-off-by: David Scott <63c9eb0ea83039690fefa11afe17873ba8278a56@eu.citrix.com>

koushikcgit/xcp-rrdd,koushikcgit/xcp-networkd,simonjbeaumont/xcp-rrdd,djs55/xcp-networkd,koushikcgit/xcp-rrdd,robhoes/squeezed,djs55/xcp-networkd,sharady/xcp-networkd,djs55/xcp-rrdd,sharady/xcp-networkd,koushikcgit/xcp-rrdd,johnelse/xcp-rrdd,djs55/squeezed,djs55/xcp-rrdd,simonjbeaumont/xcp-rrdd,johnelse/xcp-rrdd,koushikcgit/xcp-networkd