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

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

 



On Thu, Jun 14, 2018 at 04:30:30PM +0200, Erik Skultety wrote:
> Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> ---
>  domain_capabilities.go | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/domain_capabilities.go b/domain_capabilities.go
> index 3f5a752..4844fd9 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"`

s/Cbitpos/CBitPos/

> +	ReducedPhysBits uint   `xml:"reducedPhysBits,omitempty"`
> +}
> +

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