Re: [Spice-devel] [PATCH spice-server v2 1/2] spicevmc: Channel is owned by device

2016-11-04 Thread Frediano Ziglio
> > On Fri, 2016-11-04 at 07:56 -0400, Frediano Ziglio wrote: > > The subject is a bit confusing to me. > > Looks like is nor a "what" not a "why", just a statement. > > > > > > > > > > > From: Jonathon Jongsma > > > > > > Previously, spicevmc_device_connect() created a channel, which then >

Re: [Spice-devel] [PATCH spice-server v2 1/2] spicevmc: Channel is owned by device

2016-11-04 Thread Jonathon Jongsma
On Fri, 2016-11-04 at 07:56 -0400, Frediano Ziglio wrote: > The subject is a bit confusing to me. > Looks like is nor a "what" not a "why", just a statement. > > > > > > > From: Jonathon Jongsma > > > > Previously, spicevmc_device_connect() created a channel, which then > > internally created

Re: [Spice-devel] [PATCH spice-server v2 1/2] spicevmc: Channel is owned by device

2016-11-04 Thread Frediano Ziglio
The subject is a bit confusing to me. Looks like is nor a "what" not a "why", just a statement. > > From: Jonathon Jongsma > > Previously, spicevmc_device_connect() created a channel, which then > internally created a device. Then we returned the internal device from > the channel to the caller

[Spice-devel] [PATCH spice-server v2 1/2] spicevmc: Channel is owned by device

2016-11-04 Thread Frediano Ziglio
From: Jonathon Jongsma Previously, spicevmc_device_connect() created a channel, which then internally created a device. Then we returned the internal device from the channel to the caller. The channel essentially owned the device, but it makes more sense for the device to own the channel, because