From patchwork Fri Jun 21 16:41:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 253269 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1CE732C0391 for ; Sat, 22 Jun 2013 02:42:44 +1000 (EST) Received: from localhost ([::1]:36526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq4Q6-0001vW-46 for incoming@patchwork.ozlabs.org; Fri, 21 Jun 2013 12:42:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq4PJ-0001m4-7s for qemu-devel@nongnu.org; Fri, 21 Jun 2013 12:41:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq4PI-0006wM-7a for qemu-devel@nongnu.org; Fri, 21 Jun 2013 12:41:53 -0400 Received: from david.siemens.de ([192.35.17.14]:34171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq4PH-0006v4-VO for qemu-devel@nongnu.org; Fri, 21 Jun 2013 12:41:52 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.13.6/8.13.6) with ESMTP id r5LGflTA008423; Fri, 21 Jun 2013 18:41:47 +0200 Received: from mchn199C.mchp.siemens.de ([139.25.109.49]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id r5LGfk5Q023216; Fri, 21 Jun 2013 18:41:47 +0200 From: Jan Kiszka To: qemu-devel Date: Fri, 21 Jun 2013 18:41:41 +0200 Message-Id: <127415bbfc5f13593a642bda0a70e837bbced8f9.1371832904.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 192.35.17.14 Cc: Paolo Bonzini , Liu Ping Fan , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PATCH v2 09/13] vmware-vga: Accept unaligned I/O accesses X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Before switching to the memory core dispatcher, we need to make sure that this pv-device will continue to receive unaligned portio accesses. Signed-off-by: Jan Kiszka --- hw/display/vmware_vga.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index fd3569d..ec41681 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -1241,6 +1241,10 @@ static const MemoryRegionOps vmsvga_io_ops = { .valid = { .min_access_size = 4, .max_access_size = 4, + .unaligned = true, + }, + .impl = { + .unaligned = true, }, };