From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZlTK-0000Jl-AP for qemu-devel@nongnu.org; Thu, 02 Oct 2014 14:51:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZlTE-0007N0-1s for qemu-devel@nongnu.org; Thu, 02 Oct 2014 14:51:26 -0400 Received: from fldsmtpe04.verizon.com ([140.108.26.143]:8375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZlTD-0007ME-Gs for qemu-devel@nongnu.org; Thu, 02 Oct 2014 14:51:19 -0400 From: Don Slutz Date: Thu, 2 Oct 2014 14:51:06 -0400 Message-Id: <1412275867-6689-1-git-send-email-dslutz@verizon.com> Subject: [Qemu-devel] [PATCH v2 0/1] Add support for Xen access to vmport List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, Marcel Apfelbaum , "Michael S. Tsirkin" , Alexander Graf , Don Slutz , Markus Armbruster , Anthony Liguori , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Stefano Stabellini Changes v1 to v2: More info in commit message. Stefano Stabellini the registers being passes explicitely by Xen rather than "hiding" them into other ioreq fields. Added vmware_ioreq_t Paolo Bonzini & Alexander Graf Fixup env access Added cpu_by_ioreq_id. Set current_cpu in regs_to_cpu(), clear in regs_from_cpu(). Drop all changes to vmport.c Note: to use this with Xen either a version of: [Qemu-devel] [PATCH] -machine vmport=off: Allow disabling of VMWare ioport emulation or >>From f70663d9fb86914144ba340b6186cb1e67ac6eec Mon Sep 17 00:00:00 2001 From: Don Slutz Date: Fri, 26 Sep 2014 08:11:39 -0400 Subject: [PATCH 1/2] hack: force enable vmport Signed-off-by: Don Slutz --- hw/i386/pc_piix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 103d756..b76dfbc 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -234,7 +234,7 @@ static void pc_init1(MachineState *machine, pc_vga_init(isa_bus, pci_enabled ? pci_bus : NULL); /* init basic PC hardware */ - pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy, xen_enabled(), + pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy, false, 0x4); pc_nic_init(isa_bus, pci_bus); -- 1.8.4 needs to be done to QEMU. And the Xen RFC patch: [RFC][PATCH v2 1/1] Add IOREQ_TYPE_VMWARE_PORT needs to be done to Xen. Don Slutz (1): xen-hvm.c: Add support for Xen access to vmport xen-hvm.c | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 137 insertions(+), 15 deletions(-) -- 1.8.4