This adds extra checks to the NUMA code to make sure the CPU configuration is
consistent. This needs to be applied on top of my numa patch queue:

  https://github.com/ehabkost/qemu.git numa

Changes v1 -> v2:
 * (none, v1 was tagged by accident and never sent to qemu-devel)

Changes v2 -> v3:
 * Fix off-by-one error on CPU index check
 * Use GString and error_report() instead of calling fprintf() directly
 * Simplify logic of the CPUs-not-present check

Changes v3 -> v4:
 * Patches 1-3 from v3 are now already in the numa queue (URL above)
 * Clarify error message when some CPUs are missing from the config

Eduardo Habkost (1):
  numa: Print warning if no node is assigned to a CPU

 numa.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.1.0


Reply via email to