Questions tagged [qemu]

QEMU is a cross-platform processor emulator.

209 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 votes
0 answers
5k views

One click GPU passthrough to VM in Gnome-Boxes?

Felipe Borges, Gnome Developer, spoke last year about new feature in gnome-boxes that allow simple PCI GPU passthrough to VM. However, I can't find any information on the gnome documentation or ...
Gary Z's user avatar
  • 161
4 votes
0 answers
925 views

Unable to start QEMU VM with SDL display due to Apparmor: cannot load AppArmor profile 'libvirt-32963ecb-fd2f-454c-93a6-c818af618ba4'

I am trying to run my virtual machines in virt-manager using SDL as my display, rather than a spice server. The VMs boot flawlessly with spice but when I switch its display to SDL I get the following ...
Kiko's user avatar
  • 41
4 votes
0 answers
2k views

How does x86_64 Ubuntu 20.04 run aarch64 ELF executables?

I build a Docker container from the following Dockerfile: FROM ubuntu:20.04 RUN apt-get update && apt-get -y install clang gcc-aarch64-linux-gnu I'm on an x86_64 macOS v10.15.7 host system ...
pretzelhammer's user avatar
4 votes
1 answer
6k views

How to boot and install the Ubuntu server image on QEMU -nographic without the GUI?

At How to run Ubuntu 16.04 Desktop on QEMU? I have described in detail how to boot and install the desktop Ubuntu image on QEMU. Now I wanted to do a similar setup for the server image to try keep ...
Ciro Santilli OurBigBook.com's user avatar
4 votes
0 answers
990 views

How to set up debugger for ARM Assembly using qemu and gdb

I followed this tutorial as well as this one to set up a compiler + debugger for ARM Assembly. Following the first one, I ran the command qemu-arm -singlestep -g 1234 emptyand started a new shell, ...
Grunwalski's user avatar
4 votes
0 answers
2k views

Very slow speed while mounting via SSHFS

My host is ubuntu 12.04. My guest is vanilla 3.0.33 kernel with custom rootfs. I have encountered the subj problem, while mounting host folder on the guest machine via sshfs. sshfs [email protected]....
Alex Hoppus's user avatar
4 votes
1 answer
2k views

Ubuntu Server Raspberry Pi on QEMU

I would like to do some testing of Ubuntu Server 20.04 Raspberry Pi images I have created. But I currently don't have a spare raspberry pi to test with. I've found guides on how to emulate Raspberry ...
mikeglover's user avatar
3 votes
0 answers
230 views

Screen locked on desktop resize (aarch64 virtual machine)

I use Ubuntu 22.10 (and used all previous versions) in various environments, mostly virtual machines. I just ran into a new unexpected and annoying behavior on aarch64 (64-bit Arm). When I resize the ...
Thierry Lelegard's user avatar
3 votes
1 answer
2k views

Ubuntu 20 LTS. How to adjust [email protected] timeouts?

I am running the ARM64 build of Ubuntu 20.04 under QEMU. ~50% of the time the boot process reports this: [ TIME ] Timed out waiting for device /dev/ttyAMA0. [DEPEND] Dependency failed for Serial Getty ...
J Evans's user avatar
  • 151
3 votes
0 answers
1k views

Ubuntu 21.04 (64-bit) fails to boot on QEMU raspi3 machine

I'm trying to launch prebuilt Ubuntu for Raspberry Pi on QEMU and I managed to do that successfully with 20.04.2 by following steps below. Download the image https://ubuntu.com/download/raspberry-pi -&...
Radek Simko's user avatar
3 votes
0 answers
2k views

Virtual Machine Manager not showing edit XML option

I'm looking to use my virtual machine manager to setup a Windows KVM/QEMI. I followed this tutorial... https://www.youtube.com/watch?v=2WDASJ0ye0A It's for Arch Linux but I managed to do it. I'm stuck ...
Lazee Wolf's user avatar
3 votes
0 answers
4k views

qemu-system-x86_64: Property '.md-clear' not found'

I tried to start a Windows VM using QEMU/KVM (and virt-manager) on Ubuntu 16.04, it worked perfectly before I upgraded the qemu version from 2.5 to 3.0 (I followed this to build and install qemu3.0). ...
Corey's user avatar
  • 297
