Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3a8cc70a
authored
Mar 19, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
automatically update architecture based on test driver
parent
334c461b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vmdriver.py
+2
-0
No files found.
vmdriver.py
View file @
3a8cc70a
...
@@ -169,6 +169,8 @@ def create(vm_desc):
...
@@ -169,6 +169,8 @@ def create(vm_desc):
vm
=
VMInstance
.
deserialize
(
vm_desc
)
vm
=
VMInstance
.
deserialize
(
vm_desc
)
# Setting proper hypervisor
# Setting proper hypervisor
vm
.
vm_type
=
os
.
getenv
(
"HYPERVISOR_TYPE"
,
"test"
)
vm
.
vm_type
=
os
.
getenv
(
"HYPERVISOR_TYPE"
,
"test"
)
if
vm
.
vm_type
==
"test"
:
vm
.
arch
=
"i686"
vm_xml_dump
=
vm
.
dump_xml
()
vm_xml_dump
=
vm
.
dump_xml
()
logging
.
info
(
vm_xml_dump
)
logging
.
info
(
vm_xml_dump
)
# Emulating DOMAIN_START_PAUSED FLAG behaviour on test driver
# Emulating DOMAIN_START_PAUSED FLAG behaviour on test driver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment