similar to: undefining and redefining a Domain

Displaying 20 results from an estimated 400 matches similar to: "undefining and redefining a Domain"

2010 Oct 01
0
how to programmatically undefine and redefine a Domain?
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 defined...\n"); if (virDomainUndefine(dom)) printf("...unable to undefine!!!\n"); else {
2011 Oct 24
1
renaming a domain
Hello, In my system a VM with a given domain name is defined and started. At a certain point I will define and start a new VM, with a different name. I then want to dispose of the old VM and rename the new one to the old one. Unfortunately I didn't find any API to do the last step. Is it possible to change the domain name of a running VM? Thanks, Roberto
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
2010 Oct 12
2
Fwd: undefining and redefining a Domain from libvirt java bindings
hi, i am trying to undefine a domain by using dm.undefine(); and then trying to create one with same name is giving me error saying 'Domain not found: no domain with matching uuid 'aeae9d4e-17cb-b661-a612-88ac677c28c1' i have attached my test program which reproduces the issue. please let me know where i am going wrong? configuration: libvirt : 0.6.3 Java
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
2011 Oct 08
1
HWEBayes, swapping the homozygotes genotype frequencies
I evaluated the Bayes factor in the k=2 allele case with a "triangular" prior under the null as in the example in the help file: HWETriangBF2(nvec=c(88,10,2)) [1] 0.4580336 When I swap the n11 entry and n22 entry of nvec, I received totally different Bayes factor: > > HWETriangBF2(nvec=c(2,10,88)) [1] 5.710153 > In my understanding, defining the genotype frequency as
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
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
On Fri, Jan 10, 2020 at 02:15:10PM +0000, Daniel P. Berrangé wrote: > Do you use the libvirt "secret" APIs at all (disk encryption, network > disk auth passwords) ? If so you will need "libvirt-daemon-driver-secret" > too. How about any other libvirt sub-driver APIs ? Networking ? Host > dev, etc ? The full list of APIs we use is attached, assuming I got my
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
2012 Jun 12
1
How to list and change domain's disk image file
Hi I'm writing a C program using libvirt API and need to list the storage volumes used by each domain. I'm wondering if there is a way to do this better of searching the XML strings of all domains, does anyone can suggest me something ? I also need to create a function to change the img file of a given domain. I intend to do the following: 1. virDomainGetXMLDesc (domain) 2. change the
2011 Sep 09
1
virDomainDefineXml Issue
Hello Everyone, I am facing a problem in defining the xml for domain creation using libvirt. I am using Xen hypervisor. domPtr = lib.virDomainDefineXML(conPtr, domainXML); I get the following error: "libvir: Xen Daemon error : XML error: failed to parse domain description" Any suggestions are welcome. Regards. -------------- next part -------------- An HTML attachment
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,
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
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"); > >
2009 Aug 26
2
Error starting a virtual machine
I've been playing with ovirt built from source. When I try to start my first VM, I get this error in taskomatic.log: INFO Wed Aug 26 14:33:28 -0600 2009 (12750) starting task_start_vm INFO Wed Aug 26 14:33:29 -0600 2009 (12750) VM will be started on node node94.ovirt.priv DEBUG Wed Aug 26 14:33:29 -0600 2009 (12750) Connecting volumes: DEBUG Wed Aug 26 14:33:29 -0600 2009 (12750) XML Domain
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 /
2020 Jan 27
1
Detecting of features of VMs
Hi, I was asked by Nir and Eyal of the oVirt project on how to detect whether a certain feature is supported by libvirt. As I thought it might be better to document this publically rather than being lost in a private thread I'm posting this to libvirt-users. The specific question will be answered below. --- There are currently two interfaces which allow discovery of libvirts and in turn
2015 Apr 21
3
Re: QemuDomainObjEndJob called when libvirtd is started and libvirt insists qemu is using the wrong disk source.
On 04/20/2015 05:42 PM, Laine Stump wrote: > Well, this is when the qemu process is killed (I'm pretty clever, eh? :-) > > I have 3 questions: > > 1) what version of libvirt are you running and on what distro? > > 2) can you reproduce this reliably? > > 3) If the answer to 2 is "yes", do you have the libvirt-debuginfo > package installed, and can you