Files
qemu/ui/vnc-system.c
Marc-André Lureau 8f95c4053b ui/vnc: add vnc-system unit, to allow different implementations
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>
2026-05-09 10:24:58 +04:00

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);
}