[libvirt PATCH 3/5] vsh: setmem: Mark '--kilobytes' as deprecated

Tim Wiederhake twiederh at redhat.com
Mon Mar 22 16:10:02 UTC 2021


Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
 tools/virsh-domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 7db88f700a..32bd048d26 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -8986,6 +8986,7 @@ static const vshCmdOptDef opts_setmem[] = {
     VIRSH_COMMON_OPT_DOMAIN_FULL(0),
     {.name = "kilobytes",
      .type = VSH_OT_ALIAS,
+     .flags = VSH_OFLAG_DEPRECATED,
      .help = "size"
     },
     {.name = "size",
-- 
2.26.2




More information about the libvir-list mailing list