Displaying 20 results from an estimated 200 matches similar to: "Calling 'virsh' from within a hook script - avoid deadlock?"
2013 Nov 06
1
Re: Calling 'virsh' from within a hook script - avoid deadlock?
Yes.. I saw that, but I have to :)
The issue was solved by converting the hook to Python and using 'subprocess.Popen'. deadlock is gone, all looks good.
Regards
Shlomi
-----Original Message-----
From: Michal Privoznik [mailto:mprivozn@redhat.com]
Sent: Wednesday, November 06, 2013 5:17 PM
To: TSADOK, Shlomi (Shlomi)
Cc: libvirt-users@redhat.com
Subject: Re: [libvirt-users] Calling
2013 Nov 07
2
Re: Calling 'virsh' from within a hook script - avoid deadlock?
On 06.11.2013 16:17, Michal Privoznik wrote:
> On 06.11.2013 11:23, TSADOK, Shlomi (Shlomi) wrote:
>> [...]
>
> http://libvirt.org/hooks.html#recursive
>
> Do not do this.
>
> Michal
>
Maybe I should explain a bit why this is not supported. It's true that
libvirt is multithreaded. However, not in terms of multiple write/modify
accesses to a single domain.
2013 Nov 06
0
Re: Calling 'virsh' from within a hook script - avoid deadlock?
On 06.11.2013 11:23, TSADOK, Shlomi (Shlomi) wrote:
> I'm trying to create a hook that attaches several virtio-scsi disks to a
> starting vm,
>
> and it seems like the hook enters a deadlock while attempting to do so.
>
>
>
> Is there any workaround around this? Any better way, forking virsh
> execution somehow?
>
>
>
> Could anyone explain why
2015 Jan 06
2
ubuntu virsh snapshot-create-as gives Error -22 while writing VM
Hello all, I'm trying to create an online internal snapshot to work with
Cuckoo Sandbox.
I keep receiving this -22 error below on my Ubuntu system and I'm out of
ideas, been at it for a while so any help is appreciated.
root@cuckoo-sec:~# virsh snapshot-create-as cuckoo cuckoo-snap1 "Cuckoo
Snapshot"
error: operation failed: Error -22 while writing VM
$ uname -a
Linux
2011 Nov 06
1
libvirt, OSX and VirtualBox - how?
I have a new OSX Lion Macbook and would like to control VirtualBox using
"virsh" (as I do with KVM under Ubuntu).
I've got this far:
* Installed VirtualBox
* Installed libvirt (brew install libvirt)
But now I'm a bit stuck :-)
I ran VirtualBox itself, and created a test VM successfully.
If I try to use virsh, this is what I get:
Brians-MacBook-Air:~ $ virsh -c
2008 Jan 11
10
[Bug 14025] New: The X11 / X Server Exhibits Jitters in the Display after it is on for many hours
http://bugs.freedesktop.org/show_bug.cgi?id=14025
Summary: The X11 / X Server Exhibits Jitters in the Display after
it is on for many hours
Product: xorg
Version: 7.2
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2006 Nov 27
2
Shares problem
I am trying to produce 2 kinds of shares:
[homes] the typical home directory share.
And an all users (even guest) writable share.
On the home directory share, I am able to create files through my windows
XP, but I unable to create new directories.
The all available share I can't even browse.
Help please.
Shlomi
PS: I attached my smb.conf
2013 Nov 07
0
Re: Calling 'virsh' from within a hook script - avoid deadlock?
On Thu, Nov 07, 2013 at 10:16:29AM +0100, Michal Privoznik wrote:
> On 06.11.2013 16:17, Michal Privoznik wrote:
> > On 06.11.2013 11:23, TSADOK, Shlomi (Shlomi) wrote:
> >> [...]
> >
> > http://libvirt.org/hooks.html#recursive
> >
> > Do not do this.
> >
> > Michal
> >
>
> Maybe I should explain a bit why this is not
2004 Jul 25
3
FXS vs. FXO
Hello,
I've recently purchased Adit 600 with 3FXS and 1FXO to be connected to
my * server via T100P card. This is the output of "status equipment"
command in the Adit600:
For some reason the FXO card is seen as FXS, why? Is it ok? On the card
it is written "FXO".
Regards,
Shlomi Bachar
-------------- next part --------------
An HTML attachment was
2007 Apr 02
3
Problem with gettid() on CentOS 5/gcc 4.1.1
I can't get the simple program below to compile on CentOS 5 beta. It compiles
(and runs) just fine on CentOS 4.4, and I'm using gettid() as described in the
man page. I wonder if this is a problem with RHEL 5 as well, but I don't have a
system to test on. I also wonder if this is a gcc 4.1.1 issue or something
missing in CentOS 5.
The issue is that the _syscall0 macro is not
2005 Feb 10
1
One "200Mbps" virtual link between 2 ethernet adaptators of 2 linux boxes.
Hi,
------- -------
| B |eth0---------eth0| C |
| |eth1---------eth1| |
------- -------
In an attempt to have the install setup to increase speed and/or reliability
of a link between two linux machines (for example in case of a wireless
connection), I read that there were more than one solution, for example the
old eql driver, bonding
2009 Jul 14
4
error on solaris please help interlocked*functions
i install the wine 1.1.25 but after awhile installation stops
and heres some detail in terminal
> configure: libcapi20 development files not found, ISDN won't be supported.
> configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.
>
> configure: Finished. Do 'make depend && make' to compile Wine.
>
> cc -c -I. -I.
2018 Jun 07
2
XRay TID mismatch when forking
Hello,
There seems to be a bug with the value of the thread ID (TID) that is
generated by XRay when calling fork(). The value of the TID of the child
has the same TID as its parent (this is seen in the “thread: “ field of the
YAML output produced by the llvm-xray tool). This is a problem as the trace
generated contains the same TID for the parent and children processes,
making it difficult to
2009 Sep 11
2
WINE with 64-bit Support Build on Snow Leopard
Hello WINE Users:
I am trying to build WINE on Snow Leopard with 64-bit support enabled (actually for my particular purpose I need to build a version of WINE with both 32-bit and 64-bit libraries supported). I am using the 1.1.29 source version..
I have been following the guide for building on Mac and 64-bit WINE at:
http://wiki.winehq.org/MacOSX/Building
http://wiki.winehq.org/Wine64
I get
2009 May 21
0
1.4.24.1 -> 1.6.0.9: segfault
I'm testing an upgrade of an i686 production machine running 1.4.24.1 to
1.6.0.9. I've installed dahdi-linux-2.1.0.4.
But:
asterisk -cvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Asterisk 1.6.0.9, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
2014 Apr 18
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Fri, Apr 18, 2014 at 11:13 AM, Dmitry Vyukov <dvyukov at google.com> wrote:
> Hi,
>
> This is long thread, so I will combine several comments into single email.
>
>
> >> - 8-bit per-thread counters, dumping into central counters on overflow.
> >The overflow will happen very quickly with 8bit counter.
>
> Yes, but it reduces contention by 256x (a thread
2002 May 13
1
Synchronizing uids on deferent machines running winbind
Hello,
I've a small Linux network, NFS amd NIS server with three clients. Each machine is running winbind to connect to a windows 2000 domain. All is working fine, I just have a problem synchronizing the uids generated by the winbind to a windows user that logs on to the Linux network. For example, on one machine a user can get uid 10000 and on another machine the same user can have uid
2002 May 13
1
Synchronizing uids on deferent machines running winbind
Hello,
I've a small Linux network, NFS amd NIS server with three clients. Each machine is running winbind to connect to a windows 2000 domain. All is working fine, I just have a problem synchronizing the uids generated by the winbind to a windows user that logs on to the Linux network. For example, on one machine a user can get uid 10000 and on another machine the same user can have uid
2018 May 30
2
Hang generating sanitizer tests
When I run "make check-all" with ToT I am seeing what looks like a hang
generating sanitizer tests:
[...]
[100%] Generating dynamic/Asan-x86_64-calls-Dynamic-Test
make[3]: Leaving directory '/build/debug'
[100%] Built target TAsan-x86_64-calls-Dynamic-Test
[100%] Generating default/Asan-x86_64-inline-Test
make[3]: Leaving directory '/build/debug'
[100%] Built target
2020 Mar 16
2
Enable Safe Stack for Baremetal?
Hello,
I'm assessing the work required to enable Safe Stack for a bare metal target.
Looking at compiler-rt/lib/safestack/, the current implementation depends on thread support for mutex & storing unsafe stack pointer.
It also need several system calls: gettid, tgkill, mmap, munmap, mprotect.
Our target doesn't has all underlying support it needs. My question is: what's the