Re: [Spice-devel] Spice agent oddities

2011-10-24 Thread Damien Churchill
On 18 October 2011 22:56, Damien Churchill wrote: > On 18 October 2011 17:37, Arnon Gilboa wrote: >> Hi Damien, >> >> Seems like for some reason vdservice closed (handle of) the virtio serial >> device. >> >> Can you please send the relevant qemu output. You should see something like: >> spice_se

Re: [Spice-devel] [PATCH 3/3] data: add test.html page

2011-10-24 Thread Uri Lublin
On 09/28/2011 04:13 PM, Marc-André Lureau wrote: Originally provided by Alon Levy and Peter Hatina. Actually, the author of test.html is Yuval Kashtan. ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [Spice-devel] [PATCH v4] [0.8 branch] server: add main_dispatcher

2011-10-24 Thread Yonit Halperin
ACK On 10/24/2011 02:25 PM, Alon Levy wrote: add main_dispatcher, a message passing mechanism for sending messages to the main thread. The main thread is the thread that implements SpiceCoreInterface, which is assumed to be a single thread. Similar to the async operation of red_worker, a socket

[Spice-devel] [PATCH v4] [0.8 branch] server: add main_dispatcher

2011-10-24 Thread Alon Levy
add main_dispatcher, a message passing mechanism for sending messages to the main thread. The main thread is the thread that implements SpiceCoreInterface, which is assumed to be a single thread. Similar to the async operation of red_worker, a socket pair is created and used to pass messages. The

Re: [Spice-devel] [PATCH v3] [0.8 branch] server: add main_dispatcher

2011-10-24 Thread Alon Levy
On Mon, Oct 24, 2011 at 12:17:19PM +0200, Yonit Halperin wrote: > On 10/23/2011 07:10 PM, Alon Levy wrote: > >add main_dispatcher, a message passing mechanism for sending messages to > >the main thread. The main thread is the thread that implements > >SpiceCoreInterface, which is assumed to be a si

[Spice-devel] [PATCH 2/2] red_dispatcher: support concurrent asyncs

2011-10-24 Thread Alon Levy
Allows doing async commands from the monitor and from any vcpu thread independently, i.e. red_dispatcher can have multiple commands pending completion. red_worker still handles them sequentially off it's pipe, no magical gain here. RHBZ: 747011 FDBZ: 41622 --- server/red_dispatcher.c | 85 +

[Spice-devel] [PATCH 1/2] server: spice_qxl_update_area_dirty_async

2011-10-24 Thread Alon Levy
Bumps spice to 0.9.2, since it adds a new symbol. This will be 0.8.4 in 0.8 branch - the syms file is updated to contain 0.8.3 and 0.8.4. Add an asynchronous version of update_area that updates the dirty rectangles, similarily to the sync one. The existing async version doesn't pass the dirty list

[Spice-devel] [PATCH 0/2] async monitor support

2011-10-24 Thread Alon Levy
This patchset together with the qemu-devel series titled "monitor+qxl: async monitor support" fixes bz747011 by implementing support for having async io operations and async monitor operations at the same time (second patch) and by fixing the existing API added with the initial async impplementatio

Re: [Spice-devel] [PATCH v3] [0.8 branch] server: add main_dispatcher

2011-10-24 Thread Yonit Halperin
On 10/23/2011 07:10 PM, Alon Levy wrote: add main_dispatcher, a message passing mechanism for sending messages to the main thread. The main thread is the thread that implements SpiceCoreInterface, which is assumed to be a single thread. Similar to the async operation of red_worker, a socket pair

Re: [Spice-devel] Possible SPICE/QEMU deadlock on fast client reconnect

2011-10-24 Thread Daniel P. Berrange
On Sun, Oct 23, 2011 at 09:37:59AM +0200, Yonit Halperin wrote: > Hi, > > Sounds like https://bugzilla.redhat.com/show_bug.cgi?id=746950 and > https://bugs.freedesktop.org/show_bug.cgi?id=41858 > Alon's patch: > http://lists.freedesktop.org/archives/spice-devel/2011-September > /005369.html > Shou

Re: [Spice-devel] [PATCH 0/6] Add new libspice-server.so APIs for injecting client sockets

2011-10-24 Thread Daniel P. Berrange
On Sun, Oct 23, 2011 at 10:32:10AM +0200, Alon Levy wrote: > On Fri, Oct 21, 2011 at 04:10:58PM +0100, Daniel P. Berrange wrote: > > QEMU has a monitor command 'add_client' which can be used over > > a UNIX domain socket connection with SCM_RIGHTS, to pass a > > pre-opened client socket connection