[virt-tools-list] [virt-install PATCH v2 0/6] Introduce initial support for AMD SEV launch security

Erik Skultety eskultet at redhat.com
Thu Jun 13 07:43:43 UTC 2019


On Wed, Jun 12, 2019 at 03:43:44PM +0000, Singh, Brijesh wrote:
> Hi Erik,
>
> On 6/11/19 10:41 AM, Erik Skultety wrote:
> > * Since v1:
> > - dropped all validation checks from the parser and moved them into the
> >    DomainLaunchSecurity object, either into validate() or set_defaults()
> > - shortened the man page to contain only virt-install relevant bits with the
> >    promise that I'll use the stripped bits in a dedicated libvirt SEV docs page.
> > - dropped a couple of checks in order to let libvirt/QEMU fail and not bloat
> >    virt-install with such code
> >
> > Please give it a try if you can, I'm looking at you Brijesh ;)
>
> I will give this a try soon. Admittedly I am not familiar with
> virt-install, Do you have some instruction which I can follow to
> verify it ?

virt-install has a few mandatory arguments --name, --memory, --disk which it
will complain about if you omit them. You can have a look at my branch on
github https://github.com/eskultety/virt-manager/tree/launch-security and open
the virt-install-sev.sh script which contains the cmdline I was testing with,
the virt-install man page should have the same example for that matter, I also
put a few example invocations in there - in general, virt-install's man page
provides many example invocations for all its options.

The thing with virt-install is that it uses some handy defaults for you which
is convenient, e.g. using many virtio devices implicitly...until you need to
enable the IOMMU flag, that's why I had to explicitly add a virtio-scsi
controller in there for example.

Let us know if you'll struggle with a specific issue.

Regards,
Erik




More information about the virt-tools-list mailing list