From: Alon Levy <alevy@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 4/4] qxl: allow QXL_IO_LOG also in vga
Date: Sun, 10 Apr 2011 13:26:06 +0300 [thread overview]
Message-ID: <1302431166-17771-5-git-send-email-alevy@redhat.com> (raw)
In-Reply-To: <1302431166-17771-1-git-send-email-alevy@redhat.com>
The driver may change us to vga mode and still issue a QXL_IO_LOG,
which we can easily support.
---
hw/qxl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index 86b98ee..4080325 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -943,7 +943,8 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
case QXL_IO_CREATE_PRIMARY:
break;
default:
- if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT)
+ if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT
+ || (io_port == QXL_IO_LOG))
break;
dprint(d, 1, "%s: unexpected port 0x%x in vga mode\n", __FUNCTION__, io_port);
return;
--
1.7.4.2
next prev parent reply other threads:[~2011-04-10 10:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-10 10:26 [Qemu-devel] [PATCH 0/4] qxl: debug related fixes Alon Levy
2011-04-10 10:26 ` [Qemu-devel] [PATCH 1/4] qxl: interface_get_command: fix reported mode Alon Levy
2011-04-10 10:26 ` [Qemu-devel] [PATCH 2/4] qxl: add mode to debugprint on destroy primary Alon Levy
2011-04-10 10:26 ` [Qemu-devel] [PATCH 3/4] qxl: add debug_cs and cmdlog_cs Alon Levy
2011-04-10 10:26 ` Alon Levy [this message]
2011-04-10 11:37 ` [Qemu-devel] [PATCH 4/4] qxl: allow QXL_IO_LOG also in vga Brad Hards
2011-04-10 11:48 ` Alon Levy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1302431166-17771-5-git-send-email-alevy@redhat.com \
--to=alevy@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.