Questions tagged [qemu]

QEMU is a cross-platform processor emulator.

Filter by
Sorted by
Tagged with
1
vote
0answers
27 views

how could i resolve this execution error?

I try to execute a code.elf by qemu (I cross compile riscv-32) but I got this error: aitmanss@lo-lester-032:~/ismail/hello_world/baremetal-riscv-qemu-virtio-master/uart$ /opt/qemu-riscv/bin/qemu-...
0
votes
0answers
18 views

Ownership of some qcow files in /var/lib/libvirt/images keeps reverting to root:root

I've got five VMs built, but issues with two. The .qcow files revert to root:root ownership after every reboot, and when they're owned that way, the VMs don't autostart properly. I can chown them to ...
1
vote
1answer
33 views

Virt-Manager gui missing “light bulb”

I installed "virt-manager" 2.2.1 on my 20.04 desktop and created a VM in it. I find that many of the settings require clicking the "light bulb" on the toolbar - but mine doesn't ...
0
votes
0answers
45 views

QEMU + KVM - most efficient settings, optimizations?

Guys I am quite new to QEMU + KVM stack, so my questions may seem stupid for someone more experienced, But I have honestly tried to search all of this online, and most of the articles that I found ...
1
vote
0answers
28 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 ...
0
votes
1answer
19 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 ...
0
votes
0answers
23 views

error Invalid ELF image for this architecture when attempt to run wine with qemu-x86_64-static

I installed qemu-x86_64-static for my arm64 android then ubuntu 16.04 and wine for amd64 from here: https://www.playonlinux.com/wine/binaries/phoenicis/staging-linux-amd64/ when I chroot into the ...
1
vote
0answers
30 views

How does the .elf file for powerpc work in Qemu?

As a result of my research, I learned that –kernel can only load multiboot1 or Linux kernel without disk image. But I want to run a .elf file without a multiboot or linux kernel.The parameters and ...
0
votes
0answers
30 views

Ubuntu machine periodically hanging

I have a virtual machine running Ubuntu 16.04.6. Its sole purpose is to run Mayan EDMS (a Python document archival system) so I can have a mostly paperless household. It has been working fine for ...
1
vote
0answers
152 views

QEMU-KVM, GPU Passthrough, Windows 10 - Crashing

I've been happily running a couple of Windows 10 VMs on QEMU-KVM with GPU Passthrough for the last few years with little issue. A few days ago however (21 May 2020) both my VMs started crashing on ...
0
votes
1answer
46 views

Convert .iso to .qcow2 [duplicate]

I have ubuntu20.04 lts iso file downloaded from ubuntu website. Can you please guide to convert the iso file into qcow2 file. For instance I need the file ubuntu.qcow2 to be made from ubuntu.iso
0
votes
0answers
12 views

Virtual Disks connected to nbd via qemu-nbd gets disconnected after sometime

As I use virtual machines often, so I also need to mount virtual hard disk to the host system, Ubuntu. But as qemu-nbd mounted disk is too slow in writing, I have to mount the virtual hard disk for a ...
0
votes
1answer
42 views

How do I convert one monolithic vmdk to split vmdk(s) using qemu-img

I am running VMware Player 15.5.1 on Windows 10 x64 with QEMU for Windows 20200201. TL;DR: How do I convert a monolithic vmdk (3.7GB) to split vmdk(s) (2GB each) via qemu-img? I downloaded a demo ...
0
votes
1answer
54 views

XV6 os - Docker ubuntu image error: “no bootable device” / qemu-nox command

I am trying to run the XV6 OS on ubuntu image in a docker container (on windows). I succeed in building the image, running it and accessing the docker container. But inside the container cmd when I ...
1
vote
1answer
415 views

Want KVM/QEMU version 5 for Ubuntu 20.04

A few weeks ago KVM/QEMU version 5 came out. However, it's not bundled in the 5.4 kernel of Ubuntu 20.04 LTS as far as I know. I would like to set up a new virtualization host using Ubuntu 20.04 and ...
0
votes
1answer
601 views

Enabling OpenGL in Windows 10 Guest VM in QEMU

I'm trying to install Sketchup 2019 on a Windows 10 VM (Ubuntu 18.04, QEMU 3.1.0), however Sketchup requires OpenGL 3.1 or later in order to run. I had asked a similar question previously hoping by ...
1
vote
0answers
66 views

Error pops up when trying to start a vm in virtmanager

I'm using this repository as a guide to virtualizing on Ubuntu 20.04. The virtualized OS is Catalina 10.15.4. Error pops up when I try to open virtmanager and start the VM I created. Also when i try ...
0
votes
0answers
36 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 ...
0
votes
1answer
63 views

