]> git.proxmox.com Git - mirror_qemu.git/commit
numa: Make deprecation warnings conditional on !qtest_enabled()
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 2 Jul 2019 21:57:26 +0000 (18:57 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:12:45 +0000 (17:12 -0300)
commitf8123f2275d27c44fe523b36a039ca4739e5bbfe
treee7d1a090e3a5aee9e6160fd29b13e4f272d304e0
parentfd63c6d1a5f77d689ee06f6561677c012a988223
numa: Make deprecation warnings conditional on !qtest_enabled()

This will help us avoid spurious warnings during "make check".

Note that this will silence the warnings generated by
tests/numa-test, but not the ones generated by
tests/bios-tables-test.  We still need to change
tests/bios-tables-test to use "-numa ...,memdev=" to silence
these warnings.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190702215726.23661-1-ehabkost@redhat.com>
hw/core/numa.c