jclulow/illumos-kvm — Issue #9: Crash in kvm:has_svm
Author: willmurnane
Created: 2012-03-07 15:00:58+00:00
State: open

I tried compiling and adding the driver as described on the main page, in a machine which is itself running under ESXi virtualization. It didn't go so well; when I add_drv'ed kvm the machine hung. When I rebooted it panicked:

panicstr = BAD TRAP: type=e (#pf Page fault) rp=ffffff001fdf73a0 addr=1000 occurred in module "unix" due to an illegal access to a user address
panicstack = unix:die+f4 () | unix:trap+1218 () | unix:cmntrap+1ca () | unix:vsnprintf+4b5 () | genunix:cprintf+22b () | genunix:cmn_err+10d () | kvm:has_svm+2f () | kvm:kvm_arch_init+15 () | kvm:kvm_init+11 () | kvm:kvm_svm_init+1af () | kvm:kvm_attach+f3 () | genunix:devi_attach+a5 () | genunix:attach_node+12a () | genunix:i_ndi_config_node+11d () | genunix:i_ddi_attachchild+84 () | genunix:devi_attach_node+bc () | genunix:config_immediate_children+de () | genunix:devi_config_common+6f () | genunix:mt_config_thread+181 () | unix:thread_start+8 () |
crashtime = 1331090517
panic-time = March 6, 2012 10:21:57 PM EST EST
(end fault-list[0])

I can upload cores if desired. This machine is based on an Opteron 4170, which has AMD-V capabilities, but isainfo doesn't report them.