From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLOYU-0001is-37 for qemu-devel@nongnu.org; Thu, 17 Dec 2009 17:10:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLOYP-0001eU-I9 for qemu-devel@nongnu.org; Thu, 17 Dec 2009 17:10:41 -0500 Received: from [199.232.76.173] (port=36357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLOYP-0001eL-Cn for qemu-devel@nongnu.org; Thu, 17 Dec 2009 17:10:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24864) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLOYO-0003lR-RQ for qemu-devel@nongnu.org; Thu, 17 Dec 2009 17:10:37 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBHMAaK2003006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 17 Dec 2009 17:10:36 -0500 Received: from localhost.localdomain (dhcp-0-222.bne.redhat.com [10.64.0.222]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBHMAUQD005737 for ; Thu, 17 Dec 2009 17:10:35 -0500 From: Dave Airlie Date: Fri, 18 Dec 2009 08:08:08 +1000 Message-Id: <1261087691-8319-4-git-send-email-airlied@gmail.com> In-Reply-To: <1261087691-8319-3-git-send-email-airlied@gmail.com> References: <1261087691-8319-1-git-send-email-airlied@gmail.com> <1261087691-8319-2-git-send-email-airlied@gmail.com> <1261087691-8319-3-git-send-email-airlied@gmail.com> Subject: [Qemu-devel] [PATCH 3/6] Make sure to enable dirty log tracking for VMware VGA List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Anthony Liguori This is needed for VMware VGA to work properly under KVM. Signed-off-by: Anthony Liguori --- hw/vmware_vga.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 07befc8..fcb6808 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1169,6 +1169,10 @@ static void pci_vmsvga_map_mem(PCIDevice *pci_dev, int region_num, #endif cpu_register_physical_memory(s->vram_base, s->vga.vram_size, iomemtype); + + s->vga.map_addr = addr; + s->vga.map_end = addr + s->vga.vram_size; + vga_dirty_log_start(&s->vga); } static void pci_vmsvga_map_fifo(PCIDevice *pci_dev, int region_num, -- 1.6.5.2