Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to launch with increase CPUs #14

Open
msidana opened this issue Sep 5, 2019 · 1 comment
Open

Not able to launch with increase CPUs #14

msidana opened this issue Sep 5, 2019 · 1 comment

Comments

@msidana
Copy link

msidana commented Sep 5, 2019

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
@aandryashin
Copy link
Member

aandryashin commented Sep 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants