Panic starting a bhyve guest after resume

Neel Natu neelnatu at gmail.com
Thu Dec 12 21:00:09 UTC 2013


Hi John,

On Thu, Dec 12, 2013 at 12:11 PM, John Baldwin <jhb at freebsd.org> wrote:
> If I suspend and resume my laptop and then try to start a guest after the
> resume, I get an odd panic.  It generates a privileged instruction fault (in
> kernel mode) for 'vmclear'.  I've checked CR4 and it claims that VMXE is set.
> I dont have any other ideas off the top of my head on what I should be poking
> at?  It looks like we read a bunch of MSRs in vmx_init(), but we don't write
> to them, and all vmx_enable() does on each CPU is set VMXE in CR4 from what I
> can tell.
>

It also does a "vmxon" on each logical cpu which may also need to be
done after a resume.

best
Neel

> --
> John Baldwin
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"


More information about the freebsd-virtualization mailing list