Re: [libvirt-go-xml PATCH 1/2] Add support for domain launch security

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

 



On Thu, Jun 14, 2018 at 04:30:29PM +0200, Erik Skultety wrote:
> Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> ---
>  domain.go | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 134 insertions(+), 1 deletion(-)
> 
> diff --git a/domain.go b/domain.go
> index aeeb24a..27e2fdc 100644
> --- a/domain.go
> +++ b/domain.go
> @@ -1863,6 +1863,15 @@ type DomainFeatureCapability struct {
>  	State string `xml:"state,attr,omitempty"`
>  }
>  
> +type DomainLaunchSecurity struct {
> +	Sectype         string `xml:"type,attr"`
> +	Cbitpos         *uint  `xml:"cbitpos"`

s/Cbitpos/CBitPos/

> +	ReducedPhysBits *uint  `xml:"reducedPhysBits"`
> +	Policy          *uint  `xml:"policy"`
> +	DhCert          string `xml:"dhCert"`

s/DhCert/DHCert/  since 'dh' is an acronym

> +	Session         string `xml:"sesion"`
> +}
> +
>  type DomainFeatureCapabilities struct {
>  	Policy         string                   `xml:"policy,attr,omitempty"`
>  	AuditControl   *DomainFeatureCapability `xml:"audit_control"`
> @@ -2182,7 +2191,8 @@ type Domain struct {
>  	QEMUCommandline      *DomainQEMUCommandline
>  	LXCNamespace         *DomainLXCNamespace
>  	VMWareDataCenterPath *DomainVMWareDataCenterPath
> -	KeyWrap              *DomainKeyWrap `xml:"keywrap"`
> +	KeyWrap              *DomainKeyWrap        `xml:"keywrap"`
> +	LaunchSecurity       *DomainLaunchSecurity `xml:"launchSecurity"`
>  }
>  
>  func (d *Domain) Unmarshal(doc string) error {


Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
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