ping
On Thu, Apr 2, 2015 at 7:02 PM, Marc-André Lureau <marcandre.lureau@xxxxxxxxx> wrote:
Hi,
The QEMU machine vmport option allows to set the VMWare IO port
emulation. This emulation is useful for absolute pointer input when the
guest has vmware input drivers, and is enabled by default for kvm.
However it is unnecessary for Spice-enabled VM, since the agent already
handles absolute pointer and multi-monitors. Furthermore, it prevents
Spice from switching to relative input since the regular ps/2 pointer
driver is replaced by the vmware driver. It is thus advised to disable
vmport when using a Spice VM. This will permit the Spice client to
switch from absolute to relative pointer, as it may be required for
certain games or applications.
The following patch series allows to configure the vmport feature.
The first version sent used a domain attribute, Daniel Berrange
suggested to use a feature instead. I sent a second version that
didn't receive reviews. Hopefully this one will stand more chances!
cheers
Marc-André Lureau (5):
docs: add domain vmport feature
domain/conf: add VIR_DOMAIN_FEATURE_VMPORT
qemu: add QEMU_CAPS_MACHINE_VMPORT_OPT
qemu: add machine vmport argument
tests: add machine-vmport-opt qemu test
docs/formatdomain.html.in | 6 +++++
docs/schemas/domaincommon.rng | 9 +++++++
src/conf/domain_conf.c | 5 +++-
src/conf/domain_conf.h | 1 +
src/qemu/qemu_capabilities.c | 6 +++++
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 14 +++++++++++
.../qemuxml2argv-machine-vmport-opt.args | 6 +++++
.../qemuxml2argv-machine-vmport-opt.xml | 28 ++++++++++++++++++++++
tests/qemuxml2argvtest.c | 2 ++
10 files changed, 77 insertions(+), 1 deletion(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-vmport-opt.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-vmport-opt.xml
--
2.1.0
--
Marc-André Lureau
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list