From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWBwi-000773-76 for qemu-devel@nongnu.org; Wed, 29 Jul 2009 12:24:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWBwd-00074k-HX for qemu-devel@nongnu.org; Wed, 29 Jul 2009 12:24:03 -0400 Received: from [199.232.76.173] (port=37152 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWBwd-00074b-6a for qemu-devel@nongnu.org; Wed, 29 Jul 2009 12:23:59 -0400 Received: from an-out-0708.google.com ([209.85.132.250]:58494) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWBwc-0006Pr-UZ for qemu-devel@nongnu.org; Wed, 29 Jul 2009 12:23:59 -0400 Received: by an-out-0708.google.com with SMTP id c38so426887ana.37 for ; Wed, 29 Jul 2009 09:23:54 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4A2D886C.5020007@us.ibm.com> References: <1244497683-14391-1-git-send-email-aliguori@us.ibm.com> <1244497683-14391-2-git-send-email-aliguori@us.ibm.com> <4A2D886C.5020007@us.ibm.com> Date: Wed, 29 Jul 2009 09:23:51 -0700 Message-ID: <2a50f7880907290923s4568986cs7548650c9315cdf0@mail.gmail.com> Subject: Re: [Qemu-devel] Re: [PATCH 2/2] Make sure to enable dirty log tracking for VMware VGA From: Jordan Justen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org On Mon, Jun 8, 2009 at 2:53 PM, Anthony Liguori wrote: > Anthony Liguori wrote: >> >> This is needed for VMware VGA to work properly under KVM. >> >> Signed-off-by: Anthony Liguori >> --- >> =A0hw/vmware_vga.c | =A0 =A04 ++++ >> =A01 files changed, 4 insertions(+), 0 deletions(-) >> >> diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c >> index bb17698..246011b 100644 >> --- a/hw/vmware_vga.c >> +++ b/hw/vmware_vga.c >> @@ -1203,6 +1203,10 @@ static void pci_vmsvga_map_mem(PCIDevice *pci_dev= , >> int region_num, >> =A0#endif >> =A0 =A0 cpu_register_physical_memory(s->vram_base, s->vga.vram_size, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 iomemtype); >> + >> + =A0 =A0s->vga.map_addr =3D addr; >> + =A0 =A0s->vga.map_end =3D addr + s->vga.vram_size; >> + =A0 =A0vga_dirty_log_start(&s->vga); >> =A0} >> >> =A0void pci_vmsvga_init(PCIBus *bus) >> > > N.B. depth is still screwed up with VMware vga but the fix for that looks= a > bit more non-obvious. =A0This VBE issue has been a long standing problem > though and I suspect it effects other guests though. > I've tried booting Ubuntu 8.10/9.04 using '-vga vmware' on various versions= of kvm and qemu. The result is always ok video during BIOS post, but garbage during pre and post X. Would this be a symptom of the 'VBE' issue that you mentioned? > -- > Regards, > > Anthony Liguori > > > >