// Module included in the following assemblies:
//
// * virt/managing_vms/cpu_models/virt-schedule-vms.adoc

:_mod-docs-content-type: PROCEDURE
[id="virt-schedule-cpu-host-model-vms_{context}"]
= Scheduling virtual machines with the host model

[role="_abstract"]
When the CPU model for a virtual machine (VM) is set to `host-model`, the VM inherits the CPU model of the node where it is scheduled.

.Procedure

* Edit the `domain` spec of your VM configuration file. The following example shows `host-model` being specified for the virtual machine:
+
[source,yaml]
----
apiVersion: kubevirt/v1alpha3
kind: VirtualMachine
metadata:
  name: myvm
spec:
  template:
    spec:
      domain:
        cpu:
          model: host-model
----
** `spec.template.spec.domain.cpu.model` defines the VM that inherits the CPU model of the node where it is scheduled.
