diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2014-10-03 17:33:37 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-11-02 13:44:12 +0200 |
commit | 9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4 (patch) | |
tree | 7f07d1dac045dbd42cbba0ba8bcb4049c6207ccb /hw/i386/pc_q35.c | |
parent | cc43364de7773c9838cedf8f461b7788b8b4fd8e (diff) | |
download | qemu-9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4.zip qemu-9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4.tar.gz qemu-9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4.tar.bz2 |
-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 'hw/i386/pc_q35.c')
-rw-r--r-- | hw/i386/pc_q35.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 2bb475a..b61eb19 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -242,7 +242,8 @@ static void pc_q35_init(MachineState *machine) pc_register_ferr_irq(gsi[13]); /* init basic PC hardware */ - pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy, false, 0xff0104); + pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy, + !pc_machine->vmport, 0xff0104); /* connect pm stuff to lpc */ ich9_lpc_pm_init(lpc); |