Re: [PATCH v5 09/10] virsh: implement new command for launch security

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +    },
> > +    {.name = NULL}
> > +};
> > +
> > +static const vshCmdOptDef opts_launch_security[] = {
> > +    VIRSH_COMMON_OPT_DOMAIN_FULL(0),
> > +    {.name = "get",
> > +     .type = VSH_OT_STRING,
> > +     .help = N_("Show the launch-security info")
> > +    },
> > +    VIRSH_COMMON_OPT_DOMAIN_CONFIG,
> > +    VIRSH_COMMON_OPT_DOMAIN_LIVE,
> > +    VIRSH_COMMON_OPT_DOMAIN_CURRENT,
> > +    {.name = NULL}
> > +};
>
> Sorry if I missed the obvious, but what exactly is the --get <string> supposed
> to do?

Giving it another thought, why do we need the virsh part anyway, this is only
relevant for the config, aka shut off domain, so virsh edit and virsh dumpxml
will do the job of a getter and a setter just fine, the main purpose of the
virsh commands is to tune the 'live' configuration of a domain.

Erik

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux