Eu tenho um certo KVM que sempre fica preso quando tento desligá-lo. Isso paira para sempre. Depois de ligar para o virsh destroy kvm_name
, recebo o seguinte erro:
error: Failed to destroy domain tore
error: Failed to terminate process 28327 with SIGKILL:
Device or resource busy
O syslog me fornece as seguintes informações:
kernel: [46037.983584] INFO: task qemu-system-x86:28327 blocked for more than 120 seconds.
kernel: [46037.983593] Tainted: G U 4.14.0-0.bpo.2-amd64 #1 Debian 4.14.7-1~bpo9+1
kernel: [46037.983596] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kernel: [46037.983600] qemu-system-x86 D 0 28327 1 0x00000004
kernel: [46037.983607] Call Trace:
kernel: [46037.983621] __schedule+0x3cc/0x850
kernel: [46037.983628] schedule+0x36/0x80
kernel: [46037.983638] vhost_net_ubuf_put_and_wait+0x60/0x90 [vhost_net]
kernel: [46037.983646] ? remove_wait_queue+0x70/0x70
kernel: [46037.983652] vhost_net_ioctl+0x34f/0x920 [vhost_net]
kernel: [46037.983659] ? do_send_sig_info+0x6c/0xa0
kernel: [46037.983667] do_vfs_ioctl+0xa3/0x600
kernel: [46037.983675] SyS_ioctl+0x79/0x90
kernel: [46037.983680] system_call_fast_compare_end+0xc/0x97
kernel: [46037.983685] RIP: 0033:0x7fb363726e07
kernel: [46037.983689] RSP: 002b:00007ffdd7436ba8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
kernel: [46037.983694] RAX: ffffffffffffffda RBX: 000055b4ebfe2b70 RCX: 00007fb363726e07
kernel: [46037.983698] RDX: 00007ffdd7436bb0 RSI: 000000004008af30 RDI: 000000000000001c
kernel: [46037.983701] RBP: 000055b4ebf97fb0 R08: 000055b4e993e210 R09: 00000000ffffffff
kernel: [46037.983704] R10: 00007fb3540187b0 R11: 0000000000000246 R12: 000055b4ece4dcd0
kernel: [46037.983707] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
O KVM não está sendo desligado, mesmo com virsh destroy kvm_name
- ele permanece in shutdown
mode forever - apenas uma reinicialização ajuda.
Alguém teve o mesmo problema ou tem alguma sugestão?
Tags qemu kvm linux virtual-machine