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: NStefan Hajnoczi <stefanha@redhat.com> Reviewed-by: NUri Lublin <uril@redhat.com>
Showing
想要评论请 注册 或 登录