18.2.
18.2.1. 复制链接链接已复制到粘贴板!
18.2.1.1. 复制链接链接已复制到粘贴板!
18.2.1.2. 复制链接链接已复制到粘贴板!
# subscription-manager refresh All local data refreshed# yum install -y virtio-win# yum upgrade -y virtio-win# ls /usr/share/virtio-win/ drivers/ guest-agent/ virtio-win-1.9.9.iso virtio-win.iso
# virt-xml WindowsVM --add-device --disk virtio-win.iso,device=cdrom Domain 'WindowsVM' defined successfully.
18.2.1.3. 复制链接链接已复制到粘贴板!
[D]
18.2.1.4. 复制链接链接已复制到粘贴板!
C:\WINDOWS\system32\netsh dump > backup.txtC:\WINDOWS\system32\msiexec.exe /i X:\virtio-win-gt-x86.msi /passive /norestart
C:\WINDOWS\system32\netsh -f backup.txt
18.2.1.5. 复制链接链接已复制到粘贴板!
18.2.2. 复制链接链接已复制到粘贴板!
18.2.2.1. 复制链接链接已复制到粘贴板!
# virsh edit windows-vm<features> [...] <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vpindex state='on'/> <runtime state='on' /> <synic state='on'/> <stimer state='on'> <direct state='on'/> </stimer> <frequencies state='on'/> </hyperv> [...] </features><clock offset='localtime'> ... <timer name='hypervclock' present='yes'/> </clock>
<hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vpindex state='on'/> <runtime state='on' /> <synic state='on'/> <stimer state='on'> <direct state='on'/> </stimer> <frequencies state='on'/> </hyperv> <clock offset='localtime'> ... <timer name='hypervclock' present='yes'/> </clock>
18.2.2.2. 复制链接链接已复制到粘贴板!
|
|
注意
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18.2.3. 复制链接链接已复制到粘贴板!
18.2.4. 复制链接链接已复制到粘贴板!
|
|
|
|
|
注意
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18.2.5. 复制链接链接已复制到粘贴板!
# bcdedit /set useplatformclock No