similar to: how xml generated

Displaying 20 results from an estimated 200 matches similar to: "how xml generated"

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日 星期四 > 收件人: "李卓瑶"
2018 Apr 26
2
Re: how xml generated
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 produce a intel device in arm64 platform? So, can i delete the ioh3420 only by
2018 Apr 26
0
Re: how xml generated
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 XML string. This string (not yet saved onto disk, still just in memory) is then passed to libvirt
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
2018 Apr 12
2
kvm-vnc question
[This email is either empty or too large to be displayed at this time]
2017 Dec 22
2
[BUG] Not exiting media forced a promptly close of libvirt 3.10
Hello, In the .xml file I use a media which is no longer available. In the past, I got the information media not available and the creation of the VM was stopped - O.k. behavior. Since 3.10 the libvirtd stopped promptly and all open consoles windows and the virt-manager closed promptly. For diagnose: etcsvms1:/kvm/CS8200/M5 # coredumpctl TIME PID UID GID SIG
2008 Jun 04
8
Accessing Params Hash form Action Mailer Model
I have used Action Mailer to collect data from a form and send it to a recipient. Rather than hard-code things like the subject, recipients, and return address into the model, I would like to include that information in hidden fields in my form thereby causing that information to be included in the params hash. My question is: How can I access that information from the params hash in the model?
2018 May 10
2
about python-libvirt
hi boys: the libvirt code in ftp://libvirt.org does get the function of python-libvirt? Or the python-libvirt is another code ? -- Have a good day
2012 Jan 24
2
how to change existing domain xml?
Hi. I'm trying to change network settings for a domain via libvirt (the driver is xenapi) with no success. According to its sources, 'virsh edit' uses virDomainGetXMLDesc(), allows to edit the received xml and then use virDomainDefineXML(). In case of xenapi driver it leads to a new vm creation (with the same name and edited settings). Looking through the list of API functions I
2013 Jun 18
2
libvirt hang on domain attemp to create domain
good day, i am trying to create domain via virDomainDefineXML. and my program hanging, also i failed to caonnect to libvirt daemon with virt-manager after this, only killing libvirtd via SIGKILL and restarting it solveing hang (i mean after restart i able to connect with virt-manager), i using following domain xml <?xml version="1.0" encoding="UTF-8"?> <domain
2013 Jun 19
3
Re: libvirt hang on domain attemp to create domain
В письме от Среда, 19-июн-2013 09:35:27 пользователь Michal Privoznik написал: > On 18.06.2013 22:21, Александр wrote: > > В письме от Вторник, 18-июн-2013 12:10:41 пользователь Michal Privoznik > > > > написал: > >> On 18.06.2013 07:14, Александр wrote: > >>> good day, i am trying to create domain via virDomainDefineXML. and my > >>> program
2013 Jun 18
2
Re: libvirt hang on domain attemp to create domain
В письме от Вторник, 18-июн-2013 12:10:41 пользователь Michal Privoznik написал: > On 18.06.2013 07:14, Александр wrote: > > good day, i am trying to create domain via virDomainDefineXML. and my > > program hanging, also i failed to caonnect to libvirt daemon with > > virt-manager after this, only killing libvirtd via SIGKILL and restarting > > it solveing hang (i mean
2016 Oct 13
3
Libvirt adds extra parameters in domain XML
Hello, In my C++ code, I generate my own domain XML file and I use virDomainCreateXML or virDomainDefineXML to launch my qemu VM. However, when I get to check which commands are sent to the qemu commandline, I find that libvirt has added so many extra parameters to the ones I have already set. How can I prevent libvirt from adding any extra parameters to the ones I originally defined in the
2013 Jun 20
2
Re: libvirt hang on domain attemp to create domain
On 20.06.2013 12:56, Alexandr wrote: > On 20.06.2013 10:44, Michal Privoznik wrote: >> On 20.06.2013 09:40, Александр wrote: >>> В письме от Четверг, 20-июн-2013 09:15:14 Вы написали: >>>> On 19.06.2013 21:24, Александр wrote: >>>>> В письме от Среда, 19-июн-2013 09:35:27 пользователь Michal Privoznik >>> написал: >>>>>> On
2010 Oct 01
1
undefining and redefining a Domain
<resending as I don't think I was in the mailing list yet when I sent first time... apologies if you receive this twice> Hello, I'm facing some strange behavior, and I hope you can provide a clarification. Consider the following code: virDomainPtr dom = virDomainLookupByName(virt, domain_name); if (dom) { printf("domain already
2013 Jul 08
2
Re: deadlock on connection loosing
On 07.07.2013 01:53, Александр wrote: > В письме от Воскресенье, 30-июн-2013 03:41:37 пользователь Александр написал: >> В письме от Вторник, 25-июн-2013 11:47:10 пользователь Michal Privoznik .... > > i have found source of problem, my code looks like this: > > int count = virConnectListAllDomains(connection, NULL, 0); > .... > domain = virDomainDefineXML(connection,
2013 Nov 12
2
Doc/web site problems
Hi all -- I have one meta-question, and two real questions. 1) What's the best place to report bugs in the docs, FAQ, web site, or wiki? I have found two -- see next points. (I'm happy to make the fixes myself if I can, but I'm pretty ignorant about libvirt. Can't fix the docs without knowing the truth.) 2) In the FAQ, under "networking is unavailable in virt-manager /
2013 Jun 30
2
Re: deadlock on connection loosing
В письме от Вторник, 25-июн-2013 11:47:10 пользователь Michal Privoznik написал: > On 24.06.2013 11:36, Александр wrote: > > libvirtd will lock if for example kill programm which established > > connection,> > > only sigkill + restart helps., to reproduce: > > virConnectPtr libvirt_connection = virConnectOpen("qemu:///system"); > >
2018 May 21
1
the version between 2.5.0 and 3.0.0
hi everyone: I found that the next version of libvirt-2.5.0 is 3.0.0 in https://gitlab.com/libvirt/libvirt/ or ftp://libvirt.org/libvirt/. Why? Is that the change between 2.5.0 and 3.0.0 is much?Then what is the change? -- Have a good day
2018 Jun 06
1
create a domain failed using virt-install
hi everyone: Sorry to bother you again! my order: virt-install --virt-type kvm -n centos -r 1024 --disk centos.img,format=qcow2,size=10 --cdrom /home/CentOS-7-aarch64-Everything.iso the failed log: qemu-kvm: -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1:MSI-X is not supported by interrupt controller. my environment: arm64 platform;centos7.5 for arm;