Hi,

+
+ qemu_spice_input_init();

Why not pass spice_server to qemu_spice_input_init() and avoid the global?


We need the global anyway for the guest devices (not yet in this series). They are created using -device. Thus the initialization functions are not called from spice code and we can't simply pass a reference to spice_server.

cheers,
  Gerd

Reply via email to