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
c0bfc619
authored
Sep 20, 2023
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cache unit
parent
f95aa746
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
vm.py
+1
-1
No files found.
vm.py
View file @
c0bfc619
...
@@ -269,7 +269,7 @@ class VMDisk:
...
@@ -269,7 +269,7 @@ class VMDisk:
'cache'
:
self
.
driver_cache
})
'cache'
:
self
.
driver_cache
})
metadata_cache
=
ET
.
SubElement
(
driver
,
'metadata_cache'
)
metadata_cache
=
ET
.
SubElement
(
driver
,
'metadata_cache'
)
ET
.
SubElement
(
metadata_cache
,
'max_size'
,
ET
.
SubElement
(
metadata_cache
,
'max_size'
,
attrib
=
{
'unit'
:
'
bytes
'
})
.
text
=
str
(
self
.
cache_size
)
attrib
=
{
'unit'
:
'
KB
'
})
.
text
=
str
(
self
.
cache_size
)
return
xml_top
return
xml_top
def
dump_xml
(
self
):
def
dump_xml
(
self
):
...
...
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