diff options
author | David Hildenbrand <david@redhat.com> | 2023-06-23 14:45:44 +0200 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2023-07-12 09:25:06 +0200 |
commit | 99d88de6eb577ff70cc1b1ed59f1a50f16038c2e (patch) | |
tree | 58e08ebad83afe25f85d678861d37c5e9bb0df42 /docs | |
parent | 887cba855bb6ff4775256f7968409281350b568c (diff) | |
download | qemu-99d88de6eb577ff70cc1b1ed59f1a50f16038c2e.zip qemu-99d88de6eb577ff70cc1b1ed59f1a50f16038c2e.tar.gz qemu-99d88de6eb577ff70cc1b1ed59f1a50f16038c2e.tar.bz2 |
memory-device: Unify enabled vs. supported error messages
Let's unify the error messages, such that we can simply stop allocating
ms->device_memory if the size would be 0 (and there are no memory
devices ever).
The case of "not supported by the machine" should barely pop up either
way: if the machine doesn't support memory devices, it usually doesn't
call the pre_plug handler ...
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230623124553.400585-2-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions