search for: domain_conf

Displaying 16 results from an estimated 16 matches for "domain_conf".

2010 Aug 20
0
libvirt support spice protocol
...39;5903' tlsPort='5904' listen='127.0.0.1'/> This is the bare minimum that should be exposed in the guest config for SPICE. Other parameters are better handled as per host level configuration tunables * docs/schemas/domain.rng: Define the SPICE <graphics> schema * src/domain_conf.h, src/domain_conf.c: Add parsing and formatting for SPICE graphics config * src/qemu_conf.c: Complain about unsupported graphics types --- docs/schemas/domain.rng | 30 +++++++++++++++++++++ src/conf/domain_conf.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++- src/conf/domain_conf.h |...
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 +++++++++++++++++++++++++++++++-------------------- 4 files changed, 500 insertions(+), 275 deletions(-) Thanks, -Kame
2015 Nov 04
0
xen/libvirt freeze while attching network-device to vm´s
...d80edd30) at ../nptl/pthread_mutex_lock.c:79 #3 0x00007f793b09cd0c in virMutexLock (m=0x7f78d80edd30) at util/virthread.c:89 #4 0x00007f793b07d831 in virObjectLock (anyobj=0x7f78d80edd20) at util/virobject.c:323 #5 0x00007f793b0b71d7 in virDomainObjListFindByID (doms=0x7f78d80edd20, id=1) at conf/domain_conf.c:1237 #6 0x00007f78fe3f7eb3 in libxlDomainEventHandler (data=0x7f78d81ce940, event=0x7f793c30c2e0) at libxl/libxl_domain.c:534 #7 0x00007f793806f7c0 in egc_run_callbacks (egc=egc@entry=0x7ffdb79c7490) at libxl_event.c:1405 #8 0x00007f793806fb9d in libxl__egc_cleanup (egc=0x7ffdb79c7490) at libxl_...
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
2014 Feb 10
2
Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()
...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 and modifying the appropriate sections. The problem that we're seeing is that the serial console checking in libvirt/src/conf/domain_conf.c::virDomainDefCheckABIStability() is failing even though we haven't touched the serial console XML: 2014-02-10 19:41:07.196 1264 ERROR nova.virt.libvirt.driver [-] [instance: 42a841a8-034f-4565-937e-adb396a2ec48] Live Migration failure: unsupported configuration: Target domain console coun...
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
2014 Feb 11
0
Re: Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()
...ent during the migration. We found that > migrateToURI2() mostly works if we use XML created by copying the domain XML > from the running instance and modifying the appropriate sections. > > The problem that we're seeing is that the serial console checking in > libvirt/src/conf/domain_conf.c::virDomainDefCheckABIStability() is failing > even though we haven't touched the serial console XML: > > 2014-02-10 19:41:07.196 1264 ERROR nova.virt.libvirt.driver [-] [instance: > 42a841a8-034f-4565-937e-adb396a2ec48] Live Migration failure: unsupported > configuration: Targ...
2014 Jul 30
0
Re: problem when using qemu 2.0.0 + libvirt 1.2.6
...valid. Then again, I have <os> <type arch='i686' machine='pc-i440fx-1.5'>hvm</type> in a guest that is booting just fine for me on Fedora 20 with qemu 2.0 and libvirt 1.2.7-rc1. In upstream libvirt.git, that error message is only possible from this code in domain_conf.c: if (!virCapabilitiesSupportsGuestOSType(caps, def->os.type)) { virReportError(VIR_ERR_OS_TYPE, "%s", def->os.type); but I'm not sure why that function would be failing, unless your qemu binary is not reporting features correctly. -- Eric...
2015 Mar 19
1
C code to generate domain XML
Hi, Are there any C code (in libvirt) to generate domain XML like the one we supply to virsh? Thanks!
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
2013 Dec 11
2
internal error: unexcepted domain type lxc, excepted one of these: qemu, kqemu, kvm, xen
...: FS: yes configure: NetFS: yes configure: LVM: yes configure: iSCSI: no configure: SCSI: yes configure: mpath: yes configure: Disk: yes configure: RBD: no configure: Sheepdog: no configure: Gluster: no Do you have any idea why it does not work anymore? I don't see any new changes in src/conf/domain_conf.c where the error is thrown (line 10960) on current git HEAD... Florian
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
2014 Feb 12
2
Re: Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()
...ation. We found that >> migrateToURI2() mostly works if we use XML created by copying the domain XML >> from the running instance and modifying the appropriate sections. >> >> The problem that we're seeing is that the serial console checking in >> libvirt/src/conf/domain_conf.c::virDomainDefCheckABIStability() is failing >> even though we haven't touched the serial console XML: > I think we will have to see the XML your passing before and after edit to > figure out what's going wrong. Also, showing all the arguments you are > invoking the migrati...
2012 Mar 22
1
Does libvirt check MCS labels during hot-add disk image ?
...when I try to define it , gives me error : # virsh define vm3.xml error: Failed to define domain from vm3.xml error: unsupported configuration: dynamic label type must use resource relabeling looks like it's not possible to assign relabel='no' with dynamic labelling. libvirt/src/conf/domain_conf.c : if (def->type == VIR_DOMAIN_SECLABEL_DYNAMIC && def->norelabel) { virDomainReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("dynamic label type must use resource relabeling")); goto error;...
2011 Apr 04
0
Release of libvirt-0.9.0
...build: Fix VPATH build (Jiri Denemark) - storage: Allow to delete device mapper disk partition (Osier Yang) Cleanups: - The next release is 0.9.0 not 0.8.9 (Daniel Veillard) - maint: use space, not tab, in remote_protocol-structs (Eric Blake) - Remove the Open Nebula driver (Daniel P. Berrange) - domain_conf: drop unused ref-count in snapshot object (Eric Blake) - Update the set of maintainers for the project (Daniel Veillard) - Make virDomainObjParseNode() static (Hu Tao) - maint: make spacing in .sh files easier (Eric Blake) - network driver: Fix indentation from previous commit (Laine Stump) - qemu:...
2014 Sep 23
0
libvirt crashed by restore of xen vm
...ose (xch=<optimized out>) at xc_private.c:240 #8 0x00007fd381d702b6 in libxl_ctx_free (ctx=0x7fd35c029cc0) at libxl.c:159 #9 0x00007fd39aa26b0b in virObjectUnref (anyobj=<optimized out>) at util/virobject.c:262 #10 0x00007fd39aa5e29d in virDomainObjDispose (obj=0x7fd35c003e80) at conf/domain_conf.c:2034 #11 0x00007fd39aa26b0b in virObjectUnref (anyobj=anyobj@entry=0x7fd35c003e80) at util/virobject.c:262 #12 0x00007fd39aa4f55a in virDomainObjListRemove (doms=0x7fd378180060, dom=0x7fd35c003e80) at conf/domain_conf.c:2355 #13 0x00007fd381fcf8fa in libxlDomainRestoreFlags (conn=<optimized ou...