search for: qemudomaindefinexmlflag

Displaying 5 results from an estimated 5 matches for "qemudomaindefinexmlflag".

2018 Apr 26
2
Re: how xml generated
Thanks for your reply what i want to know is that why there are many devices in $domain.xml, actully , i choose nothing in virt-manager? so, Do i need to look at qemuDomainDefineXMLFlags()? hours ago, i thought it's qemuDomainCreateWithFlags. -- Have a good day > -----原始邮件----- > 发件人: Michal Privoznik <mprivozn@redhat.com> > 发送时间: 2018年4月26日 星期四 > 收件人: "李卓瑶" <lizhuoyao@hikdata.com>, libvirt-users <libvirt-users@redhat.com> > 抄送...
2018 Apr 26
2
how xml generated
hi : i create a domain by virt-manager tool, then there is a xxx.xml generated in /etc/libvirt/qemu/. so, my question is how the xx.xml generated? What the code involves in libvirt ? Thanks! -- Have a good day
2018 Apr 26
0
Re: how xml generated
...all which generates XML string. This string (not yet saved onto disk, still just in memory) is then passed to libvirt API virDomainDefineXML() which parses it, does some sanity checking and finally formats it back and save it under /etc/libvirt/qemu/$domain.xml. Codewise, you want to be looking at qemuDomainDefineXMLFlags(). Michal
2018 Apr 26
0
Re: how xml generated
On 04/26/2018 09:50 AM, 李卓瑶 wrote: > Thanks for your reply > what i want to know is that why there are many devices in $domain.xml, actully , i choose nothing in virt-manager? > so, Do i need to look at qemuDomainDefineXMLFlags()? Because we try to have 1:1 relationship between domain XML configuration and devices as seen by guest. Even when you don't select anything in virt-manager the domain will definitely have a PCI root controller, controller for disk bus (be it sata, scsi, ide, ..), then it'll also have a...
2018 Apr 26
2
Re: how xml generated
...gyizju@163.com > 主题: Re: [libvirt-users] how xml generated > > On 04/26/2018 09:50 AM, 李卓瑶 wrote: > > Thanks for your reply > > what i want to know is that why there are many devices in $domain.xml, actully , i choose nothing in virt-manager? > > so, Do i need to look at qemuDomainDefineXMLFlags()? > > Because we try to have 1:1 relationship between domain XML configuration > and devices as seen by guest. Even when you don't select anything in > virt-manager the domain will definitely have a PCI root controller, > controller for disk bus (be it sata, scsi, ide, ..), th...