Commit 7d8f9902 authored by Peter Krempa's avatar Peter Krempa
Browse files

domain: Add support for 'granule' sub-element of IOMMU 'driver' element



Signed-off-by: default avatarPeter Krempa <pkrempa@redhat.com>
parent b9b2e058
Loading
Loading
Loading
Loading
+16 −9
Original line number Diff line number Diff line
@@ -2087,6 +2087,13 @@ type DomainIOMMUDriver struct {
	Passthrough    string                    `xml:"passthrough,attr,omitempty"`
	XTSup          string                    `xml:"xtsup,attr,omitempty"`
	PCIBus         uint                      `xml:"pciBus,attr,omitempty"`
	Granule        *DomainIOMMUDriverGranule `xml:"granule"`
}

type DomainIOMMUDriverGranule struct {
	Size uint   `xml:"size,attr,omitempty"`
	Unit string `xml:"unit,attr,omitempty"`
	Mode string `xml:"mode,attr,omitempty"`
}

type DomainNVRAM struct {