]> xenbits.xensource.com Git - xen.git/commit
xen: Fix determining when domain creation is complete
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Dec 2016 18:28:40 +0000 (18:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 13 Dec 2016 09:58:33 +0000 (09:58 +0000)
commit9d71e02e8420b5d4a48d92446a1edbff498ee1c6
tree58ac5f98e42c534d6dd4f34a33bf3c5b50d3c353
parent451c9938c68ccb77ff94765f7ac47e8de51d3f43
xen: Fix determining when domain creation is complete

d->creation_finished is used in several places alter behaviour depending on
whether the domain is being created, or is already running.

However, there is a latent bug if a toolstack component makes a pair of
pause/unpause calls, where creation will be considered finished prematurely.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Paul Durrant <paul.durrant@citrix.com>
xen/common/domain.c