diff options
author | Igor Mammedov | 2019-07-02 16:07:44 +0200 |
---|---|---|
committer | Eduardo Habkost | 2019-07-05 22:12:45 +0200 |
commit | b69239e085b00c8f29475421ade5295c13417ed4 (patch) | |
tree | 9c4ba28ea930d43172c8ca3adca847873cf07edb /hw/intc/imx_avic.c | |
parent | numa: Make deprecation warnings conditional on !qtest_enabled() (diff) | |
download | qemu-b69239e085b00c8f29475421ade5295c13417ed4.tar.gz qemu-b69239e085b00c8f29475421ade5295c13417ed4.tar.xz qemu-b69239e085b00c8f29475421ade5295c13417ed4.zip |
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 'hw/intc/imx_avic.c')
0 files changed, 0 insertions, 0 deletions