[Spice-devel] USB acl helper patchset v2

Hans de Goede hdegoede at redhat.com
Wed Nov 16 09:49:43 PST 2011


Hi,

Here is the second revision of my USB acl helper patchset, changes
since the previous version:

- 3 New cleanup / small fixes patches as preperation patches for the rest:
[PATCH spice-gtk 1/8] Correct Since tag for SpiceSession:enable-usbredir:
[PATCH spice-gtk 2/8] channel-usbredir: Fixup and simplify #ifdef
[PATCH spice-gtk 3/8] channel-usbredir: Do disconnect from dispose
- Mark the new async methods as such with a _async postfix
- Add the new symbols to the .map file
- Merge in Marc-André's vapi bindings compile fix
- Add ./configure detection for libacl
- Reworked the usb-channel code to keep track of its current state in a state
  variable and use that to make decissions what to do in various methods,
  like the disconnect method
- Also add various g_return_if_fail sanity checks all over the place checking
  that the channel is in the state which it should be when that method /
  callback gets called
- Added a lengthy comment to channel-usbredir.c explaining how calling
  disconnect is enough to ensure that all resouces will be always freed /
  unreferenced before finalize

Regards,

Hans


More information about the Spice-devel mailing list