Live data from Hacker News

QEMU 6.0

qemu.org

31–40 of 90 posts

Re: QEMU 6.0

#31

Does this support Apple Silicon yet without patches? Can’t seem to see definite info.

There's an app that wraps QEMU called UTM. It's open source but also you can pay $10 and get it on the app store.

I have had a lot of trouble with machines getting corrupted, not working at all, locking up, but I did get a Debian machine working that runs ARM Linux on my Macbook Air M1.

https://getutm.app/

Re: QEMU 6.0

#32
post #31

Does this support Apple Silicon yet without patches? Can’t seem to see definite info.

There's an app that wraps QEMU called UTM. It's open source but also you can pay $10 and get it on the app store. I have had a lot of trouble with machines getting corrupted, not working at all, locking up, but I did get a Debian machine working that runs ARM Linux on my Macbook Air M1. https://getutm.app/

+1 for UTM - The website for mac (https://mac.getutm.app/) has some recipes and pre-built image for Windows and the main Linux distros. I had okay results with emulating Windows -- nothing usable in my day to day, though.

Re: QEMU 6.0

#33
post #4

Are there any option for emulation of 68k machines ?

Last I played with the coldfire and 68k emulations in qemu to try to get it to boot EmuTOS (an Atari ST operating system) I found a lot of the I/O devices lacking, even just to run headless.

It was sufficient to boot Linux in some configurations but not complete enough of an emulation to run other things. This is in general the story with many things in QEMU.

I didn't keep notes, I suppose I should have. I might revisit this again someday.

Re: QEMU 6.0

#34
post #22

Can something like this be used to, say, build emulators for different game consoles? And do the popular emulators use this as a building block? Asking this as someone whose only experience with emulation and virtualization is running games on VisualBoyAdvance and running Ubuntu on VirtualBox

You could build emulators for consoles, but QEMU is not cycle accurate. Meaning some operations may finish faster or slower than they would on the original console. Some games may rely on that timing for things like physics engines and break in weird ways.

Re: QEMU 6.0

#35
post #25
post #14

Semi-related question... I recently spent an evening trying to familiarize myself with virtualization tooling and my initial impression was that the CLI experience for kvm and hyper-v was rather clunky compared to let's say docker, gcloud, ignite and kubectl. Also a lot of the learning material seems to be oriented towards GUI. It could be that I just haven't spent enough time with kvm and hyper-v. I've spent a LOT o…

Look at LXC/LXD you get both VMs and containers with the same CLI.

How do you get VMs with LXC/LXD?

Also LXD's command line tool being

    lxc
(with c instead of d) while LXC's being

    lxc-*
is an abomination. Who wouldn't be confused by that?

Re: QEMU 6.0

#36
post #4

Are there any option for emulation of 68k machines ?

Last I played with the coldfire and 68k emulations in qemu to try to get it to boot EmuTOS (an Atari ST operating system) I found a lot of the I/O devices lacking, even just to run headless. It was sufficient to boot Linux in some configurations but not complete enough of an emulation to run other things. This is in general the story with many things in QEMU. I didn't keep notes, I suppose I should have. I might revi…

m68k emulation in QEMU has matured quite a bit in the past years thanks to the efforts of Laurent Vivier.

Re: QEMU 6.0

#37
post #7
post #6

Earlier quoted context omitted.

Do you mean TSG? From https://wiki.qemu.org/ChangeLog/6.0#TCG > TCG > Added support for Apple Silicon hosts (macOS)

TSO is Total Store Ordering, which refers to the memory model of x86_64. For Rosetta 2, Apple will switch the M1 processor's memory model when emulating x86_64.

Does this mean you can run an x86 VM faster than a snails pace?

I tried an WinXP VM on my M1 Air just for fun but got the performance of an early Pentium. I know emulation is slow but was hoping for a little more.

Re: QEMU 6.0

#38
post #22

Can something like this be used to, say, build emulators for different game consoles? And do the popular emulators use this as a building block? Asking this as someone whose only experience with emulation and virtualization is running games on VisualBoyAdvance and running Ubuntu on VirtualBox

Yes: https://xemu.app/ https://xqemu.com/ Are both original Xbox emulators built off of QEMU (Xemu is a fork of XQEMU). I've only used Xemu, but performance was pretty good for the games I tried on it (it doesn't have a way to upscale rendering yet though).

Good news! Upscaling is in work but buggy right now.

https://github.com/mborgerson/xemu/tree/feat/surf-scale

Re: QEMU 6.0

#39
post #14

Semi-related question... I recently spent an evening trying to familiarize myself with virtualization tooling and my initial impression was that the CLI experience for kvm and hyper-v was rather clunky compared to let's say docker, gcloud, ignite and kubectl. Also a lot of the learning material seems to be oriented towards GUI. It could be that I just haven't spent enough time with kvm and hyper-v. I've spent a LOT o…

QEMU can be daunting at first (like ffmpeg, also by Fabrice Bellard!). But check out this 2018 guide to using QEMU by Drew Devault:

https://drewdevault.com/2018/09/10/Getting-started-with-qemu...

I stopped bothering with libvirt and other frontends for local dev environments. Now I use shell scripts to start my VMs. I only create one per month or two so it isn't that much of a hassle.

Re: QEMU 6.0

#40

Does this support Apple Silicon yet without patches? Can’t seem to see definite info.

Should work for TCG (emulation); not yet for HVF (virtualization).
Post reply on HN