Video problems with EFI boot on KVM/QEMU

when I boot ubuntu-20.04-legacy-server-amd64.iso on Proxmox 6.1 (uses KVM/QEMU hypervisor) with BIOS=OVMF (UEFI) I get corrupted video after select "Install Ubuntu Server" on Grub. When I boot ubuntu-...
2
votes
2answers
140 views

Trouble getting a bridge working with GNOME Boxes [closed]

I set up a Fedora VM using GNOME Boxes. I can launch it, everything's OK. I'm using virt-manager and I want to create a bridge so that I can get the VM on the network, but every time I attempt ...
0
votes
0answers
245 views

Virt-manager QEMU/KVM

after updating to 20.04 I have "sudo systemctl restart libvirtd.service" every time. Can it be repaired? I tried remove and install again but it didn't work for me. UPDATE: It's the same even under ...
0
votes
0answers
73 views

“No Working Init” with 20.04 “USB TEST” on 19.10 host with Start Disk Creator

I'd probably class these as papercuts for a medium priority backlog, I think these are more QEMU issues but useful for Ubuntu adoption: 1) The Startup disk creator Test with QEMU fails after putting ...
4
votes
2answers
75 views

Broadcom Wireless card pass-through into Ubuntu VM

I'm trying to set up my wireless card to be passed-through to a QEMU VM(just to check out device-passthrough and how it works). I'm able to use the wifi on my host machine just fine. An lspci on the ...
2
votes
0answers
80 views

How to enable KVM on gnome-boxes?

I've been trying to work out why Windows 10 in gnome boxes is slow, and noticed gnome-boxes seems can't connect to KVM in libvirsh (gnome-boxes:9264): Boxes-WARNING **: 17:14:11.078: util-app.vala:...
1
vote
1answer
228 views

Android emulator qemu take about 3GB of memory PC runs very slow

I installed Android Studio on an Ubuntu 18.04 system to learn Flutter. That PC has 8 GB RAM and an Intel Core i3-6006U 2.0GHz CPU. When I launch the emulator, the PC becomes very slow, & qemu ...
0
votes
0answers
9 views

Qemu bundle partitions to a logical drive

So I have those Partitions: nvme0n1p1 : ntfs Windows recovery nvme0n1p2 : fat EFI nvme0n1p3 : ? Windows reserved? nvme0n1p4 : ntfs Windows install + data nvme0n1p5 : ext4 ubuntu 19.10 install now i ...
0
votes
1answer
47 views

What and where is SDL2_image?

I am trying to compile QEMU. When issuing ../qemu/configure --disable-werror --enable-debug \ --target-list="arm-softmmu,i386-softmmu" it outputs -D_REENTRANT -I/usr/include/SDL2 -lSDL2 -lX11 -...
1
vote
0answers
206 views

qemu can't attach a readonly drive

I am running a Ubuntu 19.10 installation (5.3.0-42-generic #34-Ubuntu SMP Fri Feb 28 05:49:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux) and am trying to boot a real local Windows 10 installation. The ...
1
vote
0answers
202 views

How to set up dynamic screen sizing for a qemu windows 10 guest on ubuntu 18.04?

I have a dual-boot setup on my laptop: Ubuntu 18.04 and Windows 10. From within ubuntu, I can boot to my existing windows partition using qemu with the help of this guide. The command I am using is ...
1
vote
0answers
57 views

How can I improve performance with spice protocol?

So I have a number of VMs running under quemu on Ubuntu 18.04. Everything works fine except accessing the VMs remotely: the slower the connection, the worse it gets. Running them on 4K monitor. Using ...
5
votes
1answer
493 views

Nested KVM won't work (guest freezes)

I'm running, as host, Ubuntu 19.10 with kernel 5.3.0-40-generic. In the guest, Ubuntu 18.04.4 with kernel 5.30.0-40-generic. When I launch the Android Emulator from Android Studio, the entire guest ...
1
vote
1answer
647 views

19.10 Ubuntu host entirely freezes during Windows 10 qemu install

On Ubuntu 19.10 as a host, I'm trying to do GPU passthrough to Windows 10 as guest. I successfully isolated my GTX 1060 and passed to the insides of a VM in virt-manager (libvirt doc) (home page). ...
1
vote
0answers
285 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=...
0
votes
0answers
112 views

Vga passthrough fails with every kernel after 5.3.0-19 gtx 1660ti

I have gtx 1660ti. lspci 17:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti] (rev a1) 17:00.1 Audio device: NVIDIA Corporation Device 1aeb (rev a1) 17:00.2 USB controller:...
0
votes
1answer
154 views

