mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
The qemu-vnc server will want to signal the XVP requests, let it have its own implementation. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
20 lines
347 B
C
20 lines
347 B
C
/*
|
|
* QEMU VNC display driver
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "ui/vnc.h"
|
|
#include "system/runstate.h"
|
|
|
|
void vnc_action_shutdown(VncState *vs)
|
|
{
|
|
qemu_system_powerdown_request();
|
|
}
|
|
|
|
void vnc_action_reset(VncState *vs)
|
|
{
|
|
qemu_system_reset_request(SHUTDOWN_CAUSE_HOST_QMP_SYSTEM_RESET);
|
|
}
|