diff options
Diffstat (limited to 'libvirt/domain_def.go')
-rw-r--r-- | libvirt/domain_def.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvirt/domain_def.go b/libvirt/domain_def.go index 56424722..a4661bc2 100644 --- a/libvirt/domain_def.go +++ b/libvirt/domain_def.go @@ -50,6 +50,9 @@ type defDomain struct { XMLName xml.Name `xml:"qemu:commandline"` Cmd []defCmd `xml:"qemu:arg"` } + Cpu struct { + Mode string `xml:"mode,attr,omitempty"` + } `xml:"cpu,omitempty"` } type defGraphics struct { |