My First Post
This is a code test
| |
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
import "libvirt.org/go/libvirtxml"
func addVSock(domain *libvirtxml.Domain) {
domain.Devices.VSock = &libvirtxml.DomainVSock{
Model: "virtio",
CID: &libvirtxml.DomainVSockCID{
Auto: "yes",
},
}
}
and let’s also try some XML
<vsock model='virtio'>
<cid auto='yes'/>
</vsock>
This is a test
- enum #1
- enum #2
- enum #3