From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don Slutz Subject: [RFC][PATCH 0/1] Add support for Xen access to vmport Date: Fri, 26 Sep 2014 14:51:09 -0400 Message-ID: <1411757470-29337-1-git-send-email-dslutz@verizon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Don Slutz , Keir Fraser , Ian Campbell , Jan Beulich List-Id: xen-devel@lists.xenproject.org Note: to use this with Xen either a version of: [Qemu-devel] [PATCH] -machine vmport=off: Allow disabling of VMWare ioport emulation And a manual adjustment so that QEMU is started with vmport=1 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. Don Slutz (1): Add IOREQ_TYPE_VMWARE_PORT xen/arch/x86/hvm/emulate.c | 58 +++++++++++++++++++++++++++++++++++++++ xen/arch/x86/hvm/io.c | 19 +++++++++++++ xen/arch/x86/hvm/vmware/vmport.c | 24 +++++++++++++++- xen/include/asm-x86/hvm/emulate.h | 2 ++ xen/include/asm-x86/hvm/vcpu.h | 1 + xen/include/public/hvm/ioreq.h | 5 ++++ 6 files changed, 108 insertions(+), 1 deletion(-) -- 1.8.4