mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
This patch renames balloon command to "set-mem", so instead of "xm
balloon", we will use "xm set-mem" (as suggested by TODO list) Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
This commit is contained in:
1 parent
084dedfee3
commit
ecfbf99a10
2 files changed
+10
-10
No files matched your search
@@ -563,9 +563,9 @@ class ProgMaxmem(Prog):
|
||||
|
||||
xm.prog(ProgMaxmem)
|
||||
|
||||
class ProgBalloon(Prog):
|
||||
class ProgSetMem(Prog):
|
||||
group = 'domain'
|
||||
name = 'balloon'
|
||||
name = 'set-mem'
|
||||
info = """Set the domain's memory footprint using the balloon driver."""
|
||||
|
||||
def help(self, args):
|
||||
@@ -579,7 +579,7 @@ MEMORY_TARGET megabytes"""
|
||||
mem_target = int_unit(args[2], 'm')
|
||||
server.xend_domain_mem_target_set(dom, mem_target)
|
||||
|
||||
xm.prog(ProgBalloon)
|
||||
xm.prog(ProgSetMem)
|
||||
|
||||
class ProgVcpuhotplug(Prog):
|
||||
group = 'domain'
|
||||
|
||||