3 votes
1 answer
1k views

Emulate NUMA machine with virt-manager

I need to develop a C program which uses libnuma library. But I don't have a NUMA machine at home, and the function numa_avaiable() returns 0. I would like to emulate a NUMA machine. So, I have ...
Douglas Pasqualin's user avatar
3 votes
0 answers
829 views

Higher than 1440p in Gnome Boxes with Spice?

Is it possible to increase the maximum resolution in Gnome Boxes(QEMU KVM) to 4K? Currently it is limited to 1440p. I'm using the Spice drivers. Host: Ubuntu 15.10 w/ GNOME Guest: Windows Server ...
Moo's user avatar
  • 101
3 votes
0 answers
928 views

QEMU-KVM with VLANS and no bridges

Please be gentle, I'm both a novice Ubuntu user and novice networking guy. I'm trying to put together a virtual server to support a couple of telephony applications at my office. Both applications ...
Qzwsa's user avatar
  • 31
3 votes
0 answers
707 views

How do I make wireless bridged networking work with linux guest in kvm/qemu?

I am running the ubuntu 13.10 cloud image on kvm/qemu. The guest networking works fine operating in NAT mode when on wireless. Wired bridged networking (eth0 + macvtap) works fine as well. When ...
Andreas Steffan's user avatar
2 votes
0 answers
2k views

Problem with GUI apps: Cannot open display [Docker Desktop, Ubuntu Host, Ubuntu based image]

I'm having problem with opening any GUI application in a running container. In short, I always get similar "cannot open display" errors from different applications. Platform Host : Ubuntu 22....
volkbay's user avatar
  • 21
2 votes
0 answers
585 views

Windows 10 on Ubuntu KVM run very slow after upgrade to 22.04

I have Windows 10 pro installed from this guide that run Docker container on Ubuntu KVM. The performance of Windows on Ubuntu 20.04 was very good, but after the upgrade to Ubuntu 22.04 it is a ...
tw8sw8dw8's user avatar
2 votes
1 answer
3k views

Boot Physical Windows Drive with Virt-Manager/QEMU

I have two separate hard drives in my computer. The first is Kubuntu. The second is Windows 10. I've successfully gotten the Win10 drive botted and running in VirtualBox. However, VirtualBox does not ...
Serenova's user avatar
2 votes
0 answers
3k views

QEMU Guest hat not initialized the display (yet) | Ubuntu 21.10 arm64

Actually I have a problem by using qemu on my Windows 10 to built an Ubuntu arm64 Image. I creating the qemu VM with packer, it works fine, but it still hang after typing the boot parameters. After ...
DonPaolo's user avatar
2 votes
0 answers
3k views

Windows 10 with GPU passthrough crashes on Ubuntu 20.04

Until recently I was running Ubuntu 19.10 and had Win 10 VM with a GPU that was passed through. Everything worked fine. A few days ago I made a clean installation of 20.04 and I have not been able to ...
Phoenix's user avatar
  • 121
2 votes
1 answer
395 views

Compiling QEMU in ubuntu 20.04 by command `make -j` makes system hang

I want to build qemu from source in my Ubuntu 20.04. It seems ordinary to build QEMU by following the official instruction. Execution of command make -j works well at the beginning, and slows down ...
Douglas Su's user avatar
2 votes
1 answer
5k views

How to boot Ubuntu Cloud image using QEMU

I created config files echo 'password: asd' > userdata echo 'local-hostname: localhost' > metadata Then created iso from them genisoimage -output geniso.iso -volid cidata -joliet -rock ...
phoxd's user avatar
  • 131
2 votes
1 answer
481 views

Microphone stops working in libvirt

I had a Windows 10 running in libvrit (qemu) in ubuntu 18.04 which worked perfectly fine. I upgrade the ubuntu to 20.04 then I experience a problem with the microphone inside the VM. The mic works ...
Nelson's user avatar
  • 21
2 votes
1 answer
4k views

qemu and virtio-vga black screen in Android

