search for: chaoslab

Displaying 20 results from an estimated 21 matches for "chaoslab".

2013 Jun 09
0
transient domains with saved state of persistent doamin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good day, i writing testing system and want to use libvirt for it, now i reading libvirt development guide and found info about transient domains which looks like what i need, but it's still unclear for me if it possible to implement what i want using libvirt. my idea is to make persistent domain, prepare it for testing (install os, needed
2013 Jul 08
0
Re: deadlock on connection loosing
В письме от Понедельник, 08-июл-2013 14:39:57 Вы написали: > 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 =
2013 Aug 21
0
Re: virConnectDomainEventRegisterAny problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 21.08.2013 09:46, Alexandr пишет: > 21.08.2013 09:32, Martin Kletzander пишет: >> On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote: >>> >>> good day. i trying to make callback function for >>> VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering >>> callback, but it never called, i need to
2013 Aug 21
0
Re: virConnectDomainEventRegisterAny problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 21.08.2013 12:39, Daniel P. Berrange пишет: > On Wed, Aug 21, 2013 at 12:36:06PM +0300, Alexandr wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> >> 21.08.2013 09:46, Alexandr пишет: >>> 21.08.2013 09:32, Martin Kletzander пишет: >>>> On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote:
2013 Dec 04
1
how to add/remove emulated usb removable devices to guests
Good day, i was not able to find api to add/remove usb removable devices to guest, i have windows machines and need to plug usb stick with some fs (fat or ntfs) which is image on host, i was found what it is possible and implemented in libvirt https://bugzilla.redhat.com/show_bug.cgi?id=922495, but i can't find how to use this.
2013 Oct 14
2
event handler
good day to all. i still have not solved my problem with event handling. currently i have following code void libvirt_eventloop_thr_func() { while(true) //TODO: stop somehow on exit { if(virEventRunDefaultImpl() < 0) { virErrorPtr err = virGetLastError(); fprintf(stderr, "Failed to run event loop: %s\n", err && err->message ? err->message : "Unknown
2013 Aug 20
2
virConnectDomainEventRegisterAny problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 good day. i trying to make callback function for VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering callback, but it never called, i need to know when domain started, stopped or crashed, i have write following code static int domain_event_handler(virConnectPtr conn, virDomainPtr dom, int event, int detail, void * opaque) {
2013 Oct 14
2
Re: event handler
Michal Privoznik писал 2013-10-14 08:48: > On 14.10.2013 02:42, Alexandr wrote: >> good day to all. >> i still have not solved my problem with event handling. >> currently i have following code >> >> >> void libvirt_eventloop_thr_func() >> { >> while(true) //TODO: stop somehow on exit >> { >>
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 Dec 05
0
Re: correct way to hot-add cdrom ?
Alexandr писал 2013-12-02 09:36: > Good day to all. i have problems with cdrom hot adding code. currently > i using virDomainAttachDevice with type=file, device=cdrom, dev=hdc, > this code works for machine with one ide hdd and one ide cdrom, but > this not work for machine with only one ide hdd, and i looking for > solution to hot add cdrom to machine independent of existing
2013 Aug 21
2
Re: virConnectDomainEventRegisterAny problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 21.08.2013 09:32, Martin Kletzander пишет: > On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote: >> >> good day. i trying to make callback function for >> VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering >> callback, but it never called, i need to know when domain >> started, stopped or crashed, i have
2013 Jul 06
0
Re: deadlock on connection loosing
В письме от Воскресенье, 30-июн-2013 03:41:37 пользователь Александр написал: > В письме от Вторник, 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
2013 Jun 24
3
deadlock on connection loosing
libvirtd will lock if for example kill programm which established connection, only sigkill + restart helps., to reproduce: virConnectPtr libvirt_connection = virConnectOpen("qemu:///system"); if(libvirt_connection == NULL) { std::cout<<"failed to connect to qemu:///system\n"; exit(-1); } exit(0);
2013 Oct 14
2
Re: event handler
Michal Privoznik писал 2013-10-14 11:39: > On 14.10.2013 10:33, Alexandr wrote: >> Michal Privoznik писал 2013-10-14 08:48: >>> On 14.10.2013 02:42, Alexandr wrote: >>>> good day to all. >>>> i still have not solved my problem with event handling. >>>> currently i have following code >>>> >>>> >>>> void
2013 Dec 02
2
correct way to hot-add cdrom ?
Good day to all. i have problems with cdrom hot adding code. currently i using virDomainAttachDevice with type=file, device=cdrom, dev=hdc, this code works for machine with one ide hdd and one ide cdrom, but this not work for machine with only one ide hdd, and i looking for solution to hot add cdrom to machine independent of existing devices or i need way to determinate which target device
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
2013 Jun 20
0
Re: libvirt hang on domain attemp to create domain
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 18.06.2013 22:21, Александр wrote: >>>>>> В письме
2013 Aug 22
1
Re: virConnectDomainEventRegisterAny problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 21.08.2013 12:58, Alexandr пишет: > 21.08.2013 12:39, Daniel P. Berrange пишет: >> On Wed, Aug 21, 2013 at 12:36:06PM +0300, Alexandr wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>> >>> 21.08.2013 09:46, Alexandr пишет: >>>> 21.08.2013 09:32, Martin Kletzander пишет: >>>>> On
2013 Jun 20
0
Re: libvirt hang on domain attemp to create domain
В письме от Четверг, 20-июн-2013 13:25:06 пользователь Michal Privoznik написал: > 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: > >>>>> В письме
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"); > >