AutoPort should be all lowercase for xml
The AutoPort param on Graphics struct must be all lowercase letter for
libvirt's xml, see
If use AutoPort param, it will be a bug, so fix it now before use it.
@@ -974,7 +974,7 @@ type VideoModel struct {
}
type Graphics struct {
- AutoPort string `xml:"autoPort,attr,omitempty"`
+ AutoPort string `xml:"autoport,attr,omitempty"`
DefaultMode string `xml:"defaultMode,attr,omitempty"`
Listen *GraphicsListen `xml:"listen,omitempty"`
PasswdValidTo string `xml:"passwdValidTo,attr,omitempty"`
