From: Avi Kivity <avi@qumranet.com>
To: Laurent Vivier <Laurent.Vivier@bull.net>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 6/7] qemu: delayed MMIO support (VGA)
Date: Mon, 26 May 2008 16:58:54 +0300 [thread overview]
Message-ID: <483AC21E.4020204@qumranet.com> (raw)
In-Reply-To: <12115326462508-git-send-email-Laurent.Vivier@bull.net>
Laurent Vivier wrote:
> This patch defines delayed MMIO zones for VGA cards.
>
> Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
> ---
> qemu/hw/cirrus_vga.c | 2 ++
> qemu/hw/vga.c | 4 ++++
> 2 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/qemu/hw/cirrus_vga.c b/qemu/hw/cirrus_vga.c
> index 2c4aeec..9eb6929 100644
> --- a/qemu/hw/cirrus_vga.c
> +++ b/qemu/hw/cirrus_vga.c
> @@ -3291,6 +3291,8 @@ static void cirrus_init_common(CirrusVGAState * s, int device_id, int is_pci)
> cirrus_vga_mem_write, s);
> cpu_register_physical_memory(isa_mem_base + 0x000a0000, 0x20000,
> vga_io_memory);
> + if (kvm_enabled())
> + qemu_kvm_register_delayed_mmio(isa_mem_base + 0x000a0000, 0x20000);
>
>
Cirrus has some mmio registers that cause actions (bitblt), which could
be mapped at this address. But I guess that since all the actions are
synchronous anyway, no harm is done in delaying them.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-05-26 13:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-23 8:50 [PATCH 0/7] kvm-userspace: Batch writes to MMIO Laurent Vivier
2008-05-23 8:50 ` [PATCH 1/7] libkvm: delayed MMIO support (common part) Laurent Vivier
2008-05-23 8:50 ` [PATCH 2/7] libkvm: delayed MMIO support (x86 part) Laurent Vivier
2008-05-23 8:50 ` [PATCH 3/7] libkvm: delayed MMIO support (powerpc part) Laurent Vivier
2008-05-23 8:50 ` [PATCH 4/7] libkvm: delayed MMIO support (ia64 part) Laurent Vivier
2008-05-23 8:50 ` [PATCH 5/7] qemu: delayed MMIO support (core) Laurent Vivier
2008-05-23 8:50 ` [PATCH 6/7] qemu: delayed MMIO support (VGA) Laurent Vivier
2008-05-23 8:50 ` [PATCH 7/7] qemu: delayed MMIO support (e1000) Laurent Vivier
2008-05-26 14:05 ` Avi Kivity
2008-05-26 14:27 ` Laurent Vivier
2008-05-26 13:58 ` Avi Kivity [this message]
2008-05-26 13:55 ` [PATCH 1/7] libkvm: delayed MMIO support (common part) Avi Kivity
2008-05-26 14:15 ` Laurent Vivier
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=483AC21E.4020204@qumranet.com \
--to=avi@qumranet.com \
--cc=Laurent.Vivier@bull.net \
--cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox