qxl: drop update_displaychangelistener call for secondary qxl devices
commit20ca3763abbb77ae9942f3e854bdeec36a147a29
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 2 Mar 2015 16:01:50 +0000 (2 17:01 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Mar 2015 07:33:08 +0000 (3 08:33 +0100)
treedc7bd59cae9d35c7e9dbdaa674404dacb60c99d0
parent619616ce31a5a5d167bf26f40d920b26da0a7bfd
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>
hw/display/qxl.c