Re: VMX exit reason=33 and general userboot.so questions

2018-02-21 Thread Anish
>idtr[0] 0x/0x IDTR is not set, you can set the value same as in GDTR, from libvmm /* GDTR, IDTR */ desc_base = 0; desc_limit = 0x; desc_access = 0; error = vm_set_desc(vmctx, vcpu, VM_REG_GUEST_GDTR,

Re: VMX exit reason=33 and general userboot.so questions

2018-02-21 Thread Fabian Freyer
Hi Peter, thanks for your response! On 21 Feb 2018, at 17:59, Peter Grehan wrote: > >exit_reason 33 > > From the Intel SDM, vol 3B Appendix C, this error is "VM-entry failure due > to invalid guest state". Yes, I’m currently going through SDM, vol 3B, section 26.3, and > These e

Re: VMX exit reason=33 and general userboot.so questions

2018-02-21 Thread Peter Grehan
Hi Fabian, >exit_reason 33 From the Intel SDM, vol 3B Appendix C, this error is "VM-entry failure due to invalid guest state". These errors can be difficult to debug given the large amount of guest state involved :( However, looking at the state from your dump: > tr desc[0]

VMX exit reason=33 and general userboot.so questions

2018-02-20 Thread Fabian Freyer
Hi! I’m currently writing a userboot.so-compatible boot loader [1] and am slowly getting to a point were I want to do some testing with running test kernels in bhyve. At the moment, I’m getting the following error after loading my kernel: ---8< snip vm exit[0] reason VMX