QEMU emulator version 4.0.0 (Debian 1:4.0+dfsg-0ubuntu9.3) kernel 5.3.0-29-generic host Ubuntu 19.10 guest: Android 8.1 While trying to run qemu-system-x86_64 -drive media=cdrom,readonly,file=...
Matei Alexandru Coltoiu's user avatar
2 votes
0 answers
6k views

KVM/Qemu: VMs won‘t boot

Recently I installed several VMs (of some Linux distributions) under KVM/Qemu on my (19.04-)system. They worked just fine, but only one time, immediately after installation. Once I shut them down, ...
Tig0815's user avatar
  • 21
2 votes
1 answer
2k views

remmina + qemu + linux client == clipboard woes

I have a kubuntu host running 19.04 and remmina installed from remmina-next. Guest is regular ubuntu 19.04, accessed through spice protocol. More than half of clipboard copies get "eaten" by the host:...
velis's user avatar
  • 419
2 votes
1 answer
3k views

Working internet access / network bridge on Ubuntu running virtual machine?

Please consider the following scenario. Host: Ubuntu 18.04 LTS desktop with latest updates. QEMU version 3.1. Network managed by network-manager with working wireless connection to the Internet. $...
mgw's user avatar
  • 134
2 votes
0 answers
6k views

qemu kvm permission denied error despite running as root

I had qemu/kvm working perfectly. Then I rebooted one day and it would not work any more. It worked for maybe 1-2 years stably (ignoring hardware issues, has run nvidia and amd fine) until recently it ...
J. Doe's user avatar
  • 21
2 votes
0 answers
683 views

Why can't I run my images on QEMU? (Infinite Loop at VM boot)

Running Ubuntu 14.04 64-bit. I've installed QEMU/KVM, and I'm trying to create a Virtual Machine running Android using a .iso obtained from the Android-x86 project. I can run the .iso using -cdrom &...
Amy's user avatar
  • 21
2 votes
0 answers
1k views

qemu arm64 emulation on host x86, it stuck when booting kernel

I am trying to emulate ARM architecture using QEMU. My host OS is ubuntu 16.04 and the guest OS inside the emulated machine is also ubuntu 16.04. Hardware specifications of my host system are: ...
khemendra's user avatar
2 votes
1 answer
7k views

How to install a version of qemu and libvirt that doesn't come with apt-get

I need to install QEMU 2.5.0 and libvirt 1.3.3 to get around Nvidia driver issues (Code 43) when doing GPU passthrough on a windows VM. See first article under troubleshooting in src for details. I'...
smuseus's user avatar
  • 31
2 votes
1 answer
4k views

How to configure UEFI guests in Gnome-Boxes?

I'm currently testing mainline kernels which is why I can't use VirtualBox at the moment, thus I'm looking at the other options available and Gnome-Boxes looks neat. Trying to import my VirtualBox ...
LiveWireBT's user avatar
  • 28.7k
2 votes
0 answers
2k views

Emulating ARM environment using QEMU

I am trying to emulate ARM architecture using QEMU. My host OS is ubuntu 16.04 and the guest OS inside the emulated machine is also ubuntu 16.04. Hardware specifications of my host system are: ...
D. A's user avatar
  • 173
2 votes
0 answers
474 views

Fail to Nvidia GPU passthrough in Ubuntu

I followed this post to setup the passthrough. I also referred some other articles. I installed the driver following this article. I tried both the following options for qemu 2.2: -device ioh3420,...
Hangchen Yu's user avatar
2 votes
0 answers
568 views

Network connection from QEmu ARM-Ubuntu Trusty

I am hosting Ubuntu 16.04 on Virtual Box from Windows 10. Inside that Ubuntu 16.04, there is QEmu emulating ARM processor, running Ubuntu Trusty. However, the ARM Ubuntu doesn't have internet ...
Serge Rogatch's user avatar
2 votes
0 answers
295 views

virt-manager: “Storage parameter error: directory is not managed on the remote host” when importing an existing image from a mounted drive

A server I manage remotely has a KVM/QEMU image stored on a non-os, mounted drive /mnt/drive. When I use virt-manager to import the disk image, I get the following error: Storage parameter error. ...
Darthtrader's user avatar
2 votes
0 answers
606 views

Error with qemu emulator

