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
5
votes
2answers
126 views

Hot swapping physical disks passed through to a qemu VM

I have a virtual server running in qemu on proxmox. It has two physical disks attached to the host using a virtio: directive in 101.cfg as folllows virtio2: /dev/disk/by-id/ata-vol1,backup=0 ...
0
votes
0answers
28 views

QEMU vmvga + Windows - Which driver to use?

I am trying to find a driver for Windows 7/8/10 to use the "vmvga" display driver with QEMU+KVM. For Linux, this driver is available by default, and for OSX there's VmsVGA2, but where can I find the ...
0
votes
0answers
33 views

qemu snapshot exclude device

I'm searching the web for a solution to exclude qemu devices from snapshoting like it exists for virtualbox and vmware with "persistent" or "independent" as parameter. (ref. Exclude file storage from ...
2
votes
1answer
103 views

qemu/KVM optimisation for heavy TPS and write workloads

I am running 30 VMs on RAID 0 SSDs. The VM workloads are a heavy Docker environment (docker-compose to be precise, running around ~40 containers). CPU load average and RAM usage are both well within ...
1
vote
1answer
60 views

qemu/kvm file/block disk device types - and iothreads

On a CentOS 7 host, I'm creating a VM from an Amazon Linux 2 qcow2 image: Download Amazon Linux 2 cloud-init image (.qcow2 format) Copy this file, run qemu-img resize to expand it to 40G Define it in ...
0
votes
1answer
31 views

Libvirt: “The CPU is incompatible with host CPU”

I'm exporting a domain from 'old pc' to 'new pc' # Export domain (from old pc) ssh user@"$REMOTE_IP" "virsh --connect qemu:///system suspend --domain magento-base > /dev/null 2>&1" ...
4
votes
1answer
62 views

Where are libvirt “saved states/snapshots” stored?

I have a .qcow2 image, and I can port it easily to a different computer. But I'd also like to port its saved state. Where are they stored? I'm on Manjaro/Arch.
0
votes
2answers
27 views

“chroot”, but with a VM?

I just backed up a remote system using rsync. I have a directory that I can chroot into and would now like to boot it up as a VM. I know that qemu has -kernel capability, as well as -drive file=fat: ...
0
votes
0answers
15 views

Ubuntu Installer Display issues

I am trying to install Ubuntu 18.04 server but always get display issues after booting into the installer from grub. Grub displays fine but once the kernel starts to load the display is scrambled as ...
2
votes
1answer
66 views

OpenVPN connection stops working every 5 days

I've been pulling my hair out over this issue for awhile. For 2 year, i've been running OpenVPN on Ubuntu 18.04 without many issues. As a virtual server on Virtualbox on a Windows host. Now i've ...
0
votes
0answers
24 views

Kernel panic when >3 virtual networks are used in kvm/qemu

UPDATE* I found a work-around; it seems like the problem is bound to the number of cpus. If I set -smp=3 to qemu I can create 8 networks. The 9'th trigs the panic. I use kvm/qemu on Ubuntu 18 with ...
0
votes
1answer
15 views

VM client doesn't route packages correctly anymore (to specific networks)

I have kind of a strange problem. After rebooting a server a few days ago, it doesn't route its packages correctly. It basically doesn't answer (pings for example) if these packages come from specific ...
0
votes
1answer
42 views

What is the role of QEMU in server virtualisation?

I am aware of that KVM provides hardware acceleration feature by utilises the virtualisation extension in CPU chips like Intel VT. So that VCPUs can be directly mapped to physical CPUs to achieve ...
0
votes
0answers
14 views

Access to guest display when host is accessed via VNC

I have a dedicated (phyiscal) server running Ubuntu 18.04, and I've installed ssh and tightvncserver on it. I can connect from my local machine via an ssh tunnel to the host using realvncviewer, and ...
0
votes
0answers
65 views

macos qemu tap can't ping bridge ip address?

I want to install qemu on macos and use a tap device in the vm. Below is my step. install qemu brew install qemu install tuntap, after installation, I can see tap devices in /dev/tapX brew install ...
1
vote
1answer
22 views

Where are the OS specific properties located used by virt-install --os-variant

Using virt-install ... --os-variant win10 ... virt-install create a new VM optimized for Windows 10. But where are those OS specific properties located? E.g. machine-type and the <hyperv> ...
1
vote
1answer
40 views

How to connect to VM on Qemu which uses -device option with fixed mac address?

I found a script that starts qemu with this option: -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \ how do I connect to this machine? I want to SSH into it. I tried seeing the IP ...
1
vote
0answers
101 views

