gpt4 book ai didi

virtualization - QEMU:鼠标和键盘设置问题

转载 作者:行者123 更新时间:2023-12-04 01:36:25 28 4
gpt4 key购买 nike

我在 QEMU KVM 中运行 Windows 8,有两件事使它不太好用。

第一:鼠标很慢(它落后于运动),我看到最多的鼠标。这意味着每次我移动时,首先我会看到主机鼠标移动,然后 guest 鼠标慢慢进入它的下方。

第二:键盘不能很好地处理按键。因此,假设我按“a”几秒钟。通常我希望每 x 毫秒输入一次 a。在QEMU中,开始时只写一个a,只有当我释放 key 时,所有其他的才一次写入。

我的配置是:

<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit Windows_8
or other application using the libvirt API.
-->

<domain type='kvm'>
<name>Windows_8</name>
<uuid>b0208dac-b52b-1c2f-99a0-464daa8028b1</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode='custom' match='exact'>
<model fallback='allow'>Haswell</model>
<vendor>Intel</vendor>
<feature policy='require' name='tm2'/>
<feature policy='require' name='est'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='osxsave'/>
<feature policy='require' name='smx'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='ds'/>
<feature policy='require' name='vme'/>
<feature policy='require' name='dtes64'/>
<feature policy='require' name='abm'/>
<feature policy='require' name='ht'/>
<feature policy='require' name='acpi'/>
<feature policy='require' name='pbe'/>
<feature policy='require' name='tm'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ds_cpl'/>
<feature policy='require' name='rdrand'/>
<feature policy='require' name='f16c'/>
<feature policy='require' name='xtpr'/>
<feature policy='require' name='monitor'/>
</cpu>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm-spice</emulator>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/sda'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<interface type='network'>
<mac address='52:54:00:9f:53:97'/>
<source network='default'/>
<model type='rtl8139'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='vga' vram='65536' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</memballoon>
</devices>
</domain>

我尝试过所有类型的鼠标:PS/2、触摸板和 USB。

这是一个常见的问题,有什么解决办法吗?
也许一些客人司机? (但我只发现安装 Spice 的教程太难了,所以如果你知道可以理解的教程,请指点我)

感谢您提供任何有用的建议。

最佳答案

我不认为它与 QEMU 严格相关,因为它可能是 QEMU 和尤其是 Windows 之间的问题。
see this article ,它帮助我在几周前解决了类似的问题。

关于virtualization - QEMU:鼠标和键盘设置问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29620355/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com