Live data from Hacker News

QEMU 6.0

qemu.org

41–50 of 90 posts

Re: QEMU 6.0

#41
Is there any screenshots of the QEMU GUI running? I'm thinking of using it, but I am aghast that there's no screenshots page on the website.

Also: how do you pass files into QEMU? Does it have software similar to Virtualbox's 'guest additions' software?

Re: QEMU 6.0

#42
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…

There's a lot of useful command-line tooling for KVM- and QEMU-based virt. Here's a small selection of them: • virsh — This[1] is libvirt's shell interface; and gives you access to the rich set of libvirt APIs. • virt-builder — Use this for rapidly building minimal or customized virtual machines; it's greatly flexible; check out its man page[2]. And here's[3] a quick example that connects both virt-builder and virsh…

In terms of speed, how is virt-builder compare to say Terraform?

Terraform is dog slow sometimes due to cloud provisioning. Would be nice to just be able to build the VM locally then push the AMI/VHD into AWS or Azure.

Re: QEMU 6.0

#43
post #8
post #4

Are there any option for emulation of 68k machines ?

This is a video of the maintainer talking about the new virtual 68k 'machine'. https://www.youtube.com/watch?v=s_ve0bCC9q4 I'm also experimenting with hybrid emulation on the mister minimig - i.e. using qemu as the CPU and the FPGA for the Amiga hardware. https://misterfpga.org/viewtopic.php?f=4&t=2397

I wish you luck! I've been reading a lot about the MiSTer project lately and it is getting harder and harder to resist taking the plunge. There is some amazing work going on there lately.

For those that missed it, here is a recent article on the project...

https://www.pressreader.com/australia/edge/20210422/28424953...

Re: QEMU 6.0

#44

Is there any screenshots of the QEMU GUI running? I'm thinking of using it, but I am aghast that there's no screenshots page on the website. Also: how do you pass files into QEMU? Does it have software similar to Virtualbox's 'guest additions' software?

There's virtio-fs, but it requires a relatively recent Linux kernel.

For Windows, I have samba running on my host.

Re: QEMU 6.0

#45

Is there any screenshots of the QEMU GUI running? I'm thinking of using it, but I am aghast that there's no screenshots page on the website. Also: how do you pass files into QEMU? Does it have software similar to Virtualbox's 'guest additions' software?

You're being unfairly downvoted, so allow me to actually answer your first question.

QEMU doesn't have much of a GUI to speak of. It's a virtualization framework with some CLI tooling on top of it. Frontends/management UI's/etc are left as an exercise to the community so you can find one that suits your needs.

For example, a popular one for macOS these days is UTM: https://mac.getutm.app

QtEmu is another: https://qtemu.org

Re: QEMU 6.0

#46
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're looking for MESS: http://mess.redump.net/

Re: QEMU 6.0

#48
post #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.

Is that also true for Xbox games?

Re: QEMU 6.0

#49

Earlier quoted context omitted.

There's a lot of useful command-line tooling for KVM- and QEMU-based virt. Here's a small selection of them: • virsh — This[1] is libvirt's shell interface; and gives you access to the rich set of libvirt APIs. • virt-builder — Use this for rapidly building minimal or customized virtual machines; it's greatly flexible; check out its man page[2]. And here's[3] a quick example that connects both virt-builder and virsh…

In terms of speed, how is virt-builder compare to say Terraform? Terraform is dog slow sometimes due to cloud provisioning. Would be nice to just be able to build the VM locally then push the AMI/VHD into AWS or Azure.

I don't know how Terraform works, but `virt-builder` will cache the xz-compressed template images locally on your first pull. So for example, if you build a Fedora image:

    $ virt-builder fedora-32 --size 10G --format qcow2
Then the (xz-compressed) template Fedora 32 image will be cached under ~/.cache/virt-builder. So your subsequent Fedora 32 image provisioning will be much faster.

You might want to give it a whirl and see if it satisfies your needs; `virt-builder` should be available on most major Linux distributions.

Post reply on HN