xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/1] Add support for Xen access to vmport
@ 2014-09-26 18:51 Don Slutz
  2014-09-26 18:51 ` [RFC][PATCH 1/1] Add IOREQ_TYPE_VMWARE_PORT Don Slutz
  0 siblings, 1 reply; 4+ messages in thread
From: Don Slutz @ 2014-09-26 18:51 UTC (permalink / raw)
  To: xen-devel; +Cc: Don Slutz, Keir Fraser, Ian Campbell, Jan Beulich

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 <dslutz@verizon.com>
Date: Fri, 26 Sep 2014 08:11:39 -0400
Subject: [PATCH 1/2] hack: force enable vmport

Signed-off-by: Don Slutz <dslutz@verizon.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-02 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 18:51 [RFC][PATCH 0/1] Add support for Xen access to vmport Don Slutz
2014-09-26 18:51 ` [RFC][PATCH 1/1] Add IOREQ_TYPE_VMWARE_PORT Don Slutz
2014-09-29 11:13   ` Paolo Bonzini
2014-10-02 18:31     ` Don Slutz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).