On Sat, Jan 27, 2018 at 12:56:47AM -0800, Dexuan-BSD Cui wrote: > Hi, > Today I found the KPTI patch broke FreeBSD VM running on Hyper-V: the VM > can't boot due to: > > vmbus0: cannot find free IDT vector > > This is the related snippet: > > dev/hyperv/vmbus/vmbus.c: vmbus_intr_setup() -> lapic_ipi_alloc() fails: > > /* > * All Hyper-V ISR required resources are setup, now let's find a > * free IDT vector for Hyper-V ISR and set it up. > */ > sc->vmbus_idtvec = lapic_ipi_alloc(pti ? IDTVEC(vmbus_isr_pti) : > IDTVEC(vmbus_isr)); > if (sc->vmbus_idtvec < 0) { > device_printf(sc->vmbus_dev, "cannot find free IDT > vector\n"); > return ENXIO; > } > > Luckily for now I can work around this boot failure by adding vm.pmap.pti=0 > into /boot/loader.conf. > > Any suggestion?
Try r328468. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"