Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-12-13 Thread Julien Grall
Hi Stefano, On 13/12/2023 00:18, Stefano Stabellini wrote: On Mon, 11 Dec 2023, Chuck Zmudzinski wrote: On 11/27/2023 9:28 PM, Stefano Stabellini wrote: On Mon, 27 Nov 2023, Chuck Zmudzinski wrote: On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: On 11/27/2023 7:45 AM, Mario Marietto wrote:

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-12-12 Thread Stefano Stabellini
On Mon, 11 Dec 2023, Chuck Zmudzinski wrote: > On 11/27/2023 9:28 PM, Stefano Stabellini wrote: > > On Mon, 27 Nov 2023, Chuck Zmudzinski wrote: > >> On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: > >> > On 11/27/2023 7:45 AM, Mario Marietto wrote: > >> >> @Chuck Zmudzinski

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-12-11 Thread Chuck Zmudzinski
On 11/27/2023 9:28 PM, Stefano Stabellini wrote: > On Mon, 27 Nov 2023, Chuck Zmudzinski wrote: >> On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: >> > On 11/27/2023 7:45 AM, Mario Marietto wrote: >> >> @Chuck Zmudzinski : Stay tuned. They want >> >> to help us. The

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-29 Thread Stefano Stabellini
Hi Mario, I suggest to do one step at a time and first to get it fully working using "xl" to create the FreeBSD guest. And afterwords to try to get libvirt to work. Both xl and libvirt call the same library underneath (libxl) to create guests, but xl is tested a lot more with Xen on ARM. I am not

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-29 Thread Elliott Mitchell
On Tue, Nov 28, 2023 at 03:04:50PM -0800, Elliott Mitchell wrote: > On Tue, Nov 28, 2023 at 04:10:50PM +0100, Roger Pau Monné wrote: > > On Tue, Nov 28, 2023 at 03:09:14PM +0100, Mario Marietto wrote: > > > For booting a FreeBSD kernel as a guest OS on XEN,should we install xen > > > 4.18 from sour

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-29 Thread Mario Marietto
Hello to everyone. I tried to use xen as a hypervisor instead of kvm + libvirt + virt-manager to boot FreeBSD on my ARM Chromebook where I have installed Devuan 5,since Stefano said : "That might work. libvirt + virt-manager with the xen accelerator might work on the ARM Chromebook. That's becaus

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Elliott Mitchell
On Tue, Nov 28, 2023 at 04:10:50PM +0100, Roger Pau Monné wrote: > On Tue, Nov 28, 2023 at 03:09:14PM +0100, Mario Marietto wrote: > > For booting a FreeBSD kernel as a guest OS on XEN,should we install xen > > 4.18 from source ? > I don't think so, I'm not aware of the FreeBSD port requiring a >

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Roger Pau Monné
On Tue, Nov 28, 2023 at 03:09:14PM +0100, Mario Marietto wrote: > For booting a FreeBSD kernel as a guest OS on XEN,should we install xen > 4.18 from source ? Please avoid top-posting. I don't think so, I'm not aware of the FreeBSD port requiring a specific version of Xen. I do think the work is

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Mario Marietto
For booting a FreeBSD kernel as a guest OS on XEN,should we install xen 4.18 from source ? On Tue, Nov 28, 2023 at 2:45 PM Roger Pau Monné wrote: > On Mon, Nov 27, 2023 at 03:04:30PM -0800, Elliott Mitchell wrote: > > BTW Roger Pau Monné, now that Xen 4.18 is out, take a look at the > > "royger"

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Roger Pau Monné
On Mon, Nov 27, 2023 at 03:04:30PM -0800, Elliott Mitchell wrote: > BTW Roger Pau Monné, now that Xen 4.18 is out, take a look at the > "royger" branch? I've pushed a bunch of those, there are still some, I've made comments on the branch. I think there isn't much left after the swept I've done.

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Mario Marietto
oh sorry I'm missing the DESTDIR parameter : $ make -DNO_MODULES KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7 DESTDIR=/build buildkernel On Tue, Nov 28, 2023 at 11:41 AM Mario Marietto wrote: > Hello. > > to try to compile the correct freebsd kernel that's recognized by xen > using the El

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-28 Thread Mario Marietto
Hello. to try to compile the correct freebsd kernel that's recognized by xen using the Elliott Michell code, are the commands below the correct ones ? $ truncate -s 100G xenvm.img $ mdconfig -f xenvm.img -u 0 $ newfs /dev/md0 $ mount /dev/md0 /mnt $ git clone https://gitlab.com/ehem/freebsd-src.g

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Elliott Mitchell
On Mon, Nov 27, 2023 at 10:57:42AM -0500, Chuck Zmudzinski wrote: > On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: > > > > I have been collaborating with Mario, and I can explain what we have done > > so far : > > > > We are using Julien's patch set against an old development version of > > Fr

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Stefano Stabellini
On Mon, 27 Nov 2023, Chuck Zmudzinski wrote: > On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: > > On 11/27/2023 7:45 AM, Mario Marietto wrote: > >> @Chuck Zmudzinski : Stay tuned. They want > >> to help us. The xen developers are great. Very good support for us. I'm

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Mario Marietto
Hello. I know two FreeBSD developers that can commit your patches,if they think that they are good. I could drop an email to them. I've hardly helped one of them with the testing when we have implemented the passthrough of a recent nvidia gpu on Linux. The second one is experienced with arm and vi

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Chuck Zmudzinski
On 11/27/2023 10:22 AM, Chuck Zmudzinski wrote: > On 11/27/2023 7:45 AM, Mario Marietto wrote: >> @Chuck Zmudzinski : Stay tuned. They want to >> help us. The xen developers are great. Very good support for us. I'm sure >> that you can give a good contribution to un

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Chuck Zmudzinski
On 11/27/2023 7:45 AM, Mario Marietto wrote: > @Chuck Zmudzinski : Stay tuned. They want to > help us. The xen developers are great. Very good support for us. I'm sure > that you can give a good contribution to understand what's our problem and > how to implement a

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Mario Marietto
@Chuck Zmudzinski : Stay tuned. They want to help us. The xen developers are great. Very good support for us. I'm sure that you can give a good contribution to understand what's our problem and how to implement a fix with the help of all those good guys. On Mon, Nov 27, 2023 at 11:56 AM Roger Pau

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Roger Pau Monné
On Mon, Nov 27, 2023 at 10:28:13AM +, Henry Wang wrote: > +(xen-devel and Arm maintainers, including Julien) > > > On Nov 27, 2023, at 18:03, Mario Marietto > > wrote: > > > > Hello. We have just virtualized Debian 12 on our arm (32 bit) > > Chromebook model xe303c12 . As host / dom0 we hav

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Henry Wang
+(xen-devel and Arm maintainers, including Julien) > On Nov 27, 2023, at 18:03, Mario Marietto wrote: > > Hello. > We have just virtualized Debian 12 on our arm (32 bit) Chromebook model > xe303c12 . As host / dom0 we have chosen Devuan 5,and for guest / domU,Debian > 12. It works great. But o