Skip to content

Commit

Permalink
restapi: Use cpuPinningPolicy from template
Browse files Browse the repository at this point in the history
Include cpuPinningPolicy when extracting data from a VM template for
creating a VM through REST API.

Fixes #633

Change-Id: I139d3c9c00a005610eebe172272a45b3f37ace27
Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
  • Loading branch information
smelamud committed Sep 13, 2022
1 parent 41851f2 commit a17852a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public static VmStatic map(VmTemplate entity, VmStatic template, Version version
staticVm.setMultiQueuesEnabled(entity.isMultiQueuesEnabled());
staticVm.setUseHostCpuFlags(entity.isUseHostCpuFlags());
staticVm.setVirtioScsiMultiQueues(entity.getVirtioScsiMultiQueues());
staticVm.setCpuPinningPolicy(entity.getCpuPinningPolicy());
return doMapVmBaseHwPartToVmStatic(entity, staticVm, version);
}

Expand Down

0 comments on commit a17852a

Please sign in to comment.