summary refs log tree commit diff stats
path: root/python/qemu/utils/qom_common.py
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2023-09-12 17:55:53 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-21 11:31:18 +0300
commit306764ee3bfd312a17af1b69e5a263a2fe6e76cb (patch)
tree97ea5e24ba96d743793fe791a5890c16a1cf9700 /python/qemu/utils/qom_common.py
parent590102e7c17288a95776e6c1ff99929479562f32 (diff)
downloadfocaccia-qemu-306764ee3bfd312a17af1b69e5a263a2fe6e76cb.tar.gz
focaccia-qemu-306764ee3bfd312a17af1b69e5a263a2fe6e76cb.zip
hw/i386/pc: fix code comment on cumulative flash size
- The comment is incorrectly indented / formatted.

- The comment states a 8MB limit, even though the code enforces a 16MB
  limit.

Both of these warts come from commit 0657c657eb37 ("hw/i386/pc: add max
combined fw size as machine configuration option", 2020-12-09); clean them
up.

Arguably, it's also better to be consistent with the binary units (such as
"MiB") that QEMU uses nowadays.

Cc: "Michael S. Tsirkin" <mst@redhat.com> (supporter:PC)
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> (supporter:PC)
Cc: Paolo Bonzini <pbonzini@redhat.com> (maintainer:X86 TCG CPUs)
Cc: Richard Henderson <richard.henderson@linaro.org> (maintainer:X86 TCG CPUs)
Cc: Eduardo Habkost <eduardo@habkost.net> (maintainer:X86 TCG CPUs)
Cc: qemu-trivial@nongnu.org
Fixes: 0657c657eb37
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'python/qemu/utils/qom_common.py')
0 files changed, 0 insertions, 0 deletions