[Spice-devel] [PATCH v3 3/5] qxl_dev: add QXL_INTERRUPT_ERROR

Alon Levy alevy at redhat.com
Sun Jul 17 03:55:06 PDT 2011


The interrupt is used to notify the guest driver it did an error in
the last io operation. It can be left unhandled.
---
 spice/qxl_dev.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 82eb1c8..5ac2f46 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -223,6 +223,7 @@ SPICE_RING_DECLARE(QXLReleaseRing, uint64_t, QXL_RELEASE_RING_SIZE);
 #define QXL_INTERRUPT_DISPLAY (1 << 0)
 #define QXL_INTERRUPT_CURSOR (1 << 1)
 #define QXL_INTERRUPT_IO_CMD (1 << 2)
+#define QXL_INTERRUPT_ERROR  (1 << 3)
 
 /* qxl-1 compat: append only */
 typedef struct SPICE_ATTR_PACKED QXLRam {
-- 
1.7.6



More information about the Spice-devel mailing list