Re: [libvirt-go-xml PATCH v2 2/2] Add support for SEV in domain capabilities XML

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

 



On Mon, Jun 18, 2018 at 09:06:00AM +0200, Erik Skultety wrote:
> Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> Reviewed-by: Daniel P. Berrangé

Lost my email address here.

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


> ---
>  domain_capabilities.go | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/domain_capabilities.go b/domain_capabilities.go
> index 3f5a752..0faa06a 100644
> --- a/domain_capabilities.go
> +++ b/domain_capabilities.go
> @@ -106,6 +106,7 @@ type DomainCapsFeatures struct {
>  	GIC        *DomainCapsFeatureGIC        `xml:"gic"`
>  	VMCoreInfo *DomainCapsFeatureVMCoreInfo `xml:"vmcoreinfo"`
>  	GenID      *DomainCapsFeatureGenID      `xml:"genid"`
> +	SEV        *DomainCapsFeatureSEV        `xml:"sev"`
>  }
>  
>  type DomainCapsFeatureGIC struct {
> @@ -121,6 +122,12 @@ type DomainCapsFeatureGenID struct {
>  	Supported string `xml:"supported,attr"`
>  }
>  
> +type DomainCapsFeatureSEV struct {
> +	Supported       string `xml:"supported,attr"`
> +	CBitPos         uint   `xml:"cbitpos,omitempty"`
> +	ReducedPhysBits uint   `xml:"reducedPhysBits,omitempty"`
> +}
> +
>  func (c *DomainCaps) Unmarshal(doc string) error {
>  	return xml.Unmarshal([]byte(doc), c)
>  }
> -- 
> 2.14.4
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list

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