mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-07 04:07:17 +00:00
c122aa1021
This excercises the old-style NUMA memory commandline used with 5.0 and older machine types: -smp 16,sockets=2,dies=1,clusters=1,cores=4,threads=2 \ -numa node,nodeid=0,cpus=0-7,mem=107 \ -numa node,nodeid=1,cpus=8-15,mem=107 \ in contrast to the modern syntax: -smp 16,sockets=2,dies=1,clusters=1,cores=4,threads=2 \ -object '{"qom-type":"memory-backend-ram","id":"ram-node0","size":112197632}' \ -numa node,nodeid=0,cpus=0-7,memdev=ram-node0 \ -object '{"qom-type":"memory-backend-ram","id":"ram-node1","size":112197632}' \ -numa node,nodeid=1,cpus=8-15,memdev=ram-node1 \ which is tested by the 'cpu-numa1' test case where this was copied from. This test is added so that other irrelevant test can be modernized. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>