These are the config parameters if the hardware is x86_64 : ./configure --target-list=x86_64-softmmu --enable-opengl --enable-gtk --enable-kvm --enable-guest-agent --enable-spice --audio-drv-list="oss pa" --enable-libusb
I don't know if those parameters are valid even for armhf. On Fri, Aug 11, 2023 at 3:00 PM Mario Marietto <marietto2...@gmail.com> wrote: > ok thanks. Are the following parameters correct still today ? something is > missing ? thanks. > > a) to compile qemu : > > ./configure \ > --target-list=arm-softmmu \ > --audio-drv-list=alsa,pa \ > --enable-fdt --enable-kvm --enable-sdl > > b) to run a guest os (I want to virtualize FreeBSD) > > > qemu-system-arm \ > -enable-kvm -serial stdio -kernel (here I think that I should put the > FreeBSD kernel,but I'm not sure at all,I should ask) \ > -m 512 -M virt -cpu cortex-a15 \ > -drive file=ubuntu.img,id=virtio-blk,if=none \ > -device virtio-blk,drive=virtio-blk,transport=virtio-mmio.0 \ > -device > virtio-net,transport=virtio-mmio.1,netdev=net0,mac="52:54:00:12:34:55" \ > -netdev type=user,id=net0 \ > -append "earlyprintk=ttyAMA0 console=ttyAMA0 mem=512M \ > virtio_mmio.device=1M@0x4e000000:74:0 \ > virtio_mmio.device=1M@0x4e100000:75:1 \ root=/dev/vda rw ip=dhcp > --no-log" > > I used -M virt,because you said that -M vexpress-a15 is not good. I hope that > -cpu cortex-a15 is good,anyway. > > > On Fri, Aug 11, 2023 at 2:36 PM Paul Menzel <pmen...@molgen.mpg.de> wrote: > >> Dear Mario, >> >> >> Am 11.08.23 um 14:29 schrieb Mario Marietto: >> > ok. Can you share the github address ? I found the source code for >> > x86-x64 but not for armhf. >> The source code archive [1] contains the code for all architectures. >> From that you configure your build environment, where you can specify >> the target architecture. >> >> >> Kind regards, >> >> Paul >> >> >> PS: If 2008 in your email address is your year of birth, it looks like >> you are quite young. Great, that you are interested in computers and >> FLOSS in your age. >> >> PPS: Please try to follow the netiquette, and copy the behavior you see >> from lists. In this case, please use interleaved style [2], when replying. >> >> >> [1]: https://gitlab.com/qemu-project/qemu >> [2]: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style >> > > > -- > Mario. > -- Mario.