qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset
@ 2011-03-26 21:53 Stefan Weil
  2011-03-28  2:17 ` Isaku Yamahata
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Weil @ 2011-03-26 21:53 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Michael S. Tsirkin

cirrus_reset is also called by the pci framework,
so there is no need to call it in cirrus_init_common.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 hw/cirrus_vga.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 2724f7b..bdf4c8b 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -3024,7 +3024,6 @@ static void cirrus_init_common(CirrusVGAState * s, int device_id, int is_pci)
     s->vga.cursor_draw_line = cirrus_cursor_draw_line;
 
     qemu_register_reset(cirrus_reset, s);
-    cirrus_reset(s);
 }
 
 /***************************************
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-28 16:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 21:53 [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset Stefan Weil
2011-03-28  2:17 ` Isaku Yamahata
2011-03-28  5:18   ` Stefan Weil
2011-03-28  5:25     ` Isaku Yamahata
2011-03-28  9:21       ` Markus Armbruster
2011-03-28  9:24         ` Isaku Yamahata
2011-03-28 16:20           ` Stefan Weil
2011-03-28 16:40             ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).