Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
428577df
authored
Jun 10, 2016
by
Desztics Armand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support of spice on fixed port
parent
709915f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
vm.py
+12
-0
No files found.
vm.py
View file @
428577df
...
@@ -156,6 +156,18 @@ class VMInstance:
...
@@ -156,6 +156,18 @@ class VMInstance:
# TODO: Add this as option
# TODO: Add this as option
})
})
ET
.
SubElement
(
devices
,
ET
.
SubElement
(
devices
,
'graphics'
,
attrib
=
{
'type'
:
'spice'
,
'listen'
:
'0.0.0.0'
,
'port'
:
'3001'
})
qxlvideo
=
ET
.
SubElement
(
devices
,
'video'
)
ET
.
SubElement
(
qxlvideo
,
'model'
,
attrib
=
{
'type'
:
'qxl'
})
ET
.
SubElement
(
devices
,
'input'
,
'input'
,
attrib
=
{
attrib
=
{
'type'
:
'tablet'
,
'type'
:
'tablet'
,
...
...
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