summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-09-30 12:31:14 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-10-15 17:39:59 +0000
commitdb7104c161765455c6e06724ac6f471430df91c4 (patch)
treeea0c49743ea03e0fdf53bcc7f10dc11df1dfe7b0 /vl.c
parent70ed669a40e2245d519620df3591fce8e458e978 (diff)
downloadqemu-db7104c161765455c6e06724ac6f471430df91c4.tar.gz
qemu-db7104c161765455c6e06724ac6f471430df91c4.tar.bz2
qemu-db7104c161765455c6e06724ac6f471430df91c4.zip
Move graphic-related coalesced MMIO flushes to affected device models
This is conceptually cleaner and will allow us to drop the nographic timer. Moreover, it will be mandatory to fully exploit future per-device coalesced MMIO rings. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index dbf77781a7..dd85a41dcb 100644
--- a/vl.c
+++ b/vl.c
@@ -1196,7 +1196,6 @@ static void gui_update(void *opaque)
DisplayState *ds = opaque;
DisplayChangeListener *dcl = ds->listeners;
- qemu_flush_coalesced_mmio_buffer();
dpy_refresh(ds);
while (dcl != NULL) {
@@ -1212,7 +1211,6 @@ static void nographic_update(void *opaque)
{
uint64_t interval = GUI_REFRESH_INTERVAL;
- qemu_flush_coalesced_mmio_buffer();
qemu_mod_timer(nographic_timer, interval + qemu_get_clock_ms(rt_clock));
}