From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kx3mJ-0001GC-LR for qemu-devel@nongnu.org; Mon, 03 Nov 2008 13:03:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kx3mG-0001AM-2m for qemu-devel@nongnu.org; Mon, 03 Nov 2008 13:03:51 -0500 Received: from [199.232.76.173] (port=49143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx3mF-0001AA-Tv for qemu-devel@nongnu.org; Mon, 03 Nov 2008 13:03:47 -0500 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:26350 helo=SMTP.EU.CITRIX.COM) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kx3mF-00016U-93 for qemu-devel@nongnu.org; Mon, 03 Nov 2008 13:03:47 -0500 Message-ID: <490F3DC3.4040408@eu.citrix.com> Date: Mon, 03 Nov 2008 18:06:59 +0000 From: Stefano Stabellini MIME-Version: 1.0 Subject: Re: [Qemu-devel] vga optmization References: <20081103173111.GC30410@poweredge.glommer> <490F3838.8010401@eu.citrix.com> <5d6222a80811030952r5bfa67end7aa0ffe684d9abf@mail.gmail.com> In-Reply-To: <5d6222a80811030952r5bfa67end7aa0ffe684d9abf@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Glauber Costa wrote: > On Mon, Nov 3, 2008 at 3:43 PM, Stefano Stabellini > wrote: >> Can we try to avoid any if (kvm_enabled()) in the vga code and use some >> kind of more generic hook instead? >> Xen has some very similar changes to the vga code, it would be nice to >> merge them as well. > > Yes, we could. But then we'd need to have qemu to view memory as slots. > It's worthy, but long term. > > By the way, posting those xen changes would be awesome. > If we both can avoid using hv-specific hooks (which I did: there's > only one left), and > so do you, I'm sure we can come up with something very nice in the end > of the day. I totally agree. Posting those patches has been on my TODO list for quite some time, I think that now is the time to increase the priority :) I'll keep you posted.