summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2014-10-03 17:33:37 -0400
committerMichael S. Tsirkin <mst@redhat.com>2014-11-02 13:44:12 +0200
commit9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4 (patch)
tree7f07d1dac045dbd42cbba0ba8bcb4049c6207ccb /include/hw/i386
parentcc43364de7773c9838cedf8f461b7788b8b4fd8e (diff)
downloadhqemu-9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4.zip
hqemu-9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4.tar.gz
-machine vmport=off: Allow disabling of VMWare ioport emulation
This is a pc & q35 only machine opt. VMWare apparently doesn't like running under QEMU due to our incomplete emulation of it's special IO Port. This adds a pc & q35 property to allow it to be turned off. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Don Slutz <dslutz@verizon.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index d101197..7c3731f 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -37,11 +37,13 @@ struct PCMachineState {
ISADevice *rtc;
uint64_t max_ram_below_4g;
+ bool vmport;
};
#define PC_MACHINE_ACPI_DEVICE_PROP "acpi-device"
#define PC_MACHINE_MEMHP_REGION_SIZE "hotplug-memory-region-size"
#define PC_MACHINE_MAX_RAM_BELOW_4G "max-ram-below-4g"
+#define PC_MACHINE_VMPORT "vmport"
/**
* PCMachineClass:
OpenPOWER on IntegriCloud