Edit Memory, CPU, Autostart, or Watchdog Properties

Using the Vm [name] page, Cockpit administrators can access and edit the Memory, CPU, Autostart, or Watchdog properties associated with a VM instance.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to view or edit the CPU, Memory, or Autostart properties associated with a VM instance.

  1. In the navigation pane, click Virtual machines, and then click the name of the virtual machine of interest.

    The Virtual machines [VM name] page appears.

  2. In Virtual machines [VM name] page, navigate to the Overview section and view or edit any of the following configurable properties:
    Memory To view or edit the memory allocation properties for the selected VM instance, perform the following:
    1. Click the Memory edit link.
    2. In the Memory adjustment dialog, view, or edit the memory allocation properties as needed.
    3. To save changes, click Save, and then restart the VM guest to apply the saved changes.

    Related Information:

    vCPUs To view or edit the allocated virtual CPU count for the selected VM instance, perform the following:
    1. Click the vCPU edit link.
    2. In the vCPU details dialog, view, or edit the vCPU count allocation properties as needed.
    3. To save changes, click Save, and then restart the VM guest to apply the saved changes.

    Related Information:

    CPU type To edit the CPU type property for the selected VM instance, perform the following:
    1. Click the CPU edit link.
    2. In the CPU type details dialog, set a virtual CPU mode that's compatible to the KVM host. For example:

      Host. When selected, this mode copies the model of the host CPU into the VM Guest definition. For more information, see the libvirt upstream website.

      Host-passthrough. When selected, this mode presents the VM Guest with a CPU that's the same as the host CPU.

      Custom. Select an applicable custom mode that defines a normalized CPU that can be migrated throughout dissimilar hosts in a cluster.

      Note:

      When performing a live VM migration, the CPU type must be compatible with the target KVM host.
    3. Click Save to save the changes, and then restart the VM guest to apply the saved changes. For information on how to restart the VM guest in Cockpit, see Start, Shutdown, Remove, or Interrupt a VM Instance
    Autostart To edit the Autostart property for the selected VM instance, perform the following:
    • Enable or disable the Autostart option.

      When enabled, the VM guest OS automatically starts upon starting host system.

    Watchdog

    Note:

    This feature is only functional when the KVM stack fully caters for USB redirection or PCI passthrough.

    Requirement: This option requires: 1) installation of watchdog device driver; and 2) the watchdog service enabled and started. For more information, see Configuring the Watchdog Service in the Oracle Linux 8: Managing Core System Configuration or in the Oracle Linux 9: Managing Core System Configuration.

    To specify Watchdog actions for the selected VM instance, perform the following:
    1. Click the Watchdog Add link.
    2. In the Watchdog dialog, specify the action to take if the system stops responding.
    3. Click Add.