all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server] qm: list: correct size unit in header
@ 2026-11-03 12:44 Maximiliano Sandoval
  2026-11-09  9:22 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2026-11-03 12:44 UTC (permalink / raw)
  To: pve-devel

The MEM value (indirectly) matches the `memory` field in the VM's configuration
which is in MiB.

The units for the boot disk size can be checked with qemu-img info.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 src/PVE/CLI/qm.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/CLI/qm.pm b/src/PVE/CLI/qm.pm
index b903c1f1..2fb43246 100755
--- a/src/PVE/CLI/qm.pm
+++ b/src/PVE/CLI/qm.pm
@@ -1343,7 +1343,7 @@ our $cmddef = {
             exit 0 if (!scalar(@$vmlist));
 
             printf "%10s %-20s %-10s %-10s %12s %-10s\n",
-                qw(VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID);
+                qw(VMID NAME STATUS MEM(MiB) BOOTDISK(GiB) PID);
 
             foreach my $rec (sort { $a->{vmid} <=> $b->{vmid} } @$vmlist) {
                 printf "%10s %-20s %-10s %-10s %12.2f %-10s\n", $rec->{vmid}, $rec->{name},
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* applied: [PATCH qemu-server] qm: list: correct size unit in header
  2026-11-03 12:44 [PATCH qemu-server] qm: list: correct size unit in header Maximiliano Sandoval
@ 2026-11-09  9:22 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-11-09  9:22 UTC (permalink / raw)
  To: pve-devel, Maximiliano Sandoval

On Tue, 03 Nov 2026 13:44:13 +0100, Maximiliano Sandoval wrote:
> The MEM value (indirectly) matches the `memory` field in the VM's configuration
> which is in MiB.
> 
> The units for the boot disk size can be checked with qemu-img info.

Applied, thanks!

[1/1] qm: list: correct size unit in header
      https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=530b95c630316d76f06c74f9c2488b76aee194fc




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-09  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03 12:44 [PATCH qemu-server] qm: list: correct size unit in header Maximiliano Sandoval
2026-11-09  9:22 ` applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal