Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
17 views

debian 8 host with samba server filesharing doesn't work on KVM/qemu VM's over bridge mode

i have the problem, that my debian 8 server where a kvm/qemu and a samba server is running has the problem, that i cant connect from any VM to the fileshare folder. i can see the host over the network ...
2
votes
0answers
42 views

How to fully emulate VM hardware?

How do I fully emulate, pass through, or spoof all the hardware for a virtual machine? I want to set up a few guest VMs in such a way that they do not have any special drivers or odd hardware info. ...
0
votes
0answers
13 views

qcow2 virtual image: lower disk space usage

qcow2 virtual image takes same disk space after cleaning up guest system from ~3G of data. Is it possible to update it to the actual size of the guest system?
0
votes
0answers
61 views

virt-install choice of graphics affects whether or not installed guest will boot after install

Please let me know if I am doing something incorrectly or if this is a bug. Host OS: Debian 9.6 Stretch amd64 Package: ii libvirt-daemon 3.0.0-4+deb9u3 ...
0
votes
0answers
35 views

Poor network performance on host machine using libvirtd / Qemu / KVM

We've got two Fedora 27 servers that we use to host several virtual servers using libvirtd / Qemu / KVM that are experiencing the same issue. When freshly booted, network performance is great, pings ...
1
vote
0answers
52 views

Static IPv4 in QEMU

I'm fairly new to QEMU and am attempting to provide static IP addresses to the network interfaces while bringing up the QEMU images via command line. The command is like below: qemu-system-x86_64 -...
1
vote
2answers
36 views

libvirtd bridged networking, what iface is right to set IP?

Accodring to the documentation assigning of the IP addr it not mandatory for the BR interfaces. I have 2 netwok configuration set on libvirtd hadware node. Possibility one: 1. eth0 172.16.33.55/...
0
votes
1answer
42 views

How to delete a snapshot not seen with virsh but can be seen with qemu-img info?

[msingh@centos images]$ qemu-img info IE11-Win7-VMWare-disk1.qcow2 image: IE11-Win7-VMWare-disk1.qcow2 file format: qcow2 virtual size: 40G (42949672960 bytes) disk size: 82G cluster_size: 65536 ...
0
votes
1answer
121 views

Nested Virtualization KVM: entry failed, hardware error 0x7

I have a VM on a host and want to create another VM within the existing VM (nested). Host: opensuse Tumbleweed, kernel 4.19.7, 96 CPUS Intel-Xeon, 256GB RAM (nested virt enabled in kvm) L1 VM: ...
0
votes
0answers
24 views

QEMU crashed while trying to boot up i.MX6q device kernel

When tried to boot up Kernel uImage of an i.MX6q based embedded device, it seems that QEMU crashes with "Unable to handle kernel NULL pointer dereference at virtual address 00000044". Before crashing ...
1
vote
0answers
126 views

Proxmox: how to access a ZFS volume directly through guest?

That may sound like a strange use case, but is there a way to access a ZFS volume directly through an LXC container or a Qemu VM with Proxmox? I'd like to have incremental backups pushed to my guest ...
2
votes
0answers
120 views

XP KVM stuck at “Booting from Hard Disk”

Just to see if it could be done (and if so, move other physical XP machines to VM environments), I took the hard drive out of a decommissioned laptop, captured a WIM of it, and applied it to a QCOW2 ...
1
vote
0answers
62 views

Q: Unable to create 'live' snapshot of running KVM using virsh

I was kindly directed to here, Serverfault from Stackoverflow to pose my question. I'm running the following command on a RHEL7 hypervisor to create a live backup (disc image) of a running kvm, ...
1
vote
0answers
87 views

KVM guest gets into paused state shortly after being started

I have two very similar x86_64 machines running the same kernel (4.7.8), and the same version of libvirt. The only difference between the two machines is the amount of memory they have, machine A has ...
0
votes
1answer
129 views

Missing KVM snapshots in virt-manager

I need to resize an image and receive an error when using qemu-img the resize is not supported because snapshots exist. Sure enough, even though virt-manager does not show any snapshots, I see the ...
0
votes
0answers
43 views

Ubuntu 18.04 qemu lvm vnc issue

I just stumbled across a very strange issue with qemu and vnc / lvm on an fully updated vanilla Ubuntu 18.04: I set up am VM through libvirt: virt-install -n web_devel -r 2048 --disk path=/var/lib/...
2
votes
0answers
150 views

Kernel panic when booting qemu virtual machine

