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
d2275786
authored
Dec 28, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parsing int
parent
b8c9b426
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vmdriver.py
+2
-2
No files found.
vmdriver.py
View file @
d2275786
...
...
@@ -556,7 +556,7 @@ def migrate(name, host, live=False):
def
hotplug_memset
(
name
,
memory
):
"""Hotplug (live) memory set to max mem limit"""
domain
=
lookupByName
(
name
)
domain
.
setMemory
(
memory
)
domain
.
setMemory
(
int
(
memory
)
)
@celery.task
@req_connection
...
...
@@ -564,7 +564,7 @@ def hotplug_memset(name, memory):
def
hotplug_vcpuset
(
name
,
vcpu
):
"""Hotplug (live) vcpu set to max vcpu limit"""
domain
=
lookupByName
(
name
)
domain
.
setVcpus
(
vcpu
)
domain
.
setVcpus
(
int
(
vcpu
)
)
@celery.task
@req_connection
...
...
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