[libvirt] [PATCH go-xml] Add support for host paravirt bootloader.

Daniel P. Berrange berrange at redhat.com
Mon Nov 6 15:11:12 UTC 2017


On Sat, Nov 04, 2017 at 03:25:25PM -0500, Brandon Bergren wrote:
> ---
>  domain.go | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/domain.go b/domain.go
> index 2b749b2..f4ef35c 100644
> --- a/domain.go
> +++ b/domain.go
> @@ -791,6 +791,8 @@ type Domain struct {
>  	VCPU            *DomainVCPU          `xml:"vcpu"`
>  	VCPUs           *DomainVCPUs         `xml:"vcpus"`
>  	CPUTune         *DomainCPUTune       `xml:"cputune"`
> +	Bootloader      string               `xml:"bootloader,omitempty"`
> +	BootloaderArgs  string               `xml:"bootloader_args,omitempty"`
>  	Resource        *DomainResource      `xml:"resource"`
>  	SysInfo         *DomainSysInfo       `xml:"sysinfo"`
>  	OS              *DomainOS            `xml:"os"`

Could you add coverage in domain_test.go too ?

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




More information about the libvir-list mailing list