I usually install template virtual machines on a dedicated server and then copy the disk to other production servers. It has worked for years and still works today in all cases but one. I have ...
0
votes
0answers
24 views

configured cpu count is not reflected in libvirt/KVM Windows10 guest

I have a libvirt domain configuration, where the cpu-related settings for a Windows 10 guest are configured as follows <domain> <!-- ... --> <vcpu placement='static'>3</vcpu&...
0
votes
0answers
100 views

Installing Ubuntu 18.04 VM with Raid1 on ISCSI Server

I'm trying to create a VM (Both Guest and Host are Ubuntu Server 18.04) that uses 2 ISCSI Targets as a RAID 1 for the operating system. The goal is to have 2 Different ISCSI Servers that each hold 1 ...
0
votes
1answer
59 views

oVirt qemu-kvm listening on wrong IP

I'm new to oVirt but managed to configure it and take over the console on an IPv4 network, using VNC instead of spice. However, I've noticed that the qemu-kvm process only binds to the IPv4 interface ...
0
votes
0answers
104 views

qemu-nbd mount windows parition

I'm currently trying to mount NTFS partition from a qcow2 image on Debian9. I tried with linguestfs and qemu-nbd, that's not working libguestfs but using qemu-nbd i can mount the qcow2 image on /dev/...
1
vote
1answer
359 views

kvm/libvirt backup: how to ensure a consistent fs during online blockcommit?

I want to create online backups of a KVM Windows 10 virtual machine that is managed by libvirt. I have the qemu agent setup in the guest. If found this wiki entry that suggests the following: 1. ...
1
vote
1answer
102 views

Using host DHCP server with QEMU user mode (slirp) networking

I am trying to debug my own DHCP server (for PXE), and I want QEMU to net boot from it. For that, it needs to send DHCPDISCOVER packet to 255.255.255.255 that should reach host network where DHCP ...
1
vote
0answers
243 views

Route QEMU VM traffic through hosts VPN

tl;dr Host connects via VPN to the internet and a VM on this host doesn't go through this VPN (but it should). I think the network config isn't quite correct. The host The host (arch Linux) connects ...
0
votes
0answers
240 views

Delayed start for Guests KVM/libvirt

Looking for any pointers anyone may have to introduce a delayed start for KVM guests i.e. 30 seconds between starting each virtual server rather than starting them all at once which thrashes the disks ...
0
votes
0answers
79 views

How to make virt-install do an unattended install with an image that installs unattended on real hardware?

I built an Ubuntu 16.04 installation image. It reliably installs unattended on real computers--no preseed file, no human input. When I try to install this image in a KVM/qemu virtual machine, I must ...
0
votes
1answer
433 views

KVM-QEMU Windows Guest Memory Speed

How to speed up memory in Windows guest running on KVM-QEMU hypervisor? The memory speed differs between Ubuntu guest and Windows 2016 Server on the same node quite a lot. Same benchmark tool counts ...
2
votes
2answers
503 views

Mount URL as cdrom/iso KVM/QEMU

I am looking for a way to mount an ISO as a cd rom, according to libvirt docs (referenced below) it should be possible, additionally in the question referenced below. I am aware of this question, ...
0
votes
0answers
379 views

QEMU host and guest on the same network

I am trying to get my QEMU guest on the same network as my host, I know that when you boot a QEMU image it assigns it a private IP, so I have been trying to create a bridged network. The host machine ...
1
vote
1answer
152 views

QEMU QMP How to find device to use drive_backup?

I would like to use backup_drive command to copy disks and their snapshot in one image. Unfortunately, each time i use the command : virsh qemu-monitor-command VM_NAME --hmp drive_backup device=...
1
vote
1answer
139 views

QEMU and point-to-point link between VMs without bridge

The most common practice to connect VMs together is to use tap interfaces with the bridge between them. On a linux, bridge driver filters some classes of link-local multicast traffic, such as LACP ...
1
vote
0answers
239 views

Cannot redirect QEMU output to terminal using -nographic flag

I'm very new to QEMU. So I tried installing Debian in QEMU image following this instruction https://wiki.debian.org/QEMU. I first created an image. qemu-img create -f qcow2 debian.qcow 2G Then ...
1
vote
1answer
473 views

How much memory does a qemu disk cache writeback mode use?

I use Proxmox with ZFS ZVOL or LVM-thin for the disk volumes and it is said that using disk cache writeback mode will increase memory usage more than allocated. Is there a way to check, limit, and ...
0
votes
0answers
51 views

