mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-14 12:07:25 +00:00
Drop obsolete nographic timer
We flush coalesced MMIO in the device models now, and VNC - for which this was once introduced - is also fine without it as it has its own refresh timer. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e9a07334fb
commit
9870a5e6cd
13
vl.c
13
vl.c
@ -248,8 +248,6 @@ int nb_numa_nodes;
|
|||||||
uint64_t node_mem[MAX_NODES];
|
uint64_t node_mem[MAX_NODES];
|
||||||
uint64_t node_cpumask[MAX_NODES];
|
uint64_t node_cpumask[MAX_NODES];
|
||||||
|
|
||||||
static QEMUTimer *nographic_timer;
|
|
||||||
|
|
||||||
uint8_t qemu_uuid[16];
|
uint8_t qemu_uuid[16];
|
||||||
|
|
||||||
static QEMUBootSetHandler *boot_set_handler;
|
static QEMUBootSetHandler *boot_set_handler;
|
||||||
@ -1207,13 +1205,6 @@ static void gui_update(void *opaque)
|
|||||||
qemu_mod_timer(ds->gui_timer, interval + qemu_get_clock_ms(rt_clock));
|
qemu_mod_timer(ds->gui_timer, interval + qemu_get_clock_ms(rt_clock));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void nographic_update(void *opaque)
|
|
||||||
{
|
|
||||||
uint64_t interval = GUI_REFRESH_INTERVAL;
|
|
||||||
|
|
||||||
qemu_mod_timer(nographic_timer, interval + qemu_get_clock_ms(rt_clock));
|
|
||||||
}
|
|
||||||
|
|
||||||
struct vm_change_state_entry {
|
struct vm_change_state_entry {
|
||||||
VMChangeStateHandler *cb;
|
VMChangeStateHandler *cb;
|
||||||
void *opaque;
|
void *opaque;
|
||||||
@ -3513,10 +3504,6 @@ int main(int argc, char **argv, char **envp)
|
|||||||
}
|
}
|
||||||
dcl = dcl->next;
|
dcl = dcl->next;
|
||||||
}
|
}
|
||||||
if (ds->gui_timer == NULL) {
|
|
||||||
nographic_timer = qemu_new_timer_ms(rt_clock, nographic_update, NULL);
|
|
||||||
qemu_mod_timer(nographic_timer, qemu_get_clock_ms(rt_clock));
|
|
||||||
}
|
|
||||||
text_consoles_set_display(ds);
|
text_consoles_set_display(ds);
|
||||||
|
|
||||||
if (gdbstub_dev && gdbserver_start(gdbstub_dev) < 0) {
|
if (gdbstub_dev && gdbserver_start(gdbstub_dev) < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user