How can I enable 2D/3D Acceleration with QEMU?

I have a KVM Server running Virtualizor on CentOS 7.6 . When I try to enable 2d/3d acceleration I'm getting the below error message. There was an error while starting the new VPS error: Failed to ...
0
votes
1answer
58 views

qemu-system_x86-64 can you add a physical hard disk to a virtual machine without being root

As it is on the title I want to add a physical partition to my VM without having root privilege. Is it possible from Linux and how should I do this by using only qemu-system_x86-64 ??
0
votes
0answers
8 views

qemu save session of the VM to save time and not reboot without using virsh

I am in a arch based distro using only qemu in a situation where cant install libvirt for a certain reason. Want to skip the boot of windows VMs and start the VM quicker.
8
votes
2answers
618 views

QEMU - incorrect real disk size of a virtual drive

df and ls report different sizes on my host machine because of the difference between the allocated size and the amount of space that's actually used in the EXT4 filesystem. The problem is that both ...
0
votes
1answer
194 views

Error: “you need at least 8.6GB disk space to install SecurityOnion, This computer has only 2 GB”

required disk size is more than 8GB But got only 2GB In GNS3 I imported securityonion-16.04.6.1.iso image as new qemu vm, not as existing qemu vm. These is no where an option to change/choose enough ...
0
votes
1answer
903 views

unable to ssh into local qemu instance via port forward

I am trying to build a custom Ubuntu (ISO built from bionic - 18.04.2) qcow2 image via packer. This fails in the step where packer tries to SSH to the instance via port forward. I can see from VNC ...
1
vote
1answer
260 views

Use Thin LVM Volume for KVM VM

I now we cannot use thin LVM volumes with libvirt. Is there any other alternative allowing use of LVM thin provisioning in KVM/QEMU virtual machines?
2
votes
1answer
57 views

How to enable vIOMMU in virt-manager?

I am planning to perform nested virtualization with GPU device. I have guest Ubuntu OS running and I have mapped GPU to it by enabling intel_iommu on the host, and configuring NVIDIA PCI as vfio-pci ...
0
votes
0answers
28 views

qemu-system-x64_86 high CPU comsumption, much higher than the processes inside the guest

I have an Ubuntu 18.04 with several virtual machines running in it using kvm. Using top inside the VM it never goes CPU consumption over 30%, however, if I check the qemu-system-x86_64 processes in ...
0
votes
1answer
72 views

qemu - second network interface to openvpn tap

I have a debian-linux host running a windows vm with qemu. As network setup I have one eno1 interface which connects the linux host to the internet, an tap_inet for qemu for internet access and on ...
0
votes
1answer
195 views

how libvirt cputune config goes to qemu-kvm

I am porting xml libvirt config to qemu executable arguments. Simply I have .xml vm config from virsh edit vm-name and I want to run the same vm machine by executing qemu-system-x86_64 with special ...
0
votes
0answers
55 views

Repeated loss of network connectivity to QEMU/KVM/virt-manager VM

I'm having frequent network connectivity failures under the QEMU/KVM/virt-manager stack on openSUSE Leap 15.1. I have a single VM running a software firewall, which is losing connectivity every few ...
0
votes
0answers
33 views

multiple Qemu vms with network bridged scaling issues

I have setup multiple qemu virtual machines. They are launched connected to virtual taps (each VM has its own) qemu-system-x86_64 -enable-kvm -hda my_drive.qcow2 -m 1024 -netdev tap,id=t1,ifname=tap0,...
0
votes
1answer
996 views

Cannot Create QEMU Socket Networking in Windows Host using Multicast Fails with Unknown Error

I am trying to create a simulated VLAN using socket networking, and the only way to connect multiple VMs in one network in QEMU using socket networking is by using the multicast mcast option of the ...
0
votes
0answers
96 views

host port forward in qemu, defined in machine XML file

I'm trying to get libvirt to port forward to guests without fussing too much with static IP assignments. I found this question with an interesting answer here. The XML section of relevance: <...
0
votes
0answers
172 views

Qemu guest machine access to host proxy server

I have a host running linux (opensuse), which has a local proxy server at http://127.0.0.1:1234, running a Windows10 guest via QEMU by virt-manager. The network of the guest is using NAT to host with ...
0
votes
0answers
15 views

Xen/Qemu ignores any mouse/keyboard input

Target: Orange Pi RK3399 Arch: arm64 Xen 4.13 is launched and working Armbian as dom0 Same armbian rootfs copy is used as domU + compiled generic kernel When attaching via VNC, screen is shown ok,...
0
votes
0answers
17 views

