tests: functional tests for QMP command set-numa-node
commitc35665e1ee3d4344cd5156430ebc92310635f9bd
authorIgor Mammedov <imammedo@redhat.com>
Thu, 17 May 2018 11:30:07 +0000 (17 13:30 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 30 May 2018 16:19:14 +0000 (30 13:19 -0300)
tree43c05a7b26cfe2ef0cbdc2ca29039f45f52ece64
parentf3be67812c226162f86ce92634bd913714445420
tests: functional tests for QMP command set-numa-node

 * start QEMU with 2 unmapped cpus,
 * while in preconfig state
    * add 2 numa nodes
    * assign cpus to them
 * exit preconfig and in running state check that cpus
   are mapped correctly.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1526556607-268163-1-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/libqtest.c
tests/libqtest.h
tests/numa-test.c
tests/qmp-test.c