parent
07da0fa0ee
commit
e4c089f70e
15
xml.go
15
xml.go
|
@ -511,6 +511,21 @@ func dumpNonStandardXML(domcfg *libvirtxml.Domain) {
|
|||
domcfg.Devices.RedirDevs = nil
|
||||
}
|
||||
|
||||
var normalRNGs bool = true
|
||||
if domcfg.Devices.RNGs != nil {
|
||||
for _, rng := range domcfg.Devices.RNGs {
|
||||
if rng.Model == "virtio" {
|
||||
// nothing to do for this
|
||||
} else {
|
||||
fmt.Printf("? RNGs: %+v\n", rng)
|
||||
normalRNGs = false
|
||||
}
|
||||
}
|
||||
}
|
||||
if normalRNGs {
|
||||
domcfg.Devices.RNGs = nil
|
||||
}
|
||||
|
||||
// this is probably for spice to have keyboard and mouse input
|
||||
var normalVideo bool = true
|
||||
if domcfg.Devices.Videos != nil {
|
||||
|
|
Loading…
Reference in New Issue