qemu-kfm LVM logical volume size inconsistency in df output

The Problem: andi@docker-host-01:~$ df -hT . Filesystem Type Size Used Avail Use% Mounted on /dev/vdb1 ext4 79G 41G 35G 55% / Adding 41G & 35G gives 76G and not 79G as shown ...
0
votes
0answers
100 views

Create Multiple Bridges in Windows Host to be Used by QEMU VMs

I have setup a QEMU VM with two TAP adapters (i.e. I have two adapter interfaces in my VM), and I am using OpenVPN's ethernet TAP driver to get such adapters. I have two NIC cards in my host machine, ...
0
votes
1answer
810 views

KVM-QEMU bridged network not working - guest can only access host

I am trying to configure VMs to act like devices on my LAN, instead of hiding behind the host. This is the tutorial I followed: RHEL8 Network Bridged Interface My router/DHCP is at 10.10.1.254 Host ...
0
votes
1answer
37 views

Host How to filter network access for a windows 10 guest

Ive setup a VM containing windows 10 Pro, but i would like to blacklist centrain dns entries and ip v4/v6 addresses. ive searched for bridged networks but did not found any matching solution. is a ...
0
votes
1answer
294 views

QEmu and limit CPU clock vor VM

My question is simple. With the help of virt-manager, can I limit what speed should the VM see and use the CPU at? The goal is to test a web application if it runs better on more cores, lower speed ...
0
votes
0answers
53 views

KVM vps start error

vps un-able to start even with free ram on server. I have assigned 1Gb to vps : free -m total used free shared buff/cache available Mem: 64173 ...
0
votes
0answers
92 views

minicom into qemu guest os

I need to be able to gdb into guest OS run by qemu. My machine (Ubuntu) doesn't have any serial ports. Essentially what I need to do is to create a virtual serial port on my Ubuntu machine, create a ...
0
votes
1answer
31 views

how to to properly setup a linux server with kvm qemu for networking

I have two hosts (identical hardware) running two different linux-distributions. Both are running kvm-qemu, and I have copied the same qcow-file for a linux clients to both hosts. My network is using ...
2
votes
0answers
80 views

Making custom Kernel configuration changes with debian-installer in QEMU

I am installing Debian10 (armhf) on a virtual machine in QEMU, like this: Download this netboot/initrd.gz Download this netboot/vmlinuz Create an empty disk image with: qemu-img create -f qcow2 ...
0
votes
0answers
49 views

Installing Windows though QEMU-KVM on servers without KVM or IPMI

I have server Corei3/4 GB Ram/2TB hard disk from online.net (oneprovider). Now I wish to install Windows .After searching I got this link. _https://blog.rodney.io/2016/06/installing-windows-though-...
1
vote
0answers
147 views

Qemu kvm virsh xml config for emulating PPC (PowerPC) guest VM on debian x86_64 host

When I try to save with virsh edit a qemu config with domain qemu (KVM not supported on x86_64 host when running PPC guest) and machine either g3beige or 40p (any other I can try?) with emulator qemu-...
1
vote
1answer
153 views

RHel 7 converted with qemu-img fails with dracut error at boot

I'll have to migrate several computers from Hyper-V to VmWare. I would like to use qemu-img because is command line and I could create an script. Conversion works fine for Windows but is not working ...
0
votes
0answers
93 views

qemu/kvm detect cause of “pause” by script (no memory left on host)

The setup is a windows 10 vm and a Ubuntu 18.04 host running qemu/kvm supported by virsh/virtmanager. The vm image and its overlays have a own small partition, smaller then the virtual size of the vm-...
0
votes
1answer
39 views

Dump network traffic of guest VM to host filesystem via serial console or vsock?

I have a VM which uses a VPN for connectivity and I need to dump the traffic of the VPN interface to some pcap file on the host. The VM is fairly stripped down but I can run tcpdump. I can't however ...
0
votes
1answer
57 views

Separate public ip addresses on host and guest with qemu-kvm

Is there some way to completely separate the networking between host and guest? I have a machine with one NIC, I can have multiple public IP addresses for that NIC. The machine runs a VM. One IP is ...
0
votes
0answers
505 views

QEMU-KVM: VM will not start with virsh, only with qemu-system-x86_64

I have a vanilla Arch linux VM with disk in qcow2 format. I recently upgraded it and it stopped working. Every time I run $ virsh start Arch I get: Starting version 243.78-2-arch ERROR: device 'UUID=&...

1
2 3 4 5
10