Upgrade qemu/KVM ( 16.04)

I'm working on 16.04 LTS, but would like to try the kvm/qemu/virsh version running on 18.04. Since it takes still some time for 20.04 I wonder if it is possible to add a ppa of a later, saying ...
0
votes
0answers
77 views

Why do I need a ROM file for PCI-pass-through in UEFI mode?

I finally got my virtual machine (Windows 10) working with passing my GPU in UEFI mode. I used virt-manager for creating the VM and there was no option to add a ROM file, so I modified the ...
0
votes
1answer
335 views

Is it possible to run qemu-system-x86_64 virtual machine from raw disk image located on external flash drive?

For some project I need to have QEMU/KVM virtual machine with raw disk image. So I have created this raw disk image as simple as dd if=/dev/zero of=~/disk.img bs=1M count=3092 and got 3 Gb of space ...
0
votes
1answer
76 views

MAAS KVM failed commissioning a node: Node operation 'Commissioning' timed out after 30 minutes

Update I found out that right before the prompt for login, the ephemeral image flashes a message saying "Can not apply stage config, no datasource found". After some research, it might have to do ...
1
vote
1answer
297 views

Why can't Ubuntu 18.04 chroot into a qemu environment?

I'm really struggling to understand what's to blame with chroot / qemu not work on Ubuntu 18.04. Later editions work (definitely by 19.10) but under 18.04 I get: cannot run command '/bin/sh' No such ...
0
votes
2answers
2k views

where can i find qemu-kvm 4.2.0 for ubuntu 18.04

I'm using 18.04 ubuntu, but the qemu-kvm installed is very old (2.1) Is there a ppa with the last version 4.2.0?
0
votes
1answer
203 views

Android Emulator output not forwarded thru SSH X11 forwarding

I have managed to setup Android Studio with AVD and KVM on a host computer myserver. From a client computer I now do ssh me@myserver -X and launch the andriod studio so that the UI is displayed on my ...
0
votes
1answer
572 views

Qemu hangs in “Booting from Hard…”

I have a ubuntu 19.10 and I wanted to run xv6 on it. I was able to run that until yesterday. Yesterday, suddenly when I typed make qemu-nox it doesn't start xv6 and just hangs in "Booting from ...
3
votes
2answers
344 views

group libvirt missing from /etc/group

I have installed qemu-kvm and virt-manager to Ubuntu 18.04 machine. While trying to add my user to libvirt group I got following error: sudo groupadd libvirt groupadd: group 'libvirt' already exists ...
0
votes
1answer
53 views

NVIDA video adapter detected as 3D controller instead of VGA controller

I want to try PCI passthrough I'm totally new at this, so i began by following a YouTube tutorial. When it came to the part where i can see what device that I'm going to passthrough " lscpi -nn | grep ...
0
votes
0answers
20 views

How to backup my qemu windows VR

I have a Ubuntu mate machine which I use for work and I use a windows VM on qemu for accessing enterprise tools(just a few like resetting my NT password) and all it's working perfect. The question ...
0
votes
0answers
391 views

usb 3.0 controller xhci driver not setup

I have purchased a cheap usb 3.0 controller on Ebay based on the VIA VL805,I have tested it on a dell OEM motherboard and it works fine. But now on my gigabyte 990FXA-ud3 it not works, the xhci ...
0
votes
1answer
285 views

Is it possible to get a running UEFI system with stock Qemu and OVMF on 19.10?

It seems terribly complicated compared to running a legacy BIOS machine where it basically runs out of the box. Now I've reached a point where I'm wondering if it's not broken on 19.10 in that respect....
2
votes
1answer
1k views

Virt-Manager (QEMU/KVM) install internal error when using UEFI x86_64 OVMF firmware

EDIT I've summarized the issue and the actual fix for others to see just the highlights of my original post. The "internal error" issue when using the OVMF firmware The following error occurs ...
0
votes
0answers
72 views

I'm looking for a cross platform DM to drag and drop files from / to a qemu / kvm Windows guest OS and Ubuntu host os VM

Actually I'm using Ubuntu 19.10 as Host OS and Windows 10 as a guest,virtualized with qemu and kvm. No problem at all,but I feel the missing of the possibility to copy and paste files from / to ...
0
votes
2answers
418 views

Configuring qemu/kvm on Ubuntu server machine to make local network

I have a project using qemu/kvm. I need to make 2 virtual machines (Windows server and Ubuntu server 18), and connect them with physical switch and 2 physical computers (Windows XP). Target is to make ...

1
2 3 4 5
7