Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example: the following metadata can be passed to enable hugepages on KVM hosts specify guest VM NUMA topology using the <numa> element in the domain XML

...

<memoryBacking>
 

...

     <hugepages/>

...

</

...

memoryBacking>

User needs to pass the following URL encoded string:

...

         %3CmemoryBacking%3E%0D%0A++%3Chugepages%2F%3E%0D%0A%3C%2FmemoryBacking%3E


Another Example: the following examples allows user to add EHCI controller to VM

...

Similar for this hypervisor, the primary configuration file of the guest VM is built by CloudStack, therefor, the additional metadata will also be parsed and append to the builder.

Example: the following metadata can passed to pass a USB controller to the guest VM:Following commands are used to convert a VM from HVM to PV;

vm-param-set HVM-boot-policy=
vm-param-set PV-bootloader=pygrub
vm-param-set

...

PV-

...

args=hvc0

User needs to pass the following URL encoded string:

vm-param-set%20other-config%3Apci%3D0%2F0000%3A00%3A1a.0-set%20PV-bootloader%3Dpygrub%0Avm-param-set%20PV-args%3Dhvc0%0Avm-param-set%20HVM-boot-policy%3D

  • VMware

Similar for this hypervisor, the primary configuration file of the guest VM is built by CloudStack, therefor, the additional metadata will also be parsed and append to the VMX file builder.

Example: the following is an example to set Hyper-V to run on ESXi

hypervisor.cpuid.v0= "FALSE" – to run Hyper-V on ESXi

User needs to pass the following URL encoded string:

...

        hypervisor.cpuid.

...

v0%3DFALSE


Admin users will be allowed to use this feature with very few restrictions, whilst normal users will be constrained to several restrictions that are controlled by the admin.

...