Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

Hot Plugging Virtual CPUs with Red Hat Enterprise Virtualization Manager

Updated on

Request a new translation or translation update

A translation for your language preference does not exist. Click below to request a translation for your selected language.

Submit request

Overview

CPU hot plug allows you to add virtual CPUs to a running virtual machine without having to reboot it. This can be done from the Administration Portal or the REST API.

Note: CPU hot unplug is currently not supported in Red Hat Enterprise Virtualization.

Prerequisites

Windows virtual machines must have the guest agents installed. For further detail, see the Red Hat Enterprise Virtualization Administration Guide.

The virtual machine's operating system must support CPU hot plug, and must be explicitly set in the New Virtual Machine window or the REST API.

Guest Operating System Support Matrix

Operating System Version Architecture Hot Plug Supported
Red Hat Enterprise Linux 6.3+ x86 Yes
Red Hat Enterprise Linux 7.0+ x86 Yes
Microsoft Windows Server 2003 All All No
Microsoft Windows Server 2008 All x86 No
Microsoft Windows Server 2008 Standard, Enterprise x64 No
Microsoft Windows Server 2008 Datacenter x64 Yes
Microsoft Windows Server 2008 R2 All x86 No
Microsoft Windows Server 2008 R2 Standard, Enterprise x64 No
Microsoft Windows Server 2008 R2 Datacenter x64 Yes
Microsoft Windows Server 2012 All x64 Yes
Microsoft Windows Server 2012 R2 All x64 Yes
Microsoft Windows 7 All x86 No
Microsoft Windows 7 Starter, Home, Home Premium, Professional x64 No
Microsoft Windows 7 Enterprise, Ultimate x64 Yes
Microsoft Windows 8.x All x86 Yes
Microsoft Windows 8.x All x64 Yes

Hot Plug CPUs with the Administration Portal or User Portal

  1. Select the running virtual machine to be edited.

  2. Click the Edit button to open the Edit Virtual Machine window.

  3. Select the System tab.

  4. Change the value of Virtual Sockets as required.

  5. Click OK.

Hot Plug CPUs with the REST API

Update the virtual machine resource with a PUT request. In this example, the number of sockets is changed to 2.

PUT /api/vms/{vm id} HTTP/1.1
Accept: application/xml

<vm>
  <cpu>
    <topology sockets="2" cores="1"/>
  </cpu>
</vm>

This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

Help

Site Info

Related Sites

© 2026 Red Hat