diff options
author | Igor Mammedov <imammedo@redhat.com> | 2019-07-02 10:07:44 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-07-05 17:12:45 -0300 |
commit | b69239e085b00c8f29475421ade5295c13417ed4 (patch) | |
tree | 9c4ba28ea930d43172c8ca3adca847873cf07edb /tests/bios-tables-test.c | |
parent | f8123f2275d27c44fe523b36a039ca4739e5bbfe (diff) |
numa: allow memory-less nodes when using memdev as backend
QEMU fails to start if memory-less node is present when memdev
is used
qemu-system-x86_64 -object memory-backend-ram,id=ram0,size=128M \
-numa node -numa node,memdev=ram0
with error:
"memdev option must be specified for either all or no nodes"
which works as expected if legacy 'mem' is used.
Fix check to make memory-less nodes valid when memdev option is used
but still disallow mix of mem and memdev options.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20190702140745.27767-2-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/bios-tables-test.c')
0 files changed, 0 insertions, 0 deletions