Open msidana opened 5 years ago
Please try:
-smp socket=1,cores=4 or -smp socket=1,cores=2,threads=2
Refer to qemu documentation about this option.
чт, 5 сент. 2019 г., 8:44 Manik Sidana notifications@github.com:
I modified entrypoint.sh with different options to try launching the Windows VM with more CPUs. Surprisingly, it failed each time. Can you suggest how can I increase the CPUs to 4 or 8. I didn't get any helpful logs. qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] seems more like a warning as with the default entrypoint.sh, I go this, but it worked
- SCREEN_RESOLUTION=1024x768x24
- DISPLAY_NUM=99
- export DISPLAY=:99
- trap clean INT TERM
- XVFB_PID=6
- retcode=1
- [ 1 -eq 0 ]
- xdpyinfo -display :99
- xvfb-run -l -n 99 -s -ac -screen 0 1024x768x24 -noreset -listen tcp qemu-system-x86_64 -enable-kvm -machine q35 -smp sockets=1,cores=1,threads=2 -m 2048 -usb -device usb-kbd -device usb-tablet -rtc base=localtime -net nic,model=virtio -net user,hostfwd=tcp::4444-:4444 -drive file=snapshot.img,media=disk,if=virtio -loadvm windows
- retcode=1
- [ 1 -ne 0 ]
- echo Waiting xvfb... Waiting xvfb...
- sleep 1
- [ 1 -eq 0 ]
- xdpyinfo -display :99
- retcode=0
- [ 0 -ne 0 ]
- [ 0 -eq 0 ]
- X11VNC_PID=41
- wait
x11vnc -display :99 -passwd selenoid -shared -forever -loop500 -rfbport 5901 -rfbportv6 5901 -logfile /dev/null
--- x11vnc loop: 1 ---
--- x11vnc loop: waiting for: 42
PORT=5901 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-system-x86_64: warning: guest updated active QH ^C+ clean
- [ -n 6 ]
- kill -TERM 6 qemu-system-x86_64: terminating on signal 2
- [ -n 41 ]
- kill -TERM 41
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aerokube/windows-images/issues/14?email_source=notifications&email_token=AAKY23K3PZSATUB5DUNN4NLQICMEZA5CNFSM4ITZSB6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJNYZPQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKY23KRHFBPYDG4PY5H4NLQICMEZANCNFSM4ITZSB6A .
I modified
entrypoint.sh
with different options to try launching the Windows VM with more CPUs. Surprisingly, it failed each time. Can you suggest how can I increase the CPUs to 4 or 8. I didn't get any helpful logs.qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
seems more like a warning as with the defaultentrypoint.sh
, I go this, but it worked