similar to: C code to generate domain XML

Displaying 20 results from an estimated 5000 matches similar to: "C code to generate domain XML"

2005 Dec 08
2
x86_64 kernel compilation
If I can squeeze a message between the discussions on security (:-)) I have been trying to compile a kernel on an x86_64 box under CentOS4.1 and now 4.2. The problem is that neither make xconfig or make gconfig work: make gconfig * * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 development package is correctly installed... * You need gtk+-2.0, glib-2.0 and
2012 Apr 06
2
[API reference] Are there XML-handling API to retrieve info directly from xml configure file
Hi, everyone I'm writing a application using libvirt and need to query guest os's virtual network interface usage, like bytes read or written through a given interface. I know int virDomainInterfaceStats(virDomainPtr dom, const char * path, virDomainInterfaceStatsPtr stats, size_t size) is designed for my purpose but I 'm not sure how I determine the second parameter path.
2015 Nov 02
1
Re: virDomainMemoryStats missing counters ...
Hi, Thx for answer . By using these releases , libvirt-gconfig-0.1.7-3.el7.x86_64 libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64
2011 Apr 21
7
[PATCHv11 0/6] libvirt/qemu - persistent modification of devices
Here is v11. Fixed comments/bugs and updated against the latest libvirt.git. Changes v10->v11: - fixed comments on each patches - fixed cgroup handling in patch 3. - fixed MODIFY_CURRENT handling in patch 4. most of diff comes from refactoring qemu/qemu_driver.c -- conf/domain_conf.c | 40 ++ conf/domain_conf.h | 5 libvirt_private.syms | 3 qemu/qemu_driver.c | 727
2015 Mar 27
1
答复: 答复: 答复: libvirtd can't start
Laine, you are right, some packages mixed: [root@openstack3 ~]# rpm -qa | grep '\(libvirt\|netcf\|libnl\)' | sort libnl-1.1.4-3.el7.x86_64 libnl3-3.2.21-7.el6.x86_64 libnl3-cli-3.2.21-7.el6.x86_64 libnl3-debuginfo-3.2.21-7.el6.x86_64 libnl-debuginfo-1.1.4-3.el7.x86_64 libnl-devel-1.1.4-3.el7.x86_64 libvirt-client-1.1.1-29.el7_0.3.x86_64 libvirt-daemon-1.1.1-29.el7_0.3.x86_64
2015 Dec 15
2
Slow boot when no serial pty connected
Hi everyone! It's the first time I send a message to this list, I hope it's not the last :) So my issue is that when booting a disk image generated with virt-builder [1] it takes more than 5 minutes, waiting in the boot screen that says: " Booting from disk... press any key to continue. " The press any key message shows up to 5 times. The issue is that it stays in that screen
2015 Oct 30
2
virDomainMemoryStats missing counters ...
Hi, In which libvirt version are these virDomainMemoryStats() counters handled ? VIR_DOMAIN_MEMORY_STAT_SWAP_OUT VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT VIR_DOMAIN_MEMORY_STAT_UNUSED VIR_DOMAIN_MEMORY_STAT_AVAILABLE Thanks. Regards, J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4
2020 Mar 31
2
How to perform an in-place upgrade for libvirt
Hello Experts, Is it possible to perform an in-place upgrade for libvirt. Assume, i have a CentOS 8 installation (choose server with GUI) with libvirt version 4.5.1 and i want to upgrade the libvirt to version 6.0.0, how to implement a perfect replacement for all the related files (libraries, header files, etc)? Does anybody here has the experience for this? Many Thanks! -- FuLong Wang
2015 Mar 19
1
Development of application on using the libvirt API(s)
Hi, I am developing an application that would essentially control/run VMs on a X86_64 host machine. The existing OS is 32 bit based so the application needs to be 32bit too. KVM/QEMU are 64 bit so that guests could be either be 32 or 64 bit. Does using libvirt as 32bit library on a 64bit host (capable of hosting 32 and 64 bit guests) pose any problems? Will it even work? Thanks, Parvathi
2014 Jul 30
2
problem when using qemu 2.0.0 + libvirt 1.2.6
Hi I got a problem when using qemu 2.0.0 + libvirt 1.2.6 . It just can not define a kvm vm successfully , errors like this : # virsh define 5ab4f49c-c99f-4dbd-9d7d-17a946b4c5a7.xml error: Failed to define domain from 5ab4f49c-c99f-4dbd-9d7d-17a946b4c5a7.xml error: unknown OS type hvm After several tries, i found that Qemu2.0 /qemu-kvm1.2+ libvirt1.0.2 and lower version is ok Qemu2.0
2015 Mar 26
2
答复: 答复: libvirtd can't start
Hi Martin: Actually, I have installed all the debuginfo for this coredump file. But the netcf debuginfo report "mismatch" as below: warning: the debug information found in "/usr/lib/debug/usr/lib64/libnetcf.so.1.4.0.debug" does not match "/lib64/libnetcf.so.1" (CRC mismatch). So I ignore this warning before. You can check what I did on the attachment
2012 Aug 14
1
Which functions call qemu_driver API?
Hi, Excuse me, I have watched qemu_driver.c where most of the libvirt API is overrided in order to connect qemu. But I am confused which functions then call those qemu_driver API? I mean where is the qemu_driver implementation? Libvirt.c? But how does the qemu_driver connect and control qemu? Thanks a lot! Regards, Corey -------------- next part -------------- An HTML
2015 Oct 20
1
enable aes for guest
Hi, How do I enable aes for guest VM? Host CPU supports aes (cat /proc/cpuinfo has aes in its flags and virsh capabilities also displays aes as a feature). When I add <features> <aes/> </features> to the xml file, I am unable to create the VM. It complains with the below error: virsh create /tmp/tmp.xml error: Failed to create domain from /tmp/tmp.xml error: internal error:
2015 Jun 12
2
<vcpu placement='static' current='N'>M</vcpu>
Hello. I seem to be to stupid to configure vcpu hotplugging on one of my machines. Whenever i set: <vcpu placement='static' current='4'>4</vcpu> and save this setting, this setting is undone by libvirt. It jumps back to: <vcpu placement='static'>4</vcpu> I'm confused now. Someone has an idea what's going on here? Any hints are really
2011 Feb 17
1
vanilla kernel configuration :: xconfig --> qt errors
Hi! It seems that i made some changes that make xconfig to not work .. the problem is that not matter what QTDIR i select i receive the same errors that start with : adrian at sevcenco: linux-2.6.37 $ make O=/home/adrian/kernel/kernel_out xconfig GEN /home/adrian/kernel/kernel_out/Makefile HOSTCXX scripts/kconfig/qconf.o /usr/lib64/qt4/include/Qt3Support/q3toolbar.h:45: error:
2014 Feb 10
2
Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()
Hi, We've run into a problem with libvirt 1.1.2 and are looking for some comments on whether this is a bug or design intent. We're trying to use migrateToURI() but we're using a few things (numatune, vcpu mask, etc.) that may need adjustment during the migration. We found that migrateToURI2() mostly works if we use XML created by copying the domain XML from the running instance
2006 Feb 23
3
Codec order sent wrong from Asterisk
I'm communicating a softphone (SJPhone) to a Grandstream phone GXP-2000. The codec order on each one is the next: SJPhone: GSM - iLBC - PCMA - PCMU GXP2000: G729 - GSM - PCMA - PCMU (I have a G729 license, so there's no problem with transcoding G729) In my sip.conf, I've defined the following codec order: disallow=all allow=g729 allow=gsm allow=g726 allow=alaw allow=ulaw And my
2012 Aug 16
1
Where does "cmd" initailize in qemu_command.c?
Hi, Excuse me, I have a question when I reading the libvirt source codes. I have known the process of how libvirt start/manage qemu, since I need to write a driver based on libvirt. But one thing also confused, please give me some tips. 1. In qemu_command.c, there is a function call "cmd = virCommandNewArgList(emulator, "-S", NULL);", which
2006 Jun 12
1
Ruuid had non-zero exit status (PR#8965)
> source("http://www.bioconductor.org/biocLite.R") > biocLite(c("Ruuid")) Running getBioC version 0.1.6 with R version 2.3.1 Running biocinstall version 1.8.4 with R version 2.3.1 Your version of R requires version 1.8 of Bioconductor. trying URL 'http://bioconductor.org/packages/1.8/bioc/src/contrib/Ruuid_1.10.0.tar.gz' Content type 'application/x-gzip'
2006 Apr 10
1
ICU
I've just been looking at ICU with an eye to reworking the unicode queryparser patch to use it. A few things have jumped out so far which make we wonder if it's the best option. I don't really know what the alternatives are though (currently QueryParser uses glib's unicode routines). The first is that there seems to be bad version skew. Ubuntu breezy (the latest release) has