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
11 views

Guest has not initialized the display (yet)

I'm trying to emulate a raspberry pi using an x86 system and qemu. I'm trying to launch it like: $ qemu-system-arm -kernel ~/Downloads/kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -...
0
votes
0answers
17 views

Buildroot Linux on RISC-V 32-bit no mmu processor

I'm trying to create a buildroot linux image for a 32-bit RISC-V no mmu processor. I've found several builds on the internet but none of them match exactly what I want to do, however I think they ...
1
vote
0answers
25 views

SSH server not booting in Packer QEMU Debian VM

I'm using Packer to boot a pre-installed Debian Buster image on QEMU to provision it for deployment, but whenever Packer boots the image it is unable to connect over SSH. The Debian image is the ...
0
votes
1answer
26 views

How is it possible to passthrough a USB drive to a VM, using QEMU, without losing access on host OS?

I'm using QEMU on Linux with KVM, I need to make available a USB drive (external HDD) to the guest while I can still have access to the drive from the host OS. Is this possible?
0
votes
2answers
18 views

store a KVM .qcow2 image in NTFS external hard disk

I have a .qcow2 image that became really bigger (36 GB) and I want to move it to an external HD to avoid using all my PC (Debian machine) memory for that. Is it possible to store it (and access it ...
0
votes
0answers
51 views

Passing a USB device to Qemu KVM

I am trying to get my Windows VM to access my USB pen drive, but I am having problems passing this USB over to the VM. On my Linux host machine, I ran lsusb where my device was identified as Bus ...
0
votes
0answers
36 views

Running multiple QEMU instances using a single TAP network device

Is there a way to setup QEMU TAP networking without allocating a TAP device for each VM? My goal is to preconfigure QEMU TAP networking with NAT (as root), and be able to run an arbitrary number of ...
0
votes
0answers
15 views

Get which /dev/tapX got associated to a macvtap without guessing

Following this guide to setup a macvtap works great. An excerpt from the guide loosk like this: # ip link add link eth1 name macvtap0 type macvtap # ip link set macvtap0 address 1a:46:0b:ca:bc:7b up #...
0
votes
0answers
21 views

Opennebula deleted machines are not removed from /sys/fs/cgroup/

I am monitoring an open nebula host using netdata, after opening the monitoring dashboards I mentioned there are some qemu one instances in it which don't exist. When I checked the command systemd-...
1
vote
0answers
103 views

Ubuntu 16.04: How to get libx86emu x86emu-demo to work?

Does anyone know how to get libx86emu x86emu-demo to work? https://github.com/wfeldt/libx86emu Test.bin 00000000 55 8B EC 51 C7 45 FC 00 00 00 00 8B 45 FC 50 E8 00000010 09 00 00 00 83 C4 04 33 ...
1
vote
2answers
134 views

Raw disk image from VDI file can be mounted using qemu-nbd but not loop device?

I installed a very old Slack version (3.2) on VirtualBox and then converted it to RAW format (ext2). However, for some reason I'm unable to mount it using losetup but qemu-nbd works fine. Why? I ...
0
votes
0answers
90 views

evdev touching the wrong device

I am trying to configure evdev to pass a mouse through to a virt-manager VM. Why is ubuntu touching the /dev/input/event device instead of the defined one? ls on the device shows this: ls -l /dev/...
2
votes
3answers
232 views

SELinux blocking qemu / libvirt from accessing ISO

I am unable to get selinux to allow libvirt to access images and ISO files outside of the default libvirt directory. What makes it more frustrating is that audit2allow and setroubleshooter does not ...
0
votes
0answers
9 views

virt-v2v convert from ova to qcow2 gives error

I was tring to convert an ova file to qcow2 and I found this blog post. I followed instructions and ran these commands: mkdir /var/lib/libvirt/Appliances virsh pool-define-as Appliances --type dir \ ...
1
vote
1answer
45 views

How to configure hotkeys to release focus with qemu / virt-manager

I'm using virt-manager on a Linux Mint 19.2 system to run a Windows 10 guest in qemu/kvm. For video, I'm using splice/ qlx. I can release the focus by pressing the left ctrl + left alt keys together. ...
0
votes
0answers
10 views

What is the difference between xen netbk/vif and tap?

When I'm using libvirt with QEMU/KVM backend, then it creates a tap type network interfaces for guests. However, I have one server running xen as an hypervisor and looks like it creates netbk/vif type ...
0
votes
3answers
89 views

Linux QEMU - Guest can SSH to Host, but Host to Guest

I've been having some problems with Host-Guest networking via SSH. I've looked through many questions here as well as the Networking Documentation for QEMU (https://wiki.qemu.org/Documentation/...
0
votes
0answers
15 views

Custom minimalist linux kernel hangs in QEMU with no output

I'm trying to build a custom kernel, but when I run it in QEMU with the "debug" option and in curses mode, it seems to hang after "early console in setup mode". I'm thinking there's a very important ...
0
votes
0answers
33 views

Host rebooted when issued `swapoff -a`

On a physical host running Ubuntu 12.04.4 LTS and serving as a hypervisor via qemu, hosting a single guest, I've issued: swapoff -a To the host, which hung for several minutes before kicking me out ...
0
votes
0answers
18 views

Make guests communicate with each other via hostname with Libvirt and dnsmasq

I'm using Ansible to provision the VMs, which works fine. Dnsmasq handles the DHCP so they get an IP automatically. However, there is no DNS configured so the VMs cannot communicate with each other by ...
1
vote
1answer
43 views

Kernel panic when running qemu with -curses option?

I have a raw qemu disk image of Debian 10 ("buster") with no desktop environment, and I'm trying to run it in the terminal of my host machine (also Debian 10) with the -curses flag. If I run qemu-...
0
votes
1answer
31 views

How can I install qemu on a VM without Internet access?

I'm generating a virtual machine that will (eventually) be used to run a proof of concept web server. I'm running RH7.4 for my host and 7.2 for my VM. I'm following Red Hat's official instructions to ...
0
votes
0answers
22 views

Installing qemu-guest-agent on a redhat vm without internet access

I have a redhat 7.4 machine, and I'm installing a 7.2 VM on it. This isn't for production, 99.9% just for learning. I've gotten the VM up and running, but now I'm trying to set up a qemu guest so ...
0
votes
0answers
25 views

How to have colors on qemu curses?

I'm using Arch, and i am emulating a virtual operating system (Linux) with qemu (qemu-system-x86_64), but this system has no colors (calling escape sequences directly doesn't work either, not even "...
1
vote
0answers
40 views

How to to access /sys/bus/usb/devices/ from qemu with AppArmor enabled? (“Cannot Open File” and “Cannot read serial from…”)

I'm trying to access an USB device with AQEMU. For this I have added an USB port in the media options. But when starting the virtual machine I'm getting these errors: AQEMU Warning [..] >>> ...
0
votes
1answer
152 views

Host mouse pointer not aligned with guest mouse pointer in Qemu VNC

When I run Tiny Core Linux in a Qemu virtual machine, the guest mouse pointer is severely misaligned with the host mouse pointer. In the screenshot below, the guest mouse pointer is the one in the ...
3
votes
0answers
183 views

Cross-arch Docker container will stop emulation

I'm trying to build a portable cross-arch Docker container using QEMU. However, depending on the host system and the programs installed on the host the container behaves differently. Running the ...
1
vote
1answer
45 views

Can't resize QEMU VMs

I am trying to increase the size of my QEMU VMs, but I'm running into a problem related to snapshots. For some reason, the qemu-img command is showing a snapshot that's been long deleted so the resize ...
0
votes
0answers
39 views

Virt Manager is not opening on Ubuntu 18.04

I have installed virt manager from terminal using command apt-get install virt-manager in ubuntu 18.04. It is installed successfully but when i click on VirtManager App icon it is not opening. When i ...
1
vote
1answer
41 views

Part of virtual machine's screen is not visible when resolution changes with SPICE

A virtual machine with Windows 10 as the guest's OS is set up using KVM/QEMU. Without SPICE, it worked perfectly fine but for clipboard sharing, I followed Arch Linux's Guide. But then it's super ...
0
votes
2answers
77 views

QEMU Corrupted Network Communication

Using the package manager (pacman) inside the virtual machine gives me corrupted packages randomly, as in: error: <package>: signature from "<whomever>" is invalid :: File /mnt/var/cache/...
0
votes
1answer
17 views

Arch QEMU VM ssh anomalies

I have setup an Arch VM with no-password, public/private key ssh logins. All of my initial tests have worked, including scp. I've verified that the ssh server is starting automatically. Here's the ...
1
vote
2answers
41 views

How to create VM's for 32-bit and 64-bit Wine-based development environments on a 64-bit box? [closed]

I am running a 64-bit Linux (Devuan) and want to create separate VM's to contain Wine as 64-bit and 32-bit respectively, as well as the needed development(coding/IDE/debug) tools for each. My options:...
1
vote
0answers
29 views

QEMU AArch64 Seems to Hang with no Log Messages

I am trying to build a Debian 10 on a QEMU Aarch 64 virt architecture. For this purpose I follow this guide. I fetched the two part kernel installer from Debian mirror from: wget -O installer-linux ...
1
vote
0answers
43 views

QEMU networking: Host to Guest

I want to connect a host(Debian 10 VM) to a qemu-guest (Debian on aarch64 ARM). I used to debootstrap tool to install a Debian root file system. Then I installed the qemu-user-static device on my host....
7
votes
1answer
457 views

Passing a block device to Qemu

Passing a block device to Qemu 3.0.1 like this works but yields a deprecation warning: -blockdev file,node-name=f1,filename=/dev/loop0 \ -blockdev raw,node-name=q1,file=f1 \ -device virtio-blk,drive=...
2
votes
0answers
187 views

Forward iOS Tablet from Linux Desktop to QEMU macOS VM

I am running macOS 15 in a qemu virtual machine on a manjaro Linux machine. Since I want to use it for iOS development/deployment I tried connecting and forwarding an iPad running the latest iPad-OS ...
0
votes
0answers
34 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 ...
1
vote
1answer
44 views

How can I simulate usb connection between two virtual machines with qemu? [closed]

I need usb connection between VMs such as host to host communication. But i have no idea to set it up with Qemu. Do you have any clues?
0
votes
1answer
37 views

Copy data from inside KVM virtual machine to host file system

Is possible to copy data from inside of Virtual machine running on KVM/QEMU to physical host machine?
0
votes
1answer
44 views

Cannot guest ip addresses of guests

I use kvm and libvirt and cannot get the ip address from the host: The list from each of the guests is empty: virsh domifaddr guest1 Name MAC address Protocol Address -----------...
1
vote
0answers
84 views

QEMU: cannot run commands with non-root user

when I try to run any qemu-system-x86_64 command, even --help, nothing happens (I check ps and there is nothing running in the background). As soon as I run the command with sudo, everything works. My ...
0
votes
0answers
69 views

qemu-bridge-helper assign the same ip to all VMs

I am trying to have the VMs appear on the external local network with unique ips as if they were a separate regular computer on the local network. I was able to do that with one VM. However, when I ...
0
votes
0answers
37 views

Buildroot x86_64 EFI doesn't run in qemu

I'm trying on Ubuntu 18.03 to run my buildroot build, target pc_x86_64_efi. I can see the GRUB screen, but when I choose Buildroot to start, then I can only see the not blinking cursor. What is wrong?...
0
votes
0answers
50 views

Linux kernel on ppc64le: vmlinux equivalent in arch/powerpc/boot/

When I run self compiled kernel on ppc64le on QEMU with vmlinux, it works (instructions from https://github.com/linuxppc/wiki/wiki/Booting-with-Qemu): wget -c https://openpower.xyz/job/initramfs/job/...
3
votes
3answers
605 views

virt-manager: KVM is not available

I'm running Arch Linux and have been running into trouble trying to use QEMU/KVM on virt-manager, and a similar root problem is likely to address my issues while using the similar gnome-boxes. ...
0
votes
1answer
60 views

Open qcow2 image on debian remote server remotely

I recovered a vmware image from an inaccessible server after converting it to qcow2, now it is on a remote debian server (kimsufi) and as it is 64GB I can't download it to my small pc. I read that I ...
0
votes
0answers
111 views

How to convert a list of VMDK files into a qcow2 or img file which have the same size

I've just configured the passthrough on my ubuntu / I9 9900k / nvidia geforce RTX 2080 ti machine. Now I'm converting the VMware virtual machine VMDK files (created from the conversion of a physical ...
0
votes
1answer
78 views

Forward Windows 10 “Windows” To X11

Let's assume that I have a Windows 10 VM running under Qemu, there is a way to forward to X11, the windows application. Something like I start the virtual machine, and I can see only the program ...
1
vote
0answers
269 views

Mounting read only snapshots of qcow2 images

I'm looking for a way to mount a read only snapshot of a qcow2 disk image so I can back up files from it. Based on the manpages for qemu-nbd a command like the following ought to work: qemu-nbd -x ...