-
Keir Fraser authored
currently the function same_vm in block-common.sh is the one responsible for detecting if two block devices can be used at the same time by two VMs. This can be allowed in few specific cases: when the two VMs are actually the same VM and when the two VMs are the guest and its stubdomain. We need to expand these exceptions to handle properly save restore issues: this patch adds to the exceptions the case when two VMs are the same VM because of save\restore races, and when two VMs are the guest and the stubdomain of the previous guest, again during save\restore. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
1c85278c