Vm connect to everywhere but the host

I have the following issue. Vms in virsh net2 are fine. Vms in net1 connect everywhere but the host. They can ping and connect to each other including vms in net1. Vms in net2 can only connect to ...
0
votes
0answers
29 views

QEMU clarifications and setup optimizations

We are using qemu with kvm acceleration. I wanted to understand the -drive flag, currently we are using it as follows: -drive file=<qcow2 snapshot file> if=virtio I have the following ...
0
votes
0answers
64 views

How to compile qemu-guest-agent - centos 6?

Can anyone provide a way to compile the latest version of qemu-guest-agent on CentOS 6? The repo version is too old for my needs, but i can't find any way to compile only it, without the whole qemu-...
0
votes
1answer
197 views

Upgrade QEMU/KVM on Ubuntu 16.10

I am hoping this is the correct forum on which to introduce my question as I am new to Ubuntu/linux world... and KVM Hypervisor. I am looking at upgrading the current version of KVM virtualisation ...
1
vote
0answers
224 views

KVM: What is stored in var/lib/libvirt/qemu

My Question is "What is stored in the /var/lib/libvirt/qemu folder?" Is this used as somekind of backup folder ? Backgroundinformation: I have a Debian Server with a running KVM installation(+libvirt)...
0
votes
0answers
48 views

qemu error while restoring snapshot

I made a snapshot of a Windows 10 VM and now if I try to restore it with virt-manager or with this command virsh snapshot-revert win10 "bef kg" I get this error: error: internal error: qemu ...
0
votes
0answers
123 views

How to pre-install and pre-configure selinux in a kvm/qemu guest image using docker?

I'm working in a company where we need to distribute our image running SE-Linux inside. The product uses virtualization for additional security, thus we have got a setup with a linux host, running ...
1
vote
0answers
213 views

KVM/QEMU: cannot attach-device (disk) to a live domain

I'm trying to add a new disk to a running guest/domain (Win10) I succeed in using virsh attach-disk... --live and also using virsh attach-device.. --config But using: virsh attach-device SRV13 /tmp/...
0
votes
1answer
135 views

Handling VMCALL with libvirt (qemu-kvm)

I am using libvirt with qemu-kvm to manage virtual machines. The guest makes a vmcall which I want to be notified of, e.g. via a callback function. I know it's possible with 'pure' KVM, but does the ...
1
vote
0answers
123 views

Can't launch instances on new Devstack installation

I just "successfully" installed Devstack on my Ubuntu Server 16.04 LTS. I can connect to the Horizon Dashboard without problems but when i try to launch an instance i get errors. If it try run a ...
1
vote
1answer
110 views

Enabling KSM: Restart of libvirtd necessary?

I've just enabled ksm on one of our hypervisors with lots of running VMs (qemu-kvm) that all are using the same operating system. Anyway, pages_sharing and pages_shared both still show 0: root@...
0
votes
0answers
58 views

KVM: Host has 2 IP addresses on isolated network

I set up a machine with Ubuntu 16.04 and KVM running a couple of VMs. I created a virtual network (virbr1) which is supposed to connect some of the VMs so I added this network to those. One of them is ...
0
votes
0answers
108 views

Libvirt nwfilter with multiple IPs

I'm trying to apply a nwfilter rule for two networks on the same guest interface, like so: ~ # virsh nwfilter-dumpxml 1081532-private-both <filter name='1081532-private-both' chain='root'> &...
1
vote
0answers
456 views

Kernel Panic on Guest-VM (Debian 9)

I have two servers running with Debian Jessie Kernel 3.16.0-5-amd64. Both servers have the exact same configuration, only hardware differs. I use KVM as hypervisor together with QEMU on both servers. ...
0
votes
0answers
422 views

QEMU Network bridging for having a public IP

I simply want that my QEMU VMs have a public IP so I can run multiple servers in the same machine. I've read a lot of wikis, guides, tutorials, forum threads and anything related to this but still no ...
0
votes
0answers
176 views

What's the safest way for backup and restore external snapshot using virsh libvirtd

Dears, I've followed the following steps in order to get a snapshot of a running VM on my KVM, but actually i'm not sure if that the correct way or no : /usr/bin/virsh snapshot-create-as \ --domain ...
0
votes
0answers
1k views

KVM gets stuck at “Booting from ROM”

I created I a ubuntu 16.04 vm with a kickstart file using the following xml <domain type="kvm"> <name>""" + name + """</name> <memory unit='GB'>1</memory> <vcpu>1&...