similar to: virDomainDefineXml Issue

Displaying 20 results from an estimated 800 matches similar to: "virDomainDefineXml Issue"

2007 Jul 25
6
Using R_MakeExternalPtr
Hi all, I've been writing a package and I've run into a problem that I'm unsure how to solve. I am looking to pass a C++ class object to R so that it may be passed back to another C++ function later on to be used. I'm quite new to R and this is my first time writing a package, so I hope you can bear with me. The following is how I create the class and use
2011 Jan 22
2
invalid argument error when using cache parameter
hi, i tried to add a 'cache' argument to the 'driver' element in my domainxml for qemu/kvm. i tried adding cache="none" as well as "writethrough" and "writeback", but every time i get these errors: libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/1 qemu: could not open disk image
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
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
2012 May 09
2
serial console
hi, when creating a domain using libvirt python api, how would i tell libvirt to use a unique serial port number for domains? in the?libvirt.virConnect.defineXML(conn,domainxml) call when i create the domainxml object, i need to ensure that the part below has a unique # for target port <serial type='pty'> ? <target port='0'/> </serial> <console
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
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
2015 Apr 15
2
unknown driver format value 'qcow3'
Hi All I am trying to deploy VMs using libvirt and a domainXML file where i mention the parameters for the VM to be deployed. I am using libvirt version: libvirt 0.10.2 ********** virsh # version Compiled against library: libvirt 0.10.2 Using library: libvirt 0.10.2 Using API: QEMU 0.10.2 Running hypervisor: QEMU 0.12.1 *********** I get this libvirt exception while deploying a VM. Exception
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
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 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
2006 Oct 09
1
Discussion starter for package level Connection API
Thought I'd try and start a discussion. Feel free to jump in. I guess R needs to strike the right balance between opening up the internals to package writers and not allowing them to do bad things. My first attempt at cracking this nut is to just memcpy() the Rconnection and not allow access to the private stuff: /* Alternative to allowing C code access to connection API. */ Rconnection
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,
2015 May 05
2
[PATCH 0/2] v2v: -o libvirt: Check if the domain exists on the target (RHBZ#889082).
https://bugzilla.redhat.com/show_bug.cgi?id=889082
2010 Jul 15
6
One way audio when dialing multiple registrations
Hi, I am working on calling 2 registrations of same user on 2 different ip or ports. It works fine and both phones ring simultaneously. the problem is that there is one way audio, calling party can hear me but i can't hear calling party. here is the scenario.. SIP/XYZ at 192.168.0.20:5060 SIP/XYZ at 192.168.0.10:5678 i dial using following dial string Dial(SIP/XYZ at
2016 Aug 24
1
[PATCH] v2v: Allow libvirt >= 2.1.0 to be used for Xen and vCenter conversions.
Libvirt >= 2.1.0 now allows you to open files which have a "json:" QEMU pseudo-URL as backingfile, whereas previously it would fail hard in this case (RHBZ#1134878). When virt-v2v performs conversions from Xen (over SSH) or vCenter (over HTTPS) it uses these pseudo-URLs as backingfiles. We had to tell people to use LIBGUESTFS_BACKEND=direct to avoid libvirt in this situation. This
2023 Aug 28
1
SEV, SEV-ES, SEV-SNP
When SEV is enabled in domcapabilities does that just mean any of SEV, SEV-ES, SEV-SNP is possible on the hardware? Similarly, does enabling SEV as a launchSecurity option in a domainXML mean that whichever SEV is available will be enabled? And if the guest policy has the ES flag set, it will not be created unless ES is enabled? Sorry if these questions don't make sense or are ill-formed.
2015 Oct 28
0
How to find memory utilization percent of kvm guest?
I currently use following approach but its failing Find Max memory using following API         vdgiRet = virDomainGetInfo(domPtr, infoPtr);         memTotal = infoPtr->memory; Find current utilization using following API                 rVal = virDomainMemoryStats (domPtr, memStats, VIR_DOMAIN_MEMORY_STAT_NR, 0) ;         for (i = 0; i < rVal; i++)         {             if
2011 Aug 26
1
Help!
Buddy, I am a noob in libvirt develop. When I want to create a domain by using virDomainDefineXML and displays a window on the host desktop. But when I add the line " <graphics type='sdl' display=':0.0'/>" into the config xml file, the error as below will happen. libvir: QEMU error : internal error process exited while connecting to monitor: Could not initialize
2014 Oct 30
2
[PATCH 0/2] v2v: Add --password-file parameter (RHBZ#1158526).
These patches add the --password-file parameter, allowing you to pass a single password via a file. https://bugzilla.redhat.com/show_bug.cgi?id=1158526 Rich.