Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2679abf4
authored
Dec 27, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qemu guest agent
parent
3fe7d076
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 @
2679abf4
...
...
@@ -166,6 +166,18 @@ class VMInstance:
attrib
=
{
'mode'
:
'bind'
,
'path'
:
'/var/lib/libvirt/serial/vio-
%
s'
%
self
.
name
})
virtio
=
ET
.
SubElement
(
devices
,
'channel'
,
attrib
=
{
'type'
:
'unix'
})
ET
.
SubElement
(
virtio
,
'target'
,
attrib
=
{
'type'
:
'virtio'
,
'name'
:
'org.qemu.guest_agent.0'
,
'state'
:
'connected'
})
ET
.
SubElement
(
virtio
,
'source'
,
attrib
=
{
'mode'
:
'bind'
,
'path'
:
'/var/lib/libvirt/qemu/f16x86_64.agent-
%
s'
%
self
.
name
})
# Console/graphics section
if
self
.
graphics
is
not
None
:
ET
.
SubElement
(
devices
,
...
...
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