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

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

 



On Tue, Apr 03, 2018 at 04:55:42PM +0200, Erik Skultety wrote:
> > > +    },
> > > +    {.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.

Please disregard this, I got confused by the name and created an association
with the launch-security data formatted into the domain XML which we retrieved
from the hypervisor, where in fact, this command is necessary to obtain the SEV
measurement.

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