[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] qxl: clear irq on reset
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 1/4] qxl: clear irq on reset |
Date: |
Mon, 3 Feb 2014 16:18:02 +0100 |
From: Alon Levy <address@hidden>
Without this we occasionally trigger an assert at
hw/pci/pci.c:pcibus_reset that asserts the irq_count is zero on reset.
This has become a problem with the new drm driver for linux, since doing
a reboot from console causes a race between console updates that set the
irq and the reset assertion that the irq is clear.
Signed-off-by: Alon Levy <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/display/qxl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index e4f172e..56b61c8 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -1126,6 +1126,7 @@ static void qxl_reset_state(PCIQXLDevice *d)
d->num_free_res = 0;
d->last_release = NULL;
memset(&d->ssd.dirty, 0, sizeof(d->ssd.dirty));
+ qxl_update_irq(d);
}
static void qxl_soft_reset(PCIQXLDevice *d)
--
1.8.3.1
- [Qemu-devel] [PULL 0/4] spice patch queue, Gerd Hoffmann, 2014/02/03
- [Qemu-devel] [PATCH 2/4] hw/display/qxl: fix signed to unsigned comparison, Gerd Hoffmann, 2014/02/03
- [Qemu-devel] [PATCH 1/4] qxl: clear irq on reset,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 4/4] spice: hook qemu_chr_fe_set_open() event to ports, Gerd Hoffmann, 2014/02/03
- [Qemu-devel] [PATCH 3/4] Add the ability to vary Spice playback and record rates, to facilitate Opus support., Gerd Hoffmann, 2014/02/03
- Re: [Qemu-devel] [PULL 0/4] spice patch queue, Peter Maydell, 2014/02/06