Questions tagged [qemu]

QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

btproxy fails to bind to Bluetooth socket while trying to proxy Bluetooth device to QEMU

I am following the guide for Zephyr to run on QEMU using the host system Bluetooth controller. I am on Ubuntu 20.10 which is lacking btproxy, so I built BlueZ as described in the guide linked below. I ...
0
votes
0answers
4 views

ERROR: Virtual Raspbian on Qemu in Ubuntu

I am trying to emulate Raspberry-pi/Raspbian with QEMU on my linux subsystem. I followed this link and did the following steps $ mkdir ~/qemu_vms/ Download/copy Raspbian Wheezy to ~/qemu_vms/ Download ...
0
votes
0answers
4 views

failed to get canonical path of `/dev/nbd0p1'

I am getting failed to get canonical path of '/dev/nbd0p1' when running upate-grub in a chroot. I mounted the qcow2 disk image with qemu-nbd -c /dev/nbd0 g4.qocw2 && mount /dev/nbd0p1 /mnt. I ...
0
votes
0answers
19 views

How to create network bridge with VLAN and share between host, docker, and qemu?

I have a network interface enp6s0 and I define a VLAN 10 interface in /etc/network/interfaces: # Port #1 of Mellanox ConnectX-3 auto enp6s0 iface enp6s0 inet manual # Create VLAN 10 interface auto ...
0
votes
0answers
17 views

How to enable libvirt shared dir between fedora 33 host w/selinux and centos7 guest w/o selinux?

Using a fedora 33 host computer with SELinux enabled, I've setup a qemu/kvm guesr centos 7. In order to enable shared dir between them, I have installed centos plus kernel in the guest. The guest ...
1
vote
2answers
68 views

Emulate x86 on rasbian

I want to run a Starbound server on my Raspberry Pi running rasbian. The server is built to run on an x86 architecture, so my goal is to emulate an x86 architecture to run the server. Edit: box86 does ...
0
votes
0answers
18 views

Virtualization of Windows 10 on Ubuntu 20.04 Server (virtualized)

I'm running a virtualized Ubuntu 20.04 server and I'm trying to virtualize instances of Windows 10 via KVM/QEMU. My issue is that every other OS I've tried to virtualize on this server (Windows 7, ...
0
votes
1answer
23 views

Can you just “cp” copy and make a backup of a virtual disc image?

Basically the tittle. I'm doing Linux From Scratch(LFS), I'm at the point of installing the system software. Before doing that, I want to have a backup of the virtual drive that I'm installing LFS ...
1
vote
1answer
54 views

Differences in networking between QEMU/KVM and VirtualBox

I noticed the following differences in the networking experience between QEMU/KVM (used through libvirt) and VirtualBox: For anything else than usermode or manual networking, QEMU/KVM needs a virbr0 ...
0
votes
0answers
22 views

Forward network packets from host machine to QEMU image

I have got a locally built Yocto image with me running inside QEMU. I need to forward a single port from the host machine to localhost inside the QEMU image. The TAP connection I am using assigns 192....
0
votes
1answer
14 views

chroot error : “I: arm64 cannot be executed, falling back to qemu-user”

I set up a arm64 chroot named via this command: sudo mmdebstrap --architectures=arm64 buster myArm64Machine entered said chroot with command below: sudo chroot gnome-core-arm64 myArm64Machine one of ...
1
vote
0answers
16 views

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

I'm trying to cross compile a Debian system for ARM. I have a working cross compiler setup, and I can run programs under a Debian system I installed in QEMU. I'm using a virtual disk (qcow2 format) ...
2
votes
1answer
104 views

Why systemd-nspawn is slower than docker,podman and qemu?! how to Improve nspawn performance?

Why nspawn is slow compared to docker podman and even qemu?! CPU tasks take twice of the time it takes in docker, podman or qemu Here is a benchmark test I did: First I disabled all the spectre/...
0
votes
0answers
22 views

How to: qemu usb passthrough

I am trying to bypass my Iphone8 from CentOS7 to a Debian VM I have running on Virt Viewer. I can see the Ihpone8 in CentOS7. Bus 003 Device 029: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE When I ...
0
votes
0answers
26 views

chroot debootstrap problem : possibly the package systemd is at fault

I would like to run X86 applications on my Jetson Nano using qemu and debootstrap on ubuntu 18.04. Actually I'm following this tutorial : https://www.youtube.com/watch?v=dzAoaFOJy7U&t=338s&...
0
votes
0answers
22 views

How to cross compile QEMU for armhf/arm64 on x86_64

I'm trying to cross compile QEMU for armhf for my Raspberry pi (because when compiling on the pi, checkinstall fails to package it to a deb, see this). I searched a lot but didn't find anything that ...
0
votes
1answer
40 views

Checkinstall fails to package QEMU to a deb

I compiled QEMU for my Raspberry pi and want to package it to a deb so I don't need to compile it every time I reflash (it takes a few hours). but every time I run sudo checkinstall I get errors (...
1
vote
1answer
79 views

chroot debootstrap problem : no such file or directory

I would like to run X86 applications on my Jetson Nano using qemu and debootstrap on ubuntu 18.04. Actually I'm following this tutorial : https://www.youtube.com/watch?v=dzAoaFOJy7U&t=338s&...
0
votes
1answer
35 views

DNS issues running ARM docker container using qemu on x86

I am trying to run an arm docker container on my x86 machine with the goal to eventually compile an application in a CI build. To my surprise it started out quite promising. I set up qemu-arm-static ...
0
votes
0answers
8 views

is there a way to show qemu backing-chain as diagram?

Is there a way to show qemu disk backing-chain as diagram: for example: A->B->C Currently, qemu-img info seems do not support this. qemu-img info --output=json --backing-chain somedisk.C can ...
1
vote
0answers
19 views

QEMU - Passing a character device to the guest

Is there anyway to pass a character device into a QEMU guest without PCI or USB pass through? For instance, I would like to pass /dev/video0 on the host to /dev/video0 on the guest. It would be best ...
0
votes
1answer
39 views

How to get name resolution working inside a chroot of a different architecture?

On an amd64 machine running Manjaro Linux, I'd like to be able to resolve names inside an arm chroot, which is Arch Linux ARM. Unfortunately, it's not working. I suspect it might have something to do ...
1
vote
0answers
27 views

Configure network to allow QEMU to reach internet

I have the following standard configuration: A remote server connected to internet and that I can only control using SSH On this server, a QEMU instance I'm trying to find the right configuration so ...
0
votes
0answers
29 views

Very long kernel build time

I have a small problem related to kernel build time. Sorry for a bit messy writing. I'm very poor at it. :D We (my team) are using qemu for rebuilding Linux kernel for our product. We all share ...
0
votes
0answers
13 views

Can't visualize USB devices on QEMU

I have recently builded, with the help of buildroot, a kernel image that I'm emulating on QEMU, but I can't see my USB devices under /dev neither under /proc/bus/. How can I access them? My emulation ...
0
votes
1answer
30 views

Can I use a Terminal as the Graphical Console for a VM in with Virt-Manager/Qemu?

I am doing a System V install in Virt-Manager (nothing spectacular) it works great on its own, and I have no retro hardware. The installer is a i386 floppy image, but sadly I don't have a 500 MB HDD, ...
0
votes
1answer
126 views

QEMU/KVM SPICE - copy & paste functionalities work on the Windows VM, but not on the Debian VM

Client: I installed a package spice-client-gtk on my Debian workstation which conects to the remote server i.e. hypervisor running virtual machines on QEMU-KVM. spice-client-gtk is not installed on ...
0
votes
0answers
29 views

Run QEMU inside a chroot

So I've strange ideas sometimes and I had one this week, which you can check out here: https://youtu.be/qOQt6Fxew2s Essentially, it is X.org running on my Kobo eReader. Since the Kobos have an ...
0
votes
0answers
21 views

QEMU: Accessing virtual hard drive created with -hda

I'm working on an OS development project, and in my project I'm using QEMU to run my OS. I've started working on the file system today, and in order to create a virtual disk to use as my storage unit ...
1
vote
0answers
23 views

With qemu-kvm VM, how to determine the number of `pcie-root-port` devices?

I use qemu-kvm on a DELL server multi-core system with 64 cores 512GiB system to create virtual machines. Using libvirt the qemu-system-x86_64 command line features lots of pcie-root-port devices ...
0
votes
1answer
26 views

QEMU / virt-manager - Changing a hypervisor desktop while inside virtual machine

I am running openbox desktop on my physical machine where I navigate desktops using key combinations Meta+1 or Meta+2 or Meta+3... My physical machine has a QEMU hypervisor installed and there is a ...
1
vote
0answers
25 views

How to virtualize a board with QEMU?

I've got an embedded board based on ARMv7 cpu. I'd like to virtualize its rootfs with qemu, so I could work without hardware. I made an image of SD card present on board (these are the partitions): ...
1
vote
1answer
45 views

USB connects then disconnects on QEMU / windows 10 guest

Essentially the usb device connects for about 2-3 seconds, then disconnects for about 2-3 seconds, then reconnects... This also happens if I pass it through directly. If I install the spice-tools the ...
0
votes
0answers
9 views

qemu: overwrites pre-alloc hugepages number?

Machine has 512GB of memory with four numa nodes, the kernel boots with options default_hugepagesz=1G hugepages=256 however it looks like it fails to allocate anything: % dmesg | grep huge ... HugeTLB ...
0
votes
1answer
49 views

After compiling Qemu 5.2.50, no VGA in Gui

I am on Devuan "chimaera", kernel 5.9.0-4-amd64 and trying to compile qemu 5.2.50 from source There were no issues configuring and compiling qemu, but when I launch the compiled executable, ...
0
votes
0answers
30 views

GPSNMEA: symbol not found error

This is similar to the issue posted here. I'm trying to run a binary(gpslogger) of the following type: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-...
0
votes
0answers
57 views

How to properly install Xen and libvirt on Fedora 33

I want to setup a Qubes OS like environment using just Fedora, Xen, libvirt and quemu. After configuring the Xen hypervisor, how can I make the network accessible from one "network VM" only? ...
0
votes
0answers
16 views

Using a host file as swap partition on qemu linux guest

this may be a pretty noob question, but I just cannot figure it out.. Basically I have a linux kernel and I am running it using qemu-system-x86_64. I then want to use a host file as swap (basically ...
1
vote
0answers
28 views

Custom 64bit 3.10.9 kernel not booting in qemu and stucks on Booting from ROM

My custom build kernel 4.10.9 with gcc-4.8 is not booting in qemu and it is stuck on booting from ROM: I used the following qemu command: qemu-system-x86_64 -kernel linux-3.10.9/arch/x86/boot/bzImage....
1
vote
0answers
249 views

virt-manager, qemu-kvm, spice & vdagent: auto resizing and file sharing not working

Host: Ubuntu 18.04 Guest: Fedora 33 virt-manager 1.5.1 I built the guest using virt-manager. The guest works: internet access works, youtube in browser works, sound works, clipboard sharing between ...
0
votes
2answers
124 views

Debian, apt-get: how do I ignore NO_PUBKEY for good? [duplicate]

I have a qemu in which I have debian-10.0-powerpc-NETINST-1 plus sid as package source. I need powerpc to as a reference big endian architecture (maybe there's something easier?) My problem is that ...
0
votes
0answers
44 views

Share folders between linux host and linux guest QEMU/VMM

I am running QEMU/KVM on Ubuntu 20.04 host and have VM also running Ubuntu 20.04. I have added Filesystem using Squash and I can see folders that are created. When I add file to folder (using host) I ...
0
votes
1answer
55 views

How can I see the version of OS that runs on a VM

Is there any way that I can find out from hypervisor the version of OS that I am runing on a vm. The problem is that I have an upgrade procedure that shuts down a vm, replaces the qcow2 image and then ...
0
votes
1answer
652 views

QEMU/KVM: How to configure a writeable shared folder for guest, which itself is a CIFS mounted network share on host?

Issue I am having a hard time configuring a shared folder with write permissions inside the guest. My special case is that the shared folder references a CIFS network share mounted on the host. Host ...
1
vote
1answer
279 views

Why qemu doesn't install aarch64 alpine Image on x86_64 ubuntu host?

I download qemu-4.0.0.tar.xz from here and after installing all necessary dependencies I run $ ./configure --target-list=aarch64-softmmu to have QEMU installed. I double-check the installation with $ ...
0
votes
0answers
21 views

Linux Bridge on kvm qemu

I have 2 ubuntu servers which are setup using kvm qemu, and bridge network setup between them gateway for that is 10.0.0.254/24 and server 1 ip: 10.0.0.252 and server 2 ip: 10.0.0.253, which can be ...
1
vote
0answers
220 views

Ptrace: Function Not Implemented in GDB Installed on Multiarch/Qemu-User-Static Arm64v8/Alpine Docker Container

I want to debug an aarch64 ELF using GDB installed on an arm64v8/alpine docker on my x86_64 16.04 Ubuntu VirtualBox, which itself is installed on my Mac. In particular, to set up the docker I use the ...
0
votes
0answers
46 views

Libvirt / Qemu — How do I turn off virtual machine log messages?

I have my virtual machine setup to route my mouse and keyboard control via Ev dev & virtio drivers. However, for some reason every time I press a button on my mouse inside of the virtual machine ...
2
votes
1answer
493 views

How to use QEMU/KVM virtual machine disk image on SMB/CIFS network share: Permission denied

Environment SMB network share temp is mounted as follows, logged-in user dave: sudo mount -t cifs -o username=dave,vers=3.11,uid=dave,gid=dave //nas/temp /media/nas/temp Effective temp mount folder ...
0
votes
0answers
18 views

how can I send destroy rather than shutdown to a specific QEMU VM/guest

I have a number of guest machines (VMs) running on the same host. I have a set of them that respond normally to the shutdown command issued by the host when it resets, but I have some specific guest ...

1
2 3 4 5
16