I was writing a boot sector program(in assembly) and created the binary using nasm. The command od -t x1 -A n boot sect.bin confirmed the bytes the assembler had created. However, when I loaded ...
envy_intelligence's user avatar
2 votes
0 answers
526 views

How to get qemu binaries for mips

I am a new user for qemu. I successfully compiled for my system (x64) but when I tried to compile it for mips it generate error that Why I think that is there any way to get already compiled binary ...
Hafiz Muhammad Shafiq's user avatar
2 votes
1 answer
240 views

Permanently translate a binary for a different architecture?

I use an ARM machine, so I'm always digging around for this sort of thing. I've been told that qemu translates processor instructions "on the fly". Hewever, on a Raspberry Pi, this is slow and ...
Nonny Moose's user avatar
  • 2,245
1 vote
0 answers
77 views

AMD 7800XT GPU passthru Virt-manager Ubuntu 22.04LTS dont properly work

Intro: Hello, I have two GPUs, one NVIDIA 3060 and a AMD 7800XT. I would like to have the nvidia to the host itself, and passthru the amd GPU to a W11 VM in virt-manager. I have already did the ...
cookiemonster's user avatar
1 vote
0 answers
172 views

Ubuntu 22.04 LTS Bridged networking host DNS not working after reboot

I seem to have a bit of an odd situation here. I just setup bridged networking on my Ubuntu desktop using nmcli, and everything was great until I rebooted. I set it up so that the bridged network ...
Offspring's user avatar
1 vote
0 answers
821 views

qemu: drive with bus=0, unit=0 (index=0) exists

I am trying to enable trace events using the trace-file on option in qemu. When I executed the following command: sudo qemu-system-x86_64 -drive format=raw,file=/var/lib/libvirt/images/ubuntu-box1-vm-...
Kirti's user avatar
  • 11
1 vote
1 answer
390 views

Stuck on the 'Try or Install Ubuntu' screen when booting Ubuntu in qemu emulator on Linux server. How do I troubleshoot?

I am unable to boot ubuntu ISO Image from qemu on Linux Server. Aim : I am trying to boot a ubuntu virtual machine from qemu emulator on Linux server. I tried the following commands. qemu-img create -...
PODILI CHAITANYA AKHIL KUMAR's user avatar
1 vote
0 answers
102 views

Automatically spawning a clean Ubuntu 22.10 installation in Qemu?

After having manually set up an Ubuntu 22.10 Installation sudo apt install spice-vdagent # To allow copy paste into QEMU Ubuntu sudo apt-get install qemu-kvm cd ~/Downloads Then one can manually ...
a.t.'s user avatar
  • 317
1 vote
0 answers
27 views

How do I move my default virtual bridge to my NIC team

I'm new to Ubuntu and I've been asked to spin up a host server for some VMs. My Ubuntu 22.04 server OS is installed and I have my hypervisor installed and working. I can even create VMs that can ...
C P's user avatar
  • 11
1 vote
0 answers
1k views

QEMU VM network bridge in WLAN/Wifi

Host (Ubuntu 22.04.1 LTS) is connected through WLAN/Wifi. My goal: QEMU VM (Linux Kernel created with buildroot) has it's own local IP address, host can reach VM through this IP address it doesn't ...
max5432432's user avatar
1 vote
0 answers
443 views

how to enlarge the gui or increase font size when launching qemu

I run qemu on ubuntu, which is running in virtualbox of MacBook pro. The size of qemu's font is too small or the gui is too small. How to enlarge the qemu gui or increase the font size of qemu. Below ...
sunhang's user avatar
  • 111
1 vote
0 answers
856 views

Cross Compile QEMU from Ubuntu to Windows 10

For several days I have been stuck trying to cross compile QEMU for windows 10 x64. I am not familiar with minwg at all. I read a lot of pages but most of time it seems to be to old or or to not use ...
Vonkel.'s user avatar
  • 111
1 vote
0 answers
9k views

Unable to connect to libvirt qemu://system

I am trying to setup a GPU passthrough for KVM but I've been facing this egregious problem the whole time. Basically, it's telling me to verify whether libvirt is running or not. Unable to connect to ...
Aleeq's user avatar
  • 11

1
2 3 4 5