Re: [libvirt-users] how xml generated

2018-04-26 Thread lizhuoyao
ok,i would try it as your suggestion. Thanks much! -- Have a good day > -原始邮件- > 发件人: Michal Privoznik > 发送时间: 2018年4月26日 星期四 > 收件人: lizhuoyao > 抄送: libvirt-users , shengyi...@163.com > 主题: Re: [libvirt-users] how xml generated > > On 04/26/2018 10:46 AM, lizhuoyao wrote: > > oh,

Re: [libvirt-users] how xml generated

2018-04-26 Thread Michal Privoznik
On 04/26/2018 10:46 AM, lizhuoyao wrote: > oh, there is much much much code,it's too too too hard for me. > > So,can i ask more question:use virt-manager create a domain,but with a > result of "unsupported configuration:the ioh3420 controller is not supported > in this qemu".since it's arm64

Re: [libvirt-users] how xml generated

2018-04-26 Thread lizhuoyao
oh, there is much much much code,it's too too too hard for me. So,can i ask more question:use virt-manager create a domain,but with a result of "unsupported configuration:the ioh3420 controller is not supported in this qemu".since it's arm64 platform,and ioh3420 is a intel device.right?Why

Re: [libvirt-users] how xml generated

2018-04-26 Thread Michal Privoznik
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 confi

Re: [libvirt-users] how xml generated

2018-04-26 Thread 李卓瑶
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 > -原始邮件- > 发件人: Micha

Re: [libvirt-users] how xml generated

2018-04-26 Thread Michal Privoznik
On 04/26/2018 04:29 AM, 李卓瑶 wrote: > 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 ? Long story short, virt-manager invokes virt-install which generates