New answers tagged

0 votes

failed starting vm with libvirt/qemu permission denied

I found a fix/workaround. I added the path where the images of my vm's are stored to /etc/apparmor.d/abstractions/libvirt-qemu like so /path/to/my/files/* rwk, /path/to/my/files/ rwk, Now the VM ...
1 vote

How to tell qemu to randomly assign MAC addresses

You don't want to do that. Using random MAC addresses will inevitably end up with MAC address conflicts - that's why you're seeing those search results. Instead, you should assign a different hard-...
  • 70k
0 votes

Qemu - Pass tty device from host to guest machine

I am also trying to pass through a TTY device from host to guest. In my case it is a USB adapter, controller. I had success using the Qemu USB emulation: -chardev serial,path=/dev/ttyACM0,id=acm \ -...
0 votes

Cannot get USB passthrough working with QEMU MacOS (Arch Linux host)

I just got this to work although the MacOS wasn't the issue. The user I was running qemu with didn't have access to the usb device I was trying to pass trough, e.g. $ ll /dev/bus/usb/003/014 $ crw-rw-...
  • 101
0 votes

Kernel I built from Debian sources doesn't see QEMU /dev/vda despite same setup working for prebuilt Debian kernels

You probably need — at the very least — the following kernel configuration: CONFIG_BLOCK=y CONFIG_BLK_DEV=y CONFIG_DEVTMPFS=y CONFIG_VIRTIO_MENU=y CONFIG_VIRTIO_BLK=y Then mount devtmpfs to /dev in ...
0 votes

QEMU: where is dhcp configuration file for vmnet-shared

Take a look at /Library/Preferences/SystemConfiguration/com.apple.vmnet.plist
0 votes

Using libvirt with Qemu and cannot load kernel?

First: I'm suspicious of the use of relative paths (../Downloads) in the XML file; those might be interpreted relative to the cwd for libvirtd, rather than your cwd. I would replace those with fully ...
  • 27.3k
0 votes

Windows10 VM won't boot after Linux host reinstall

Is it possible the Master Boot Record used for the Windows 10 installation became over-written or corrupted during your re-installation of your primary OS, Kubuntu? As such, Windows 10 wouldn't know ...
1 vote
Accepted

Emulating ARM v8 to run DietPi in qemu for userspace software

This post seems to have the answer. Based on that, I'm able to boot the ARMv8 image like this (after copying kernel8.img and bcm2710-rpi-3-b.dtb out of the image): qemu-system-aarch64 \ -m 1024 \ ...
  • 27.3k

Top 50 recent answers are included