Closed manang closed 2 years ago
wrong config of vm
Hi manang I also encountered the same problem. Could you please tell me how you solved it?
docker run -it \
--device /dev/kvm \
-p 59922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}"\
-e GENERATE_UNIQUE=true \
sickcodes/docker-osx:auto
---------<snip>--------
8250.nr_uarts=1 root=UUID=e1e0d816-0a78-48dc-929a-3e40fd531b07 selinux=0 guestfs_verbose=1 TERM=xterm"
qemu-system-x86_64: error: failed to set MSR 0x48f to 0x7fefff00036dfb
qemu-system-x86_64: ../qemu-7.1.0/target/i386/kvm/kvm.c:3096: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed. <<<<<<<<<<<<<<<<<<<<<<<<<
libguestfs: error: appliance closed the connection unexpectedly, see earlier error messages
libguestfs: child_cleanup: 0x55f9795412a0: child process died
libguestfs: sending SIGTERM to process 909
libguestfs: error: /usr/bin/qemu-system-x86_64 killed by signal 6 (Aborted), see debug messages above
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
OS related issued, please help us identify the issue by posting the output of this
uname -a \ ; echo "${DISPLAY}" \ ; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \ ; grep NAME /etc/os-release \ ; df -h . \ ; qemu-system-x86_64 --version \ ; libvirtd --version \ ; free -mh \ ; nproc \ ; egrep -c '(svm|vmx)' /proc/cpuinfo \ ; ls -lha /dev/kvm \ ; ls -lha /tmp/.X11-unix/ \ ; ps aux | grep dockerd \ ; docker ps | grep osx \ ; grep "docker|kvm|virt" /etc/group
Hi, I'm trying to set up a new docker instance with monterey. this is my script
and this is my output
where is the problem? Thanks