search for: virdomaingetxmldesc

Displaying 20 results from an estimated 29 matches for "virdomaingetxmldesc".

2010 Jul 23
0
libvir: Domain error <domName>: invalid argument in virDomainGetXMLDesc
...client machine. Now when I try to access the GUI of either of domain-0 or the user domain (by selecting the specific domain and clicking open) I get the following error message in a pop-up on my client and in the libvirtd console on the host: "libvir: Domain error xen_2: invalid argument in virDomainGetXMLDesc" I tried to Google this error, but I don't find any clear answers. It seems to be a bug in the libvirt implementation that has been detected and resolved already. And I am confused as to why is it that such a recent version is still buggy? Should I have downloded another version instead??...
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 failed to find a function like virDomainUpdateXML() that would change configuration...
2020 Mar 18
2
Re[2]: pointer to "spice" device by virNodeDeviceLookupByName
Thanks, clear! But may be is a method to get XML description for spice params, like it could be possible for physical devices?   >Среда, 18 марта 2020, 13:21 +03:00 от Daniel P. Berrangé <berrange@redhat.com>: >  >On Wed, Mar 18, 2020 at 01:10:41PM +0300, Андрей Фокин wrote: >> >> Is possible to get a pointer to «spice» by virNodeDeviceLookupByName API? >> What
2012 Jun 12
1
How to list and change domain's disk image file
...ed 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 XML to other img file 3. virDomainUndefine (domain) 4. virDomainCreateXML (changed XML) Am i correct doing this ? There is a better method ? Thanks Ricardo
2013 Feb 28
7
[PATCH 0/7] Fix SELinux security contexts so we can access shared disks (RHBZ#912499).
https://bugzilla.redhat.com/show_bug.cgi?id=912499 (especially comments 7 & 10) This patch set is the final fix so that we can access disks in use by other guests when SELinux and sVirt are enabled. Previously such disks were inaccessible because sVirt labels the disks with a random SELinux label to prevent other instances of qemu from being able to read them. So naturally the libguestfs
2009 Sep 01
15
install sxce as paravirtual guest
I have tried to define a domain or using virt-install both failed. Could some one give me the correct command to do this? I used: virt-install --nographics --paravirt --os-type=solaris --os-variant=opensolaris --ram 1024 --name cam-host --disk path=/dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0,driver=phy -l /export/media_images/sol-nv-b121-x86-dvd.iso thx, florian
2018 Feb 27
2
Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...7f726c000c30, (VM: name=6ec499397d594ef2a64fcfc938f38225, uuid=6ec49939-7d59-4ef2-a64f-cfc938f38225), info=0x7f72b9059b20 2018-02-26 13:09:13.638+0000: 50515: debug : qemuGetProcessInfo:1479 : Got status for 71205/0 user=14674 sys=3627 cpu=5 rss=105105 2018-02-26 13:09:13.644+0000: 50519: debug : virDomainGetXMLDesc:2572 : dom=0x7f7280002f20, (VM: name=6ec499397d594ef2a64fcfc938f38225, uuid=6ec49939-7d59-4ef2-a64f-cfc938f38225), flags=0x0 2018-02-26 13:09:13.653+0000: 50516: debug : virDomainUpdateDeviceFlags:8326 : dom=0x7f7274000b90, (VM: name=6ec499397d594ef2a64fcfc938f38225, uuid=6ec49939-7d59-4ef2-a64f-c...
2015 Oct 30
0
GUEST Memory statistics secret revealed ...
Hi, I'm wondering how to explain following metrics I got from libvirt, regarding memory stats for the two GUESTS running on my host. 1) virDomainGetXMLDesc() shows these values : memmax (1024000.000000) memcurrent(1024000.000000) memmax (2048000.000000) .memcurrent(2048000.000000) 2) As values returned by virDomainMemoryStats(), I got these values : VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON: active_balloon (1024000.000000) active_balloon (2048...
2015 Nov 05
0
Retrieving device state field value ...
Hi, Is there "faster" way than calling virDomainGetXMLDesc() and parsing the result to retrieve the state field ( connected or disconnected) of a channel device ? Thanks. J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4 jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/...
2016 Jan 08
1
operation forbidden Read Only Access
Hi, When issuing virDomainInterfaceAddresses() libvirt C language API, I got following error: libvirt: Domain Config error : operation forbidden: read only access prevents virDomainInterfaceAddresses How may I ask for a non-readonly connexion ? ( looks like to be RO by default) Thx for help. Regards, J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4
2020 Mar 18
0
Re: pointer to "spice" device by virNodeDeviceLookupByName
On Wed, Mar 18, 2020 at 01:25:28PM +0300, Andrey Fokin wrote: > > Thanks, clear! > But may be is a method to get XML description for spice params, like it could be possible for physical devices? virDomainGetXMLDesc() will give you the XML config for the guest. You can get specific data from this using many common XML APIs. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https...
2010 Jul 08
0
Get ip address of a running domain
Hi, I wanted to know if it is possible to get the IP address of a running domain. The domain get's this IP dynamicly via DHCP, but I need to know it once it gets it. I tired virDomainGetXMLDesc, but this only returns the MAC address... Thanks for any help. Adrian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100708/9fdad49e/attachment.htm>
2011 Aug 30
0
conflict disk error
...if dev.is_conflict_disk(conn) is True: File "/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", line 890, in is_conflict_disk xml = vm.XMLDesc(0) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 247, in XMLDesc if ret is None: raise libvirtError ('virDomainGetXMLDesc() failed', dom=self) libvirtError: Unknown failure -- command used: virt-install --nographics --paravirt --name dora --ram 2048 --file /dora.img --file-size 153 --location nfs://mydom:/distributions/redhat60/x86_64/ -x "ks=http://mydom/ks/redhat60-dora.ks ip=x.x.x.x netmask=255.255.255....
2012 Dec 07
1
Configuration file question
Where are the configuration files for libvirt and/or virsh actually stored? It seems that most of them are in /etc/libvirt but identical copies are also found in /var/lib/libvirt. In my case I am having issues with the network/default.xml file being different. Is there a reason why the config seems to be in two places at once? And which one is the 'correct' one? -David Mitchell
2015 Mar 27
1
Channel Device virConnectListAllNodeDevices
Hello, I've added a Channel Device through virt-manager GUI. virsh dumpxml shows the device as. <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/ubuntusaucy.marx'/> <target type='virtio' name='marx'/> <alias name='channel2'/> <address
2008 Mar 22
10
Xen Windows Clients - BSOD with Application Firewall Installs
I have set up both Windows XP and Windows 2000 Server clients on Xen under Centos 5.1 and am unable to install an application firewall. I have tried the latest: 1) Agnitum Outpost Commercial Version 2) Comodo Firewall (ver 2 on Windows 2000) 3) Sunbelt Commercial Version With all of these when the firewall starts up it results in a BSOD. With Windows XP and Agnitum I can go back to a previous
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
...ags ( virDomainDetachDeviceFlags ( virDomainFree ( virDomainGetConnect ( virDomainGetCPUStats( virDomainGetID ( virDomainGetInfo ( virDomainGetMaxMemory ( virDomainGetName ( virDomainGetSchedulerParameters ( virDomainGetSchedulerType ( virDomainGetUUID ( virDomainGetUUIDString ( virDomainGetVcpus ( virDomainGetXMLDesc ( virDomainInterfaceStats ( virDomainLookupByID ( virDomainLookupByName ( virDomainLookupByUUIDString ( virDomainMemoryPeek ( virDomainMigrate ( virDomainPinVcpu ( virDomainRef( virDomainSetMaxMemory ( virDomainSetMemory ( virDomainSetSchedulerParameters ( virDomainSetVcpus ( virDomainStatsRecordLi...
2010 Sep 17
3
access VMX config on esxi with virsh
Hi, Is virsh able to access the VMX config of a virtual machine running on a esxi host? I would like to take backups of my virtual machine configs and the doku section "Converting from VMware VMX config to domain XML config" (http://libvirt.org/drvesx.html) comes close to this - but does not tell how to get access to the vmx file. I would prefer a solution where ssh access to the
2020 Jan 10
5
[PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
libguestfs usually needs qemu. However it only requires an emulator for the same architecture, not for all architectures. libvirt-daemon-kvm pulls in qemu which pulls in emulators for all architectures, as well as a bunch of other stuff we don't need at all like network interface support and nwfilter. There are no Fedora TCG-only arches, so drop the conditional section. I also made support
2012 May 03
2
[PATCH 0/2] Don't fail if 'type' (disk format) attribute is missing from libvirt XML (RHBZ#701814).
https://bugzilla.redhat.com/show_bug.cgi?id=701814