]> git.proxmox.com Git - qemu.git/commit
spice: drop incorrect vm_change_state_handler() opaque
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 19 Dec 2012 13:07:16 +0000 (14:07 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 4 Jan 2013 13:38:05 +0000 (14:38 +0100)
commitbfb82a28752d29291adf932c3a9941e8383203af
tree9047e893e9d7a929cf0ffab4bcbc86e094961e8d
parent586b0bef84c202bb2256a35eb71bfd6670262bd7
spice: drop incorrect vm_change_state_handler() opaque

The spice_server pointer is a global variable and
vm_change_state_handler() therefore does not use its opaque parameter.

The vm change state handler is added with a pointer to the spice_server
pointer.  This is useless and we probably would not want 2 levels of
pointers.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Uri Lublin <uril@redhat.com>
ui/spice-core.c