libvirt: fix incorrect host cpus giving to emulator threads when RT
Realtime guarantees in certain operating systems require that the
thread that is running the QEMU emulator is pinned to a physical CPU
that is *not* the same as any physical CPU that the vCPUs for a
realtime guest are pinned to. This patch ensures that the value of the
hw:cpu_realtime_mask flavor extraspec property is respected when
creating the libvirt configuration XML and sets emulatorpin values to
a physical CPU matching the hw:cpu_realtime_mask value.
Reviewed: https:/ /review. openstack. org/356383 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=6683bf9b7dc 575ef9516f0cdc3 95b8da1b81c233
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6683bf9b7dc575e f9516f0cdc395b8 da1b81c233
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Wed Aug 17 06:51:25 2016 -0400
libvirt: fix incorrect host cpus giving to emulator threads when RT
Realtime guarantees in certain operating systems require that the cpu_realtime_ mask flavor extraspec property is respected when realtime_ mask value.
thread that is running the QEMU emulator is pinned to a physical CPU
that is *not* the same as any physical CPU that the vCPUs for a
realtime guest are pinned to. This patch ensures that the value of the
hw:
creating the libvirt configuration XML and sets emulatorpin values to
a physical CPU matching the hw:cpu_
Change-Id: I7f50dde0753b05 9a690dc50172fee 645c94b8e5b
Closes-Bug: #1614054