[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] -machine vmport=off: Allow disabling of VMWare
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] -machine vmport=off: Allow disabling of VMWare ioport emulation |
Date: |
Tue, 20 May 2014 09:40:40 +0200 |
> /* init basic PC hardware */
> - pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy, xen_enabled(),
> - 0x4);
> + pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy,
> + !qemu_opt_get_bool(qemu_get_machine_opts(),
> "vmport",
> + true) || xen_enabled(), 0x4);
pc_basic_device_init
(isa_bus, gsi, &rtc_state, &floppy,
!qemu_opt_get_bool(qemu_get_machine_opts(),"vmport",!xen_enabled()),
0x4);
?
This makes vmport switchable on xen too, with traditional behavior being
the default (off on xen, on otherwise).
cheers,
Gerd