mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
caf88a3c88
Use the NUMA total instead of the configured size both in XML and for uses in the code once NUMA is enabled for a domain. One test case change is necessary as the rounding of the individual cell sizes was not matching the rounding of the total size.
14 lines
689 B
Plaintext
14 lines
689 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
/usr/bin/kvm -S -M pc -m 24105 -smp 32 \
|
|
-object memory-backend-ram,id=ram-node0,size=20971520,host-nodes=3,\
|
|
policy=preferred \
|
|
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
|
-object memory-backend-ram,id=ram-node1,size=676331520,host-nodes=0-7,\
|
|
policy=bind \
|
|
-numa node,nodeid=1,cpus=1-27,cpus=29,memdev=ram-node1 \
|
|
-object memory-backend-ram,id=ram-node2,size=24578621440,\
|
|
host-nodes=1-2,host-nodes=5,host-nodes=7,policy=bind \
|
|
-numa node,nodeid=2,cpus=28,cpus=30-31,memdev=ram-node2 \
|
|
-nographic -monitor unix:/tmp/test-monitor,server,nowait \
|
|
-no-acpi -boot c -usb -net none -serial none -parallel none
|