Questions tagged [qemu]

QEMU stands for "Quick EMUlator" and is a processor emulator that relies on dynamic binary translation to achieve a reasonable speed while being easy to port to new host CPU architectures.

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

Share data via QEMU and NFS with Mac host (OSX Catalina) and Linux Guest (Ubuntu 20.04)

Story so far We recently migrated from Linux laptops to Macbook Pro laptops (company IT no longer supports native Linux laptops with VPN, so it's all Macbook/OSX devices for us). However, all of our ...
-1
votes
1answer
25 views

How to enable zstd for your qcow2 files

In QEMU 5.1 zstd compression of your qcow2 files was introduced. But it's not described in the manual for qemu-img. How do you enable it?
1
vote
1answer
53 views

How to get internet/networking on QEMU for OpenWrt under Windows?

I would like to run a Internet-capable OpenWrt-Box on a Windows10 Machine using QEMU. I have tried this command: "c:\Program Files\qemu\qemu-system-aarch64.exe" -m 1024 -smp 2 -cpu cortex-...
0
votes
1answer
77 views

DHCP not working for bridged QEMU virtual machine

Environment: A router with DHCP server. This router manages a subnet of 172.16.0.1/16 A host with Ubuntu 20.04 installed, and it has a NIC named eno0. A QEMU virtual machine running on host. Purpose:...
0
votes
2answers
66 views

can't initialize iptables table 'nat' under qemu

I am facing an issue while starting docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64. Steps followed (On amd64 host): docker run --rm --privileged multiarch/qemu-user-...
0
votes
0answers
62 views

How to create Bridged connection for Qemu/KVM with Wifi?

I want to create a bridged connection in qemu/kvm. What I want to do is connect the wifi to a bridge (as a slave), then use this bridge to provide network access to the VM. Using nmtui, I deleted my ...
0
votes
1answer
38 views

Ways to access qemu monitor inside guest

What are the ways of accessing qemu monitor inside the guest i.e VM other than pressing Ctrl+Alt+2 buttons? Is there any way we can access the qemu monitor using telnet from the guest?
0
votes
0answers
20 views

Error while executing custom command of qemu-guest-agent

I am trying to execute a simple hello-world custom command of qemu-guest-agent but getting the below error while building the qemu. qga/qapi-generated/qga-qapi-commands.o: In function '...
0
votes
1answer
85 views

QEMU Monitor via Remote Desktop

I want to access QEMU monitor from my Windows VM, but I have connected the Windows VM via RDP. When I press Ctrl+Alt+2 , the QEMU monitor is not opening. If I do the same when connected without RDP, ...
0
votes
1answer
93 views

Not able to start virtual machine/domain in KVM: Failed to get “write” lock

After host's restart, I'm not able to start virtual machine: user@server-1:~$ virsh start docker-1 error: Failed to start domain docker-1 error: internal error: process exited while connecting to ...
0
votes
0answers
18 views

Noop convert qcow2 image but keeps internal snapshots

I have a qcow2 image. The image size is 200 GB, but the actual use is only 30 GB. I'm using qemu-img convert -O qcow2 source.qcow2 shrunk.qcow2 to removes sparse space and the images shrinks correctly ...
2
votes
0answers
68 views

kvm virtualization, slow io in windows guest (with virtio drivers) on ubuntu host and HP 360 Server with P440 RAID controller

Problem: Very slow IO in Windows Guest vs Host Hardware: HP 360 G9, 2 x 10 cores Xeon CPU, 128GB Ram, 4 x 4TB SAS HDD, Raid 10, P440 Controller (with 2GB cache and battery) Host: Ubuntu 20.04 Server, ...
1
vote
0answers
14 views

What triggers a “*** Guest State ***” register dump from the linux kernel?

Prefix: There is no kernel crash. Something, rarely, is triggering Guest State, Host State, Control State register and other debug variable dump to kernel log. The system in question is running many ...
0
votes
1answer
109 views

libvirt Windows 10 VM issue

I am running Manjaro KDE and I have managed to setup a Windows 10 VM with GPU passthrough for Windows things and it was working great until I noticed a weird behavior. When I try to reboot the VM, or ...
0
votes
1answer
198 views

Debian Stuck at Booting from Hard Disk after installation on KVM

I'm trying to install Debian on Qemu-KVM on RouterOS v5.25 I tried : debian-10.8.0-i386-netinst.iso debian-8.11.0-i386-kde-CD-1.iso debian-live-9.0.0-i386-gnome.iso on disk image created using : qemu-...
0
votes
0answers
102 views

Ubuntu Installation on Qemu/KVM Black Screen

I'm trying to install Ubuntu or higher on KVM. I have tried installing 14.04.6 LTS / 16.04.7 LTS and 18.04.5 LTS First i create Qemu Disk Image : qemu-img.exe create -f raw hdd.img 5G and when i boot ...
1
vote
0answers
55 views

Correct SELinux labels for a kvm/qemu user session VM shared folder

I am trying to set up a shared folder using the 9p protocol for a kvm/qemu VM that runs on the user session (so the qemu process runs as me, not as root). Mounting the shared folder in guest works ...
0
votes
0answers
16 views

Old KVM Guest not starting after reboot

I have a bunch of Virtual Machines in a Ubuntu 18 Guest machine. Until recently they have all been working without any problem. However after I restartet one of the Guests(also Ubuntu) it is now not ...
-1
votes
1answer
130 views

boot from cdrom !! kvm -machine pc-i440fx-2.1 [closed]

I am trying to follow the instructions in the following article https://docs.j7k6.org/vmware-esxi-hetzner-install-kvm-linux/ I start the VM by the following command kvm -machine pc-i440fx-2.1 \ -cpu ...
0
votes
0answers
34 views

qemu does not give by-id symlinks for drives by UUID in linux guest

I am trying to get my drive to show up in QEMU guest virtual Linux machine. desired behavior: $ ls /dev/disk/by-id/ ata-CT1000MX500SSD4_XXXXXX Current behavior returns nothing: $ ls /dev/disk/by-id/ ...
0
votes
1answer
144 views

Arch Linux - QEMU override System Manufacturer on Windows 10

I've fully virtualized a VM with windows 10 on QEMU and had to do host-passthrough in order for it to work. Because there's no way to set SMBIOS to reflect the host, I want to know if there's any way ...
0
votes
0answers
110 views

Is it possible to have both spice or sdl and vfio gpu pass-through together, accelerated streaming started from boot?

There are various ways to get the screen from a running qemu virtual machine: vfio-gpu-pt (display port to monitor) looking glass spice virgl sdl sdl2 gtk (qemu from source) AMT IPMI KVM(Keyboard ...
0
votes
1answer
126 views

QEMU / KVM - Dedicated 802.1q VLAN for each VM - Communication only via router

I have a Linux firewall router (dedicated machine) with multiple ethN interfaces (my "big firewall"). All forwarded traffic is filtered by a set of iptables rules (default policy DROP). ...
0
votes
0answers
25 views

Can I customize all my operating systems that I will install on kvm/qemu with Virt-customize?

For my private cloud provider, I want to create a virtual machine from the operating system iso I want using kvm/qemu (since I was looking for an alternative to cloud-init, I chose to customize it ...
0
votes
0answers
102 views

How to enable nested virtualization in order to use VirtualBox inside of a KVM virtual machine?

We have a KVM hypervisor (L0, AMD, Kernel: Linux level0kvmhypervisor 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux), which runs a virtual machine that I would like to use as a ...
0
votes
1answer
103 views

What is the difference between “Kernel messages” and “Messages from the init system and the system logger”

In this blog, it gives a Recommended serial kernel parameters, PCs with video card. console=tty0 console=ttyS0,9600n8 It says Kernel messages will appear on both the first virtual terminal and the ...
1
vote
0answers
36 views

How to change Libvirt Job type from 'Cancelled' to 'None'?

After I abort a live migrate, the Job type has changed to 'Cancelled', which makes me unable to migrate again. So,If some libvirt api (or QMP) can help me to change the Job type from 'Cancelled' to '...
4
votes
1answer
410 views

How to get a proper prefix length from DHCPv6 server?

I have two virtual machines with Ubuntu Server 20.04. One of these virtual machines is a DHCPv6 server, and the other one is a client. I am able to set an IPv6 address on the client, but I cannot ping ...
0
votes
1answer
112 views

Is it possible to have both static and dynamic IPv6 addresses on one interface?

I have two Qemu virtual machines with Ubuntu Server. I would like one of them to be a DHCP server. On the second one, I would like to have two IPv6 addresses. One should be static, and the other one ...
0
votes
1answer
166 views

Cannot virsh start my VM after a reboot of physical machine..error only a single IDE controller is supported?

I have a VM running under kvm (it is a .img file), the server it runs on crashed hard and restarted and finally got things up... I think I goofed and ran yum install -y qemu-kvm Which I am sure ...
0
votes
1answer
140 views

KVM Port Forwarding Port 53 to Guest via NAT - Temporary failure in name resolution

I'm trying to forward port 53 from the host to one of my KVM virtual machine guests on the virtbr0 interface (which uses NAT). The guest VM is going to run a customized DNS server. However, after ...
0
votes
1answer
264 views

IBRS suffix of CPU models in QEMU

What is the difference between the IBRS suffix and no-suffix CPU models in QEMU? Which one should I choose?
0
votes
0answers
28 views

KVM host crashes after starting application in guest

We ordered a new dedicated server yesterday and I moved some KVM guest machines from the old KVM host to the new server, which will be our new KVM host. The old KVM host is Intel based and the new one ...
0
votes
1answer
585 views

Is my KVM VM thin provisioned?

I was reading another post here Use Thin LVM Volume for KVM VM trying to understand whether or not KVM is capable of creating thin provisioned VMs. The post from about 8 months ago has both the OP ...
0
votes
0answers
55 views

Broken USB Forwarding for Dexcom G6 via libvirt qemu kvm

I'm attempting to forward a USB device over from my Linux host (Fedora) to a Windows 10 guest. The device seems to be forwarded, however, Windows cannot use it correctly. Additionally, I've tested ...
1
vote
1answer
156 views

Arch Linux - KVM - Sharing SSD and HDD between Arch and it's VMs

I'm relatively new to linux and I'm trying to build an Arch linux that will have a gaming VM. I have 2 disks: a 500GB SSD and a 2TB HDD. I've settled on a LVM with a swapfile and extra space for ...
0
votes
1answer
529 views

Error when starting vm on the qemu/kvm network: Failed to write pid file

Libvirt has stopped working altogether on any VM (windows or linux) on the qemu/kvm networt and has the following error each time I try to start something: error: internal error: Failed to start QEMU ...
1
vote
1answer
348 views

Multicast not working on macvtap device

I have a problem with my virtual network and IPv6 network discovery (multicast traffic). (The setup might seem a little bit involved and I don't remember the exact reasons for every design decision. ...
0
votes
0answers
158 views

Securely connecting cloud VMs to local KVM/QEMU VMs with Wireguard

I have a virtual machine running in the cloud, configured with wireguard, ready to add peers. It has a public IP address tied to eth0. On a home network, behind a NAT, I have KVM/QEMU running virtual ...
1
vote
0answers
75 views

Virsh Console Can't Access to rhel VM (a pty console, instead of serial console)

the pty console: <console type='pty'> <target type='virtio' /> <alias name='console1'/> </console> no output when I exec the command virsh ttyconsole vm_name the log (...
3
votes
1answer
2k views

QEMU Ubuntu Server 20.04 Initramfs write error

I created a QEMU virtual machine intending to install Ubuntu Server 20.04. The host is a Proxmox 6.x Debian system. The virtual machine parameters are: 2 CPU cores, 1 socket 512 MB ram, ballooning ...
1
vote
1answer
153 views

How to interpret CPU utilisation on KVM guest / host

I have a host Ubuntu 18.04 64-bit os running on a 24-core Xeon system. I've allocated 2 vCPUs to the guest which is Ubuntu 18.04 32-bit, and it's running an application which normally requires a small ...
1
vote
0answers
85 views

Running Windows in QEMU with LVM causes very slow disk acess

I have the problem, that whenever I try to run Windows within QEMU, it seems that disk access is becomming very slow after a short while. Surprisingly both access to the disk from within the VM as ...
0
votes
0answers
124 views

win10 vm crashes Debian host on install

using qemu kvm virtual machine manager gui HOST: current debian bulleye VMs that work: Any linux distro tried, WinXP, but lags a little. Windows 10 boots to spinning windows logo, Install begins. As ...
0
votes
0answers
128 views

IP-forwarding slow/dead

I have 2 vm's set up in qemu. 1 of the vm's (VM1) has a link to the internet and a link to the other vm (VM2). On VM1 I get good results on network performance (to wan): Connecting to host iperf.xxx, ...
0
votes
0answers
121 views

How to backup KVM/QUEMU guests with virsh?

I am running some VMs with libvirt and KVM/QEMU. Now I want to backup them and save the backups into object storage where I can restore them from to another host if the harddrive of my host fails. I ...
1
vote
1answer
57 views

Correctly installing / configuring locally built qemu / libvirt

On Ubuntu 18.04, the default installation of qemu is something like version 3, and I needed virtiofs which has built-in support in later versions. So I uninstalled the qemu and related packages, ...
2
votes
1answer
752 views

How can I forward ports in user-mode QEMU without conflicts?

I'm running Linux under QEMU as part of a test suite for a Python script that does some privileged operations. Running a full virtual machine is important to me, because: I do not want to require ...
2
votes
0answers
682 views

Cloud Init with Flatcar Linux — Configuration not applying when passing custom file?

I'm using Telmate's Terraform provider for Proxmox and trying to deploy Flatcar linux virtual machines using Cloud Init by passing files via cicustom. Based on their example, I have crafted the ...
5
votes
2answers
72 views

avoid redundant writing of virus scan signatures in VMs on same disk [closed]

I have two VMs on the same disk that each have clamav installed. Both regularly run updates for the same virus scan signatures simultaneously which results in an unnecessary strain on the performance ...

1
2 3 4 5
11