Questions tagged [qemu]

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

363 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
1k views

Understanding main memory fragmentation and hugepages

I have a machine that is intended for general use and which I also used to run a QEMU virtual machine. Because the virtual machine should be as performant as possible, I want to back the VM memory ...
6
votes
0answers
4k views

Extremely high memory usage Android studio and emulator

After upgrading Android Studio to 2.3, I've encountered extremely high memory usage. Previously, I would keep my pc(including Android studio and emulator) on for several weeks, and RAM usage would ...
5
votes
0answers
2k views

persistent network interface naming and kvm

I wonder why my network interface is still named eth0 in my kvm guests. udevadm just outputs # udevadm test-builtin net_id /sys/class/net/eth0 2> /dev/null ID_NET_NAME_MAC=enxc2184ae7ab3f I would ...
5
votes
1answer
14k views

Arch Linux in Qemu : Failed to access perfctr msr error

I got the Arch Linux (march build) iso file through bittorrent lately. I tried to run it in VM, but it only gets up to the main screen (The screen where you select what you want to do) shown below: ...
5
votes
0answers
1k views

What is the structure of Libvirt Qemu VM dump/save files?

I need to do some exploration of Qemu-KVM virtual machines physical memory (particularly I need to check the fact of the physical memory intersection). In order to do that I'm trying to save VM's ...
4
votes
0answers
451 views

QEMU shared folder performance problem

I've got a Windows 10 virtual machine running on Ubuntu 18.04 host (QEMU 2.11). I've created a shared folder with the command line parameters -netdev type=user,id=smb0,smb=/mnt/ntfs,restrict=on -...
4
votes
2answers
2k views

QEMU - network bridge

I'm setting up a VM on Debian 9 using QEMU (and KVM). I'm currently trying to make it work through a bridged network, which I have set up using ip link, ip tuntap etc; here is the output of brctl show:...
4
votes
1answer
2k views

QEMU Guest using huge amounts of compressed memory on boot

Virt Manager configuration: Guest memory usage right after booting (nothing is running): I'm running virt-manager on a standard Ubuntu 17.10 system. In Proxmox, the same general configuration (with ...
4
votes
0answers
1k views

How to save the machine state of a QEMU VM started using qemu-system-x86_64?

I have a VM running using: qemu-system-x86_64 -m 8192 -smp 3 \ -net user -net nic,model=virtio -boot menu=on \ -drive file=guixsd-usb-install-0.13.0.x86_64-linux \ -drive file=guixsd.img per ...
4
votes
0answers
853 views

Sun UltraSparc IIIi Solaris 5.10 emulation

I have an old Sun Blade 1500, with a Ultrasparc IIIi 1.5 GHz, 2GB ECC RAM. SunOS 5.10, ufs filesystem. The hardware (MB, HDD and video card) is failing on me and I'm searching for a way to emulate it ...
4
votes
0answers
2k views

Completely disabling mouse support in QEMU

I'm currently using QEMU for some work involving the VGA console. I'd like to turn off click-to-grab, which constantly triggers when I press CTRL+ALT+DEL (which my host Linux system is configured to ...
4
votes
0answers
1k views

How to run Ubilinux / u-boot under qemu (x86)

I wish to test Ubilinux (http://www.emutexlabs.com/ubilinux) before flashing it onto my Intel Edison board, which currently has Yocto on it. I am able to emulate Yocto for Edison with qemu, running ...
4
votes
0answers
1k views

Why does saving a KVM-QEMU VM requires additional memory?

I have three VMs running on Red Hat Enterprise Linux with 8 GB RAM, each of the VMs has 3 GB allocated, and I also run a 512 MB VM. If we also consider the guest OS's memory usage (usually 1.5 GB due ...
4
votes
0answers
703 views

No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine

Im using QEMU 1.4.0 Ubuntu 13.04 distribution. Im trying to make the virtrual machine part of the host network so Im ussing this command: sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
4
votes
1answer
4k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
3
votes
0answers
27 views

Defunct process on every boot, if I don't kill it, it hangs during shutdown

Every time I boot my PC (Ubuntu 20.04.2 LTS), I have a defunct process: johan@johan-desktop:~$ ps -AF | grep qemu libvirt+ 1596 1 0 0 0 15 07:17 ? 00:00:00 [qemu-system-x86] &...
3
votes
0answers
646 views

QEMU kernel for raspberry pi 3 with networking and virtio support

I used the QEMU(qemu-system-aarch64 -M raspi3) for emulating the Raspberry pi3 with the kernel from the working image. Everything was working but there was no networking. qemu-system-aarch64 \ -...
3
votes
0answers
1k views

nested virtualization (Intel VT-x) with qemu on mac osx versus linux

I know that kvm-qemu supports nested virtualization for Intel (VT-x) on Linux, since I have this working. I don't have this working on my mac with os x as a host though. My Macbook Air with Dual-...
3
votes
0answers
370 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 ...
3
votes
0answers
640 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 ...
3
votes
0answers
1k views

Strange memory allocation in W10 KVM guest using balloon memory

My Win10 guest use 3.2GB when it just booted when setting a low "CurrentMemroy" in then KVM/QEMU virt-config-XML file for the guest: <memory unit='GiB'>4</memory> <currentMemory unit='...
3
votes
0answers
460 views

QEMU: How to convert -net flags into -device & -netdev

I'm trying to emulate Raspberry Pi via QEMU and the following works for me: qemu-system-arm \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ -boot c \ -cpu arm1176 \ -drive "...
3
votes
1answer
2k views

VMs attached to the same bridge cannot ping each other

I am now trying to host two VMs directly by qemu, without any tools like libvirt. I did setup the bridge/tap interfaces for each of them like ip link add br0 type bridge ip addr add 192.168.122.1/24 ...
3
votes
0answers
1k views

Rename qcow2 internal snapshots created with virsh snapshot-create-as

Background I have a QEMU/KVM virtual machine whose virtual disk is a qcow2 file. To create snapshots, I have been using sudo virsh snapshot-create-as <vm_name> <snapshot_name> and now I ...
3
votes
1answer
742 views

Accessing memory mapped registers in gdb

I'm trying to read (hopefully write as well) to the memory mapped hardware registers in a qemu virtual machine using gdb (remote connected). But it's just not working: (gdb) p *0x2000000 Cannot ...
3
votes
1answer
2k views

Make available a physical disk to existing Windows VM

Problem: I have a new SATA drive I wish to sysprep with a Windows installation. I only have Windows virtualised on my PC. My Solution: Attach (passthrough) the entire drive to the Windows VM and ...
3
votes
0answers
741 views

how to boot a fedora arm raw image on Windows

I want to run a fedora arm distributionon a windows 64bit machine. Got stuck with qemu showing a dark screen, and whatever I have read and tweaked it seems not boot. I did take the following ...
3
votes
1answer
557 views

qemu mips and debian networking not working

since few days I still can not run network on debian8.7 (or ubuntu 16.04) and qemu. all installed with default packages (or - in case of qemu, from src too relating to shadow'sblog post). I think ...
3
votes
0answers
453 views

KVM/QEMU hot-replace raw disk

One of VM disks got damaged and I'm trying to replace it online, without rebooting VM. However when I use: drive_add virtio1 file=/dev/sdb,format=raw,if=virtio,cache=none,aio=native in VM monitor ...
3
votes
1answer
2k views

Resize qcow2 root parition

I'm trying to re-size the file system on a Centos 7 vm because I made the vm too small to even do a yum update. I already have done some configurations to the virtual machine and it would be pain to ...
3
votes
0answers
218 views

QEMU 2.8.0-r1 with vfio VGA passthrough on Gentoo 4.8.17-hardened-r2 hangs on Radeon RX 480 reset

I have Gentoo 4.8.17-hardened-r2 compiled for AMD64 running on an AMD FX 8350 CPU with an Asus M5A99X EVO R2.0 motherboard, and I have a QEMU 2.8.0-r1 VM with vfio PCI passthrough to an Asus AMD ...
3
votes
0answers
436 views

Opening a TUN device from QEmu x86 for ARMv7 fails

On Banana PI-R1 (ARMv7), with qemu-i386-static, I'm trying to execute Barracuda VPN client statically linked for x86. Following this topic works : Running X86 binaries on armv7 But, when the VPN tries ...
3
votes
0answers
4k views

Qemu disk virtio performance on Windows 10 guest

Is this speed normal? Host: 64-bit archlinux Guest: WIndows 10 64-bit Education Edition with redhat virtio stable driver, raw disk format, 32GB size, virtio enabled, kvm enabled. start command: ...
3
votes
0answers
763 views

ebtables drop / limit smtp port

I am using bridged devices, main node runs on CentOS 7 and Guest are KVM VM's. I have tried rules as below on host node to block port 25 but was not successful. ebtables -A FORWARD -p IPv4 --ip-...
3
votes
1answer
713 views

Use case for qemu-static for same architecture

I just discovered that the 64bit amd version of the Ubuntu package qemu-user-static contains the binary /usr/bin/qemu-x86_64-static. Normally, qemu-user-static is used for emulating another ...
3
votes
0answers
1k views

Running Mac OS X under KVM/QEMU

Note to be removed in the future, so as to avoid confusion from answerers and mods edit: Forgot to add in the note, if anyone thinks this is the wrong stack-site to post this, please comment on why, ...
3
votes
0answers
665 views

Getty not starting in qemu

I'm trying to get running an ARM based Debian inside qemu. As a rootfs I'm using structure from embeddedarm 2gb sdcard image with versatile 2.6.24 kernel downloaded from fedora qemu tutorial site. At ...
3
votes
0answers
2k views

Qemu doesn't boot kernel after “Uncompressing Linux… done, booting the kernel. ”

I've compiled qemu for s5pc110 (it's from http://gitorious.org/samsung-linux-platform/qemu, somebody had added support for s5pc110), version 0.12. But when I load the kernel: qemu-system-arm -M ...
2
votes
0answers
48 views

Install oracle on an AIX VM virtualizing with QEMU

I installed a Linux VM in the virtual box, and inside it I installed the QEMU package and virtualized an AIX 7.2 image. The entire installation went correctly. But when I try to install an Oracle ...
2
votes
0answers
98 views

When using Spice and remote-viewer with multiple virtual monitors, stuck on "Waiting for display 2" indefinately

Following some research, I learned that the proper method to setup multiple virtual monitors with virt-manager, libvirtd, and qemu is to use spice (link, link, link). At first, I added three total ...
2
votes
1answer
51 views

Enabling Intel Integrated Graphics on CLEVO P775TM1-G for use as QEMU pass-through gpu

I'm wondering if it's possible to use my laptops i9-9900K's integrated gpu as a pass-through GPU for QEMU. The display in this laptop is directly connected to a RTX 2080, and is the only VGA device ...
2
votes
0answers
686 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 ...
2
votes
1answer
181 views

Trying to run linux kernel using QEMU, having trouble with boot process

For a project, I need to be able to run an uncompressed linux kernel. It was recommended to me to try emulating this using QEMU, since that's less involved than booting it straight on the machine. ...
2
votes
0answers
267 views

Mapping guest RAM to file in qemu

We're emulating a Cortex M3 cpu and would like to pass some parameters to the guest during run-time. The simplest idea seems to be to write directly to some memory area. I tried simply adding -mem-...
2
votes
0answers
345 views

How to boot Raspberry Pi IMG file on QEMU?

I have an IMG file, which is Raspberry Pi image. Can I boot it in Qemu on windows or linux? I am confused by examples, which say I need not only IMG file, but also a "kernel" file. Can I ...
2
votes
0answers
562 views

Shared folder between QEMU Windows guest and Linux host with virtio-fs

In QEMU 5.0 and kernel 5.4. Virtio-FS(D) was introduced for better access to shared folder on Linux host. It seems guests access the shared folder using something like FUSE technology. I found a ...
2
votes
1answer
714 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 ...
2
votes
0answers
246 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 ...
2
votes
0answers
570 views

How to set Rx Queue = N in linux / in Qemu / KVM?

I have configured 8 multiple queues on my CentOS VM box (running on KVM). <interface type='direct' trustGuestRxFilters='yes'> <source dev='ens113f0' mode='passthrough'/> <model ...
2
votes
0answers
295 views

How to start X server in Debian Wheezy mips running on qemu?

I created a debian mips virtual machine by downloading qcow2 images from here. I then started the virtual machine by qemu-system-mips \ -m 256 \ -M malta \ -kernel vmlinux-3.2.0-4-4kc-malta \ -hda ...

1
2 3 4 5
8