From 0e9dfcf76a515ba9c2b6c3d215a30ce4481939eb Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 09:28:42 -0500 Subject: [PATCH 01/10] Fixed vmmemory typo in mkvm manpage --- xCAT-client/pods/man1/mkvm.1.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index aeda27df6..2b2915df9 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -54,7 +54,7 @@ Note that the B command currently only supports creating standard LPARs, n With option I, a partition using all the resources on a normal power machine will be created. -If no option is specified, a partition using the parameters specified with attributes such as 'vmcpus', 'vmmory', 'vmphyslots', 'vmothersetting', 'vmnics', 'vmstorage' will be created. Those attributes can either be specified with '*def' commands running before or be specified with this command. +If no option is specified, a partition using the parameters specified with attributes such as 'vmcpus', 'vmmemory', 'vmphyslots', 'vmothersetting', 'vmnics', 'vmstorage' will be created. Those attributes can either be specified with '*def' commands running before or be specified with this command. =head2 For KVM and VMware: From 833c5e398fca9de5c30aa1953ede2d8a9f9e8c31 Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:54:44 -0500 Subject: [PATCH 02/10] Reworded kvm/vmware descriptions in mkvm manpage --- xCAT-client/pods/man1/mkvm.1.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index 2b2915df9..67a97c156 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -58,7 +58,7 @@ If no option is specified, a partition using the parameters specified with attri =head2 For KVM and VMware: -The B command creates new virtual machine(s) with the I size of hard disk, I size of memory and I number of cpu. +The B command creates a new virtual machine with I GB of storage space, I MB of memory, and I cpu(s). =head2 For zVM: @@ -80,7 +80,7 @@ The cec (fsp) name for the destination. =item B<--cpus> -The cpu count which will be created for the kvm/vmware virtual machine. +Number of CPUs for the kvm/vmware virtual machine being created. =item B<--full> @@ -106,7 +106,7 @@ The partition name of the source. =item B<--mem> -The memory size which will be used for the new created kvm/vmware virtual machine. Unit is Megabyte. +Memory size in MB for the kvm/vmware virtual machine being created. =item B<-p> @@ -114,7 +114,7 @@ The file that contains the profiles for the source partitions. =item B<-s|--size> -The size of storage which will be created for the kvm/vmware virtual machine. +Storage size in GB for the kvm/vmware virtual machine being created. =item B<-v|--version> From bc17dd841665f14e69e6731505d534064ae884dd Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 12:28:36 -0500 Subject: [PATCH 03/10] Increased memory requested in mkvm kvm example to match minimum needed by RHEL 8.5 ppc64le --- xCAT-client/pods/man1/mkvm.1.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index 67a97c156..9eb5fff19 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -231,9 +231,9 @@ Output is similar to: gpok4: Detatching source disk (0100) at (1100) gpok4: Starting LNX3... Done -7. To create a new kvm/vmware virtual machine with 10G storage, 2048M memory and 2 cpus. +7. To create a new kvm/vmware virtual machine with 10G storage, 4096M memory and 2 cpus. - mkvm vm1 -s 10G --mem 2048 --cpus 2 + mkvm vm1 -s 10G --mem 4096 --cpus 2 8. To create a full partition on normal power machine. From 4130fafcd28de6a9423542dbe824f267e325e35f Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 13:31:39 -0500 Subject: [PATCH 04/10] Unified manpage descriptions of mkvm/chvm/lsvm --- xCAT-client/pods/man1/chvm.1.pod | 2 +- xCAT-client/pods/man1/lsvm.1.pod | 4 ++-- xCAT-client/pods/man1/mkvm.1.pod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-client/pods/man1/chvm.1.pod b/xCAT-client/pods/man1/chvm.1.pod index 52331a325..9189c7a36 100644 --- a/xCAT-client/pods/man1/chvm.1.pod +++ b/xCAT-client/pods/man1/chvm.1.pod @@ -1,6 +1,6 @@ =head1 NAME -B - Changes HMC-, DFM-, IVM-, and zVM-managed partition profiles or virtual machines. For Power 775, chvm could be used to change the octant configuration values for generating LPARs; change the I/O slots assignment to LPARs within the same CEC. +B - Changes HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partition profiles or virtual machine attributes. For Power 775, chvm could be used to change the octant configuration values for generating LPARs; change the I/O slots assignment to LPARs within the same CEC. =head1 SYNOPSIS diff --git a/xCAT-client/pods/man1/lsvm.1.pod b/xCAT-client/pods/man1/lsvm.1.pod index 9e4b272db..961cd100f 100644 --- a/xCAT-client/pods/man1/lsvm.1.pod +++ b/xCAT-client/pods/man1/lsvm.1.pod @@ -1,6 +1,6 @@ =head1 NAME -B - Lists partition profile information for HMC-, DFM-, IVM-, KVM-, VMware- and zVM-managed nodes. For Power 775, it lists the LPARs' I/O slots information and CEC configuration. +B - Lists information about HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partitions or virtual machines. For Power 775, it lists the LPARs' I/O slots information and CEC configuration. =head1 SYNOPSIS @@ -28,7 +28,7 @@ B I =head1 DESCRIPTION -The B command lists all partition profiles defined for the partitions specified in I. If I is a CEC, all the partitions associated with that CEC are displayed. +The B command lists all profiles defined for the partitions or virtual machines specified in I. If I is a CEC, all the partitions associated with that CEC are displayed. =head2 For PPC (using Direct FSP Management): diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index 9eb5fff19..d4f65ef45 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -1,6 +1,6 @@ =head1 NAME -B - Creates HMC-, DFM-, IVM-, and zVM-managed partitions or other virtual machines. +B - Creates HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partitions or virtual machines. =head1 SYNOPSIS From d04a0790a7912b99db5b5d670cb4cde5d8c0d112 Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 13:35:25 -0500 Subject: [PATCH 05/10] Increased memory requested in chvm kvm example to match minimum needed by RHEL 8.5 ppc64le --- xCAT-client/pods/man1/chvm.1.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/pods/man1/chvm.1.pod b/xCAT-client/pods/man1/chvm.1.pod index 9189c7a36..9f8d8777d 100644 --- a/xCAT-client/pods/man1/chvm.1.pod +++ b/xCAT-client/pods/man1/chvm.1.pod @@ -576,7 +576,7 @@ Note: The physical I/O resources specified with I will be appended =head2 VMware/KVM specific: - chvm vm1 -a 8,16 --mem 512 --cpus 2 + chvm vm1 -a 8,16 --mem 4096 --cpus 2 Output is similar to: From 2ead8bddc14b4118b2ecc4af06786097d2c4d122 Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 14:11:36 -0500 Subject: [PATCH 06/10] Updated mkvm kvm memory specification description and examples. --- xCAT-client/pods/man1/mkvm.1.pod | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index d4f65ef45..f5c287c26 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -106,7 +106,8 @@ The partition name of the source. =item B<--mem> -Memory size in MB for the kvm/vmware virtual machine being created. +Memory size for the kvm/vmware virtual machine being created. Specify units in MB +or append K (4194304K) for KB, M (4096M) for MB, or G (4G) for GB. =item B<-p> @@ -231,10 +232,22 @@ Output is similar to: gpok4: Detatching source disk (0100) at (1100) gpok4: Starting LNX3... Done -7. To create a new kvm/vmware virtual machine with 10G storage, 4096M memory and 2 cpus. +7. To create a new kvm/vmware virtual machine with 10G storage, 4096M memory, and 2 cpus. mkvm vm1 -s 10G --mem 4096 --cpus 2 +or + + mkvm vm1 -s 10G --mem 4194304K --cpus 2 + +or + + mkvm vm1 -s 10G --mem 4096M --cpus 2 + +or + + mkvm vm1 -s 10G --mem 4G --cpus 2 + 8. To create a full partition on normal power machine. First, define a node object: From 0f6ba286ce9809697ad747133a98a6580c58d5ef Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Fri, 28 Jan 2022 15:22:11 -0500 Subject: [PATCH 07/10] Fixed some spelling errors in chvm and mkvm documentation --- xCAT-client/pods/man1/chvm.1.pod | 4 ++-- xCAT-client/pods/man1/mkvm.1.pod | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-client/pods/man1/chvm.1.pod b/xCAT-client/pods/man1/chvm.1.pod index 9f8d8777d..d7d5ee6f6 100644 --- a/xCAT-client/pods/man1/chvm.1.pod +++ b/xCAT-client/pods/man1/chvm.1.pod @@ -387,7 +387,7 @@ Removes a processor from an active virtual machine's configuration. =item B<--removeloaddev> I I -Removes the LOADDEV statement from a virtual machines's directory entry. +Removes the LOADDEV statement from a virtual machine's directory entry. =item B<--removezfcp> I I I @@ -515,7 +515,7 @@ then run the command: cat /tmp/lparfile | chvm lpar4 --p775 -5. To change the I/O slot profile for lpar1-lpar8 using the configuration data in the file /tmp/lparfile. Users can use the output of lsvm.and remove the cec information, and modify the lpar id before each I/O, and run the command as following: +5. To change the I/O slot profile for lpar1-lpar8 using the configuration data in the file /tmp/lparfile. Users can use the output of lsvm, remove the cec information, modify the lpar id before each I/O, and run the command as following: chvm lpar1-lpar8 --p775 -p /tmp/lparfile diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index f5c287c26..93fe16529 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -297,7 +297,7 @@ After a node object is defined, the resources that will be used for the partitio chdef lpar1 vmcpus=1/4/16 vmmemory=1G/4G/32G vmphyslots=0x21010201,0x21010200 vmothersetting=bsr:128,hugepage:2 -Then, create the partion on the specified cec. +Then, create the partition on the specified cec. mkvm lpar1 @@ -305,7 +305,7 @@ Option 2: mkvm lpar1 vmcpus=1/4/16 vmmemory=1G/4G/32G vmphyslots=0x21010201,0x21010200 vmothersetting=bsr:128,hugepage:2 -The outout is similar to: +The output is similar to: lpar1: Done From 7acf82280ee51c455ee228249c8c4afb6b8f8dd2 Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Mon, 31 Jan 2022 10:37:41 -0500 Subject: [PATCH 08/10] Added additional detail to mkvm kvm storage documentation --- xCAT-client/pods/man1/mkvm.1.pod | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index 93fe16529..238e4426e 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -106,8 +106,7 @@ The partition name of the source. =item B<--mem> -Memory size for the kvm/vmware virtual machine being created. Specify units in MB -or append K (4194304K) for KB, M (4096M) for MB, or G (4G) for GB. +Memory size for the kvm/vmware virtual machine being created. Specify units in MB (default) or append K for KB, M for MB, or G for GB. =item B<-p> @@ -115,7 +114,7 @@ The file that contains the profiles for the source partitions. =item B<-s|--size> -Storage size in GB for the kvm/vmware virtual machine being created. +Storage size for the kvm/vmware virtual machine being created. Specify units in GB (default) or append K for KB, M for MB, G for GB. =item B<-v|--version> @@ -232,21 +231,21 @@ Output is similar to: gpok4: Detatching source disk (0100) at (1100) gpok4: Starting LNX3... Done -7. To create a new kvm/vmware virtual machine with 10G storage, 4096M memory, and 2 cpus. +7. To create a new kvm/vmware virtual machine with 20 GB of storage, 4096 MB of memory, and 2 cpus. - mkvm vm1 -s 10G --mem 4096 --cpus 2 + mkvm vm1 -s 20 --mem 4096 --cpus 2 or - mkvm vm1 -s 10G --mem 4194304K --cpus 2 + mkvm vm1 -s 20G --mem 4194304K --cpus 2 or - mkvm vm1 -s 10G --mem 4096M --cpus 2 + mkvm vm1 -s 20480M --mem 4096M --cpus 2 or - mkvm vm1 -s 10G --mem 4G --cpus 2 + mkvm vm1 -s 20971520K --mem 4G --cpus 2 8. To create a full partition on normal power machine. From f185cb97f1ac1ddc9e00d15b05f7c8157d8a2ebe Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Tue, 1 Feb 2022 14:32:54 -0500 Subject: [PATCH 09/10] Unified phrasing in chvm and mkvm kvm memory option descriptions. --- xCAT-client/pods/man1/chvm.1.pod | 2 +- xCAT-client/pods/man1/mkvm.1.pod | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-client/pods/man1/chvm.1.pod b/xCAT-client/pods/man1/chvm.1.pod index d7d5ee6f6..85028fe26 100644 --- a/xCAT-client/pods/man1/chvm.1.pod +++ b/xCAT-client/pods/man1/chvm.1.pod @@ -240,7 +240,7 @@ Deregister the Hard disk but leave the backing files. Multiple can be done with =item B<--mem> I -Set the memory, defaults to MB. +Set the memory size for kvm/vmware virtual machines, default unit is MB. Specify in MB or append K for KB, M for MB, or G for GB. =item B<-p> I diff --git a/xCAT-client/pods/man1/mkvm.1.pod b/xCAT-client/pods/man1/mkvm.1.pod index 238e4426e..27598067e 100644 --- a/xCAT-client/pods/man1/mkvm.1.pod +++ b/xCAT-client/pods/man1/mkvm.1.pod @@ -106,7 +106,7 @@ The partition name of the source. =item B<--mem> -Memory size for the kvm/vmware virtual machine being created. Specify units in MB (default) or append K for KB, M for MB, or G for GB. +Set the memory size for kvm/vmware virtual machines, default unit is MB. Specify in MB or append K for KB, M for MB, or G for GB. =item B<-p> @@ -114,7 +114,7 @@ The file that contains the profiles for the source partitions. =item B<-s|--size> -Storage size for the kvm/vmware virtual machine being created. Specify units in GB (default) or append K for KB, M for MB, G for GB. +Set the storage size for kvm/vmware virtual machines, default unit is GB. Specify in GB or append K for KB, M for MB, G for GB. =item B<-v|--version> From 6e27daca0d05f2e4f702b7f51dc05e60a6e0e0da Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Tue, 1 Feb 2022 14:43:10 -0500 Subject: [PATCH 10/10] Updated rst files for chvm, lsvm, mkvm. --- .../admin-guides/references/man1/chvm.1.rst | 10 ++--- .../admin-guides/references/man1/lsvm.1.rst | 4 +- .../admin-guides/references/man1/mkvm.1.rst | 44 ++++++++++++++----- 3 files changed, 41 insertions(+), 17 deletions(-) diff --git a/docs/source/guides/admin-guides/references/man1/chvm.1.rst b/docs/source/guides/admin-guides/references/man1/chvm.1.rst index dc8268623..71cbb7d55 100644 --- a/docs/source/guides/admin-guides/references/man1/chvm.1.rst +++ b/docs/source/guides/admin-guides/references/man1/chvm.1.rst @@ -11,7 +11,7 @@ NAME **** -\ **chvm**\ - Changes HMC-, DFM-, IVM-, and zVM-managed partition profiles or virtual machines. For Power 775, chvm could be used to change the octant configuration values for generating LPARs; change the I/O slots assignment to LPARs within the same CEC. +\ **chvm**\ - Changes HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partition profiles or virtual machine attributes. For Power 775, chvm could be used to change the octant configuration values for generating LPARs; change the I/O slots assignment to LPARs within the same CEC. ******** @@ -324,7 +324,7 @@ VMware/KVM specific: \ **-**\ **-mem**\ \ *memory*\ - Set the memory, defaults to MB. + Set the memory size for kvm/vmware virtual machines, default unit is MB. Specify in MB or append K for KB, M for MB, or G for GB. @@ -527,7 +527,7 @@ zVM specific: \ **-**\ **-removeloaddev**\ \ *wwpn*\ \ *lun*\ - Removes the LOADDEV statement from a virtual machines's directory entry. + Removes the LOADDEV statement from a virtual machine's directory entry. @@ -749,7 +749,7 @@ then run the command: cat /tmp/lparfile | chvm lpar4 --p775 -5. To change the I/O slot profile for lpar1-lpar8 using the configuration data in the file /tmp/lparfile. Users can use the output of lsvm.and remove the cec information, and modify the lpar id before each I/O, and run the command as following: +5. To change the I/O slot profile for lpar1-lpar8 using the configuration data in the file /tmp/lparfile. Users can use the output of lsvm, remove the cec information, modify the lpar id before each I/O, and run the command as following: .. code-block:: perl @@ -848,7 +848,7 @@ VMware/KVM specific: .. code-block:: perl - chvm vm1 -a 8,16 --mem 512 --cpus 2 + chvm vm1 -a 8,16 --mem 4096 --cpus 2 Output is similar to: diff --git a/docs/source/guides/admin-guides/references/man1/lsvm.1.rst b/docs/source/guides/admin-guides/references/man1/lsvm.1.rst index 12cd9662d..d1f93eabf 100644 --- a/docs/source/guides/admin-guides/references/man1/lsvm.1.rst +++ b/docs/source/guides/admin-guides/references/man1/lsvm.1.rst @@ -11,7 +11,7 @@ NAME **** -\ **lsvm**\ - Lists partition profile information for HMC-, DFM-, IVM-, KVM-, VMware- and zVM-managed nodes. For Power 775, it lists the LPARs' I/O slots information and CEC configuration. +\ **lsvm**\ - Lists information about HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partitions or virtual machines. For Power 775, it lists the LPARs' I/O slots information and CEC configuration. ******** @@ -56,7 +56,7 @@ DESCRIPTION *********** -The \ **lsvm**\ command lists all partition profiles defined for the partitions specified in \ *noderange*\ . If \ *noderange*\ is a CEC, all the partitions associated with that CEC are displayed. +The \ **lsvm**\ command lists all profiles defined for the partitions or virtual machines specified in \ *noderange*\ . If \ *noderange*\ is a CEC, all the partitions associated with that CEC are displayed. For PPC (using Direct FSP Management): ====================================== diff --git a/docs/source/guides/admin-guides/references/man1/mkvm.1.rst b/docs/source/guides/admin-guides/references/man1/mkvm.1.rst index effaaa109..25cbab798 100644 --- a/docs/source/guides/admin-guides/references/man1/mkvm.1.rst +++ b/docs/source/guides/admin-guides/references/man1/mkvm.1.rst @@ -11,7 +11,7 @@ NAME **** -\ **mkvm**\ - Creates HMC-, DFM-, IVM-, and zVM-managed partitions or other virtual machines. +\ **mkvm**\ - Creates HMC-, DFM-, IVM-, KVM-, VMware-, and zVM-managed partitions or virtual machines. ******** @@ -96,14 +96,14 @@ For PPC (using Direct FSP Management) specific: With option \ *full*\ , a partition using all the resources on a normal power machine will be created. -If no option is specified, a partition using the parameters specified with attributes such as 'vmcpus', 'vmmory', 'vmphyslots', 'vmothersetting', 'vmnics', 'vmstorage' will be created. Those attributes can either be specified with '\*def' commands running before or be specified with this command. +If no option is specified, a partition using the parameters specified with attributes such as 'vmcpus', 'vmmemory', 'vmphyslots', 'vmothersetting', 'vmnics', 'vmstorage' will be created. Those attributes can either be specified with '\*def' commands running before or be specified with this command. For KVM and VMware: =================== -The \ **mkvm**\ command creates new virtual machine(s) with the \ *disksize*\ size of hard disk, \ *memsize*\ size of memory and \ *cpucount*\ number of cpu. +The \ **mkvm**\ command creates a new virtual machine with \ *disksize*\ GB of storage space, \ *memsize*\ MB of memory, and \ *cpucount*\ cpu(s). For zVM: @@ -136,7 +136,7 @@ OPTIONS \ **-**\ **-cpus**\ - The cpu count which will be created for the kvm/vmware virtual machine. + Number of CPUs for the kvm/vmware virtual machine being created. @@ -174,7 +174,7 @@ OPTIONS \ **-**\ **-mem**\ - The memory size which will be used for the new created kvm/vmware virtual machine. Unit is Megabyte. + Set the memory size for kvm/vmware virtual machines, default unit is MB. Specify in MB or append K for KB, M for MB, or G for GB. @@ -186,7 +186,7 @@ OPTIONS \ **-s|-**\ **-size**\ - The size of storage which will be created for the kvm/vmware virtual machine. + Set the storage size for kvm/vmware virtual machines, default unit is GB. Specify in GB or append K for KB, M for MB, G for GB. @@ -374,12 +374,36 @@ Output is similar to: gpok4: Starting LNX3... Done -7. To create a new kvm/vmware virtual machine with 10G storage, 2048M memory and 2 cpus. +7. To create a new kvm/vmware virtual machine with 20 GB of storage, 4096 MB of memory, and 2 cpus. .. code-block:: perl - mkvm vm1 -s 10G --mem 2048 --cpus 2 + mkvm vm1 -s 20 --mem 4096 --cpus 2 + + +or + + +.. code-block:: perl + + mkvm vm1 -s 20G --mem 4194304K --cpus 2 + + +or + + +.. code-block:: perl + + mkvm vm1 -s 20480M --mem 4096M --cpus 2 + + +or + + +.. code-block:: perl + + mkvm vm1 -s 20971520K --mem 4G --cpus 2 8. To create a full partition on normal power machine. @@ -454,7 +478,7 @@ After a node object is defined, the resources that will be used for the partitio chdef lpar1 vmcpus=1/4/16 vmmemory=1G/4G/32G vmphyslots=0x21010201,0x21010200 vmothersetting=bsr:128,hugepage:2 -Then, create the partion on the specified cec. +Then, create the partition on the specified cec. .. code-block:: perl @@ -470,7 +494,7 @@ Option 2: mkvm lpar1 vmcpus=1/4/16 vmmemory=1G/4G/32G vmphyslots=0x21010201,0x21010200 vmothersetting=bsr:128,hugepage:2 -The outout is similar to: +The output is similar to: .. code-block:: perl