summaryrefslogtreecommitdiff
path: root/hw/display
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-03-02 17:01:50 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-03-03 08:33:08 +0100
commit20ca3763abbb77ae9942f3e854bdeec36a147a29 (patch)
treedc7bd59cae9d35c7e9dbdaa674404dacb60c99d0 /hw/display
parent619616ce31a5a5d167bf26f40d920b26da0a7bfd (diff)
downloadqemu-20ca3763abbb77ae9942f3e854bdeec36a147a29.tar.gz
qxl: drop update_displaychangelistener call for secondary qxl devices
Commit 3dcadce5076d4b42fa395c39662d65e050b77784 added three update_displaychangelistener call sites: Two for primary qxl cards, when entering/leaving vga mode, which are correct. One for secondary qxl cards, which is wrong because we don't register a displaychangelistener in the first place for secondary cards. Remove it. Reported-by: Brad Campbell <lists2009@fnarfbargle.com> Tested-by: Brad Campbell <lists2009@fnarfbargle.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display')
-rw-r--r--hw/display/qxl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index 94ff52a959..762f75dc2d 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -1147,7 +1147,6 @@ static void qxl_soft_reset(PCIQXLDevice *d)
qxl_enter_vga_mode(d);
} else {
d->mode = QXL_MODE_UNDEFINED;
- update_displaychangelistener(&d->ssd.dcl, GUI_REFRESH_INTERVAL_IDLE);
}
}