Skip to content

Conversation

@simonjbeaumont
Copy link
Contributor

Commit 54933c4 excluded domain zero from the is_hvm check as a special case.

This was only added to placate a test case which had not correctly used
the dom0 record for plugging a dummy VBD to dom0. In general we don't
want this commit because it breaks VM.import because it cannot get the VM record for the incoming VM from the database because, by definition it is not there yet.

This pull request reverts 54933c4 and fixes the offending test-case to get domain zero's VM record properly. Previously it was using Test_common.make_vm which created a HVM record which was then subject to PV driver checks for the VBD allowed-operations.

…her it's HVM."

This reverts commit 54933c4.

This was only added to placate a test case which had not correctly used
the dom0 record for plugging a dummy VBD to dom0. In general we don't
want this commit because it breaks VM.import.
Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
@johnelse
Copy link
Contributor

Yep looks good :shipit:

@simonjbeaumont
Copy link
Contributor Author

/cc @kc284

@euanh euanh merged commit 69d54c7 into xapi-project:master Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants