Re: PVH boot with qemu

2024-01-08 Thread Emile 'iMil' Heitor
On 1/8/24 23:05, Manuel Bouyer wrote: in consinit.c you have: +#if defined(XENPVHVM) || defined(GENPVH) +#ifndef GENPVH if (vm_guest == VM_GUEST_XENPVH) { if (xen_pvh_consinit() != 0) return; /* fallback to native console sel

Re: ATI video card not recognized

2024-01-08 Thread Bartlomiej Krawczyk
On 12/6/23 09:52, Reinoud Zandijk wrote: On Mon, Dec 04, 2023 at 04:15:39PM +0100, Reinoud Zandijk wrote: Another data point, Firefox with hardware acceleration is completely screwing up the display. GLXgears works fine though i still have some DRI access rights issues. I have a similar experie

Re: PVH boot with qemu

2024-01-08 Thread Manuel Bouyer
On Mon, Jan 08, 2024 at 10:03:07PM +0100, Emile 'iMil' Heitor wrote: > > This morning I was given the idea of having the possibility to build a > Xen-free kernel but still GENPVH capable. > This doesn't impact GENERIC which is still able to boot both Xen and > GENPVH with the following configurati

Re: PVH boot with qemu

2024-01-08 Thread Emile 'iMil' Heitor
This morning I was given the idea of having the possibility to build a Xen-free kernel but still GENPVH capable. This doesn't impact GENERIC which is still able to boot both Xen and GENPVH with the following configuration: options XENPVHVM options XEN hypervisor* at mainbus?

Re: VirtIO MMIO for amd64

2024-01-08 Thread Emile 'iMil' Heitor
Here's the full patch for GENPVH+cmdline MMIO+Firecracker support https://imil.net/NetBSD/genpvh+mmio.patch This patch includes: - generic PVH boot for qemu, Firecracker etc... see the "PVH boot with qemu" thread for details - a new bus, pvbus, used to attach devices that could be used in m