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.
222
questions with no upvoted or accepted answers
1
vote
0
answers
574
views
How does Qemu handle memory?
I'm having a real hard time understanding something and I was wondering if anybody has any experience with this and is able to help.
I have two KVM VMHosts, one running qemu 2.4.1 and the other ...
1
vote
0
answers
1k
views
Soft Lockup - CPU Stuck qemu-system-x86
I have a system running:
* openstack icehouse
* Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux(Ubuntu 3.13.0-48.80-generic 3.13.11-ckt16)
Suddenly ...
1
vote
1
answer
417
views
Golden image updates in qemu
Consider that there are 100 windows virtual machines coming from a single base image and each vm is added to domain along with minor other machine specific settings which can be done by a script.
...
1
vote
0
answers
2k
views
Qemu Virtual machine very slow
This is my first time using Qemu, and creating my own virtual machine. I feel like a complete newb ;(
Debian Linux host Uname -a:
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) ...
1
vote
1
answer
117
views
Qemu qmp snaphot-drive
what is the correct method to use qemu qmp snapshot-drive ?
Is there any other way to create snapshot of qcow2 based VPS without using virsh snapshot-create ? They seem to corrupt the filesystem on ...
1
vote
0
answers
606
views
Set custom cpu string for qemu/kvm
I have some virtual machines with software, which licensing check depends on cpu string.
They're running on kvm - with default cpu string value - which is QEMU Virtual CPU version 1.7.1
After ...
1
vote
0
answers
397
views
libvirt hook qemu suse12
we have this qemu hook.
In suse 11 was working well but in suse 12 it is not working. The hook is setting the ports in openvswitch native-untagged. Do you know if there is some libvirt missing ...
1
vote
1
answer
3k
views
Convert virtual disk image to physical disk?
I'm trying to use QEmu for Windows to convert a virtual disk image to a physical SSD. But I'm not sure about the syntax for the output_filename parameter. Here's what I tried:
qemu-img convert -p "D:\...
1
vote
0
answers
527
views
Why are Windows XP and 7 qemu/kvm guests not recognizing updates to a local Samba share?
I develop cross-platform software and test the Windows ports with wine, Windows XP, and Windows 7, the latter two tested using qemu with KVM. I also have several versions of OS X and Debian Wheezy as ...
1
vote
0
answers
173
views
Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?
I try
on the dedicated server
root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -C -N -D 127.0.0.1:22220 -f
[pid ...
1
vote
0
answers
1k
views
Enable SDL for KVM under CentOS 7
I'm trying to set up a VM in CentOS 7 with an SDL display, but every time I try to run it, I get the following error:
Error starting domain: internal error: process exited while connecting to monitor:...
1
vote
0
answers
5k
views
Gnome Boxes on CentOS 7 with Windows 7 as a guest
I just installed CentOS 7 and tried to use Gnome Boxes to create some virtual machines. As long as I stick to other Linux distributions everything is fine. But I really do have trouble installing ...
1
vote
1
answer
253
views
Bridging is breaking the server: KVM configuration
I'm pretty new to networking and just can't get my head around this.
I'm trying to setup KVM-Qemu so I can run some virtual machines. The instructions I'm following are telling me to use eth0 and ...
1
vote
1
answer
1k
views
kvm/qemu via libvirt on CentOS - pass string or key/value or file to guest
I have a sizeable deployment of qemu/KVM VMs already, managed through libvirt. They're all CentOS 5 or 6 hosts and guests (the kernel lacks the 9p filesystem flags, so the "mount" shared filesystem ...
1
vote
1
answer
478
views
Is it possible to create an equivalent environment of a KVM guest using QEMU for Windows?
I have a KVM guest in a datacenter that is my production server for a service I am developing. I would like to create an equivalent virtual environment on my Windows machine so I can be sure that ...
1
vote
0
answers
1k
views
qemu/kvm: connect two machines via ttyS0
I would like to connect two machines via ttyS0
Here's what I did on the guest machines:
A:
Add to /etc/inittab:
S0:2345:respawn:/sbin/mingetty ttyS0
Add to /etc/securetty:
ttyS0
B:
Try to ...
1
vote
3
answers
1k
views
Opening a Qemu/Xen file based VM Image (won't boot after upgrade)
Apart from one Virtual Host still running Xen/RHEL5, all our virtual capability is hosted on KVM hosts with LVM storage devices. I've stupidly attempted an Ubuntu full release upgrade on a guest ...
1
vote
0
answers
153
views
virt-rescue for Ubuntu
I want to install virt-rescue on Ubuntu 11.10 or Ubuntu 10.04. It could not be found in the repositories. Where can I get it?
1
vote
1
answer
644
views
Disable progress bar during Ubuntu installation
The screenshot below is the Ubuntu 18.04 installer as seen via virsh console / tty0 i.e. the installation takes place on a remote system in a guest VM.
Is it anyhow possible to see installer's ...
1
vote
1
answer
5k
views
How to fix a frozen qemu VM?
I have a qemu hypervisor on RHEL 6.4 that hosts VMs that will quite often lose their connection to the network. When the VM has lost its connection I can view and interact with the it using virt-...
0
votes
0
answers
16
views
GRE and QEMU and TAP
HOST SERVER
ENO2 has Internal IP 192.168.55.128 and External IP 200.100.100.100
TAP0 has Internal IP 192.168.10.1
GRE1 has Internal IP 10.10.4.243 and External IP 165.100.100.100
VM SERVER
eth1 has ...
0
votes
0
answers
18
views
Enable ethtool statistics in a QEMU CentOS Guest OS
I have a network interface available in a QEMU Guest OS running CentOS 7, and on the Host OS side it reports as:
$ virsh domiflist --domain mydomain
Interface Type Source Model MAC
-...
0
votes
0
answers
283
views
Wireless-Bridge on a ubuntu 22.04 (netplan) for three QEMU VMs
I do have an apparently trivial, but it is rather an ambitious project.
Wishing to run three ubuntu 22.04 VMs on my laptop, installing and configuring kubernetes for an initial learning phase with the ...
0
votes
0
answers
178
views
How do I remove cloud-init backing image from my VM?
I am moving a VM from Ubuntu 22.04.3 LTS KVM host to a RHEL 8.9 Ootpa KVM host.
When I try to start the VM on the destination (RHEL) host I see,
error: Cannot access backing file '/var/iso/jammy-...
0
votes
0
answers
90
views
Can qcow2 overlay get committed back into raw backing file?
I am trying to design a system utilizing the btrfs filesystem and libvirt.
btrfs has copy-on-write (COW) already, it's very easy to do snapshots and it's very efficient to transfer the snapshot to a ...
0
votes
0
answers
148
views
How to set default disk image format in Cockpit/QEMU
I create my virtual machines on Debian 12 with Linux Cockpit 287-1 which uses QEMU/KVM for virtualization. If I create a VM, the default disk format is always in RAW-format. However, due to some ...
0
votes
0
answers
374
views
After converting Windows guest OS .vmdk file to .qcow2 and hosting to KVM gives "No Bootable Device"
We are migrating guest VM from VMware 7 to KVM (installed on Ubuntu 22.04 LTS).
We have achieved success in migrating all Ubuntu guest VM from VMware to KVM by converting the vmdk disk to qcow2.
...
0
votes
2
answers
183
views
How to access service from virtual machine of another machine in local network?
I have two Ubuntu machines A and B in my local network.
Computer B has an openmediavault instance set up via KVM.
Computer B has the IP address 192.168.177.58, the openmediavault instance provides a ...
0
votes
0
answers
188
views
How to make KVM guest configs persistent across reboots/shutdown
I create a KVM Guest VM (virsh define a.xml, virsh start a.xml). Guest uses pre-configured/pre-made QCOW2 disk image, which represents a virtual router (Arista vEOS). Host is Redhat 9.1. Guest is ...
0
votes
0
answers
62
views
QEMU load average vs cpu count
When I configure more CPU cores, the load average in my Guest OS as shown by top also increases linearly.
I'm trying to understand why this happens, because I expected either the opposite or at least ...
0
votes
0
answers
160
views
qemu set different dynamic ip address for each machine
I need to run about 7 virtual machines via qemu at the same time. The problem is that they all have the same public IP address as the host. Is there any way to give them different ip addresses? host ...
0
votes
0
answers
2k
views
Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices - fedora 37
I added the section in the xml file of the VM win10 and I got the following error:
Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices
when trying to ...
0
votes
1
answer
221
views
Cache mechanisme in kubernetes
I've got the next setup:
Proxmox 7.2
CEPH 16.2.9
K3S v1.23.15+k3s1
CEPH CSI v3.7.2
CEPH using as RBD-storage for QEMU images and K8S PVC. When I do disk benchmark in QEMU I've got the next results:
...
0
votes
1
answer
842
views
how can I boot from usb device in libvirt qemu machine?
I pass-through a usb device like this:
<hostdev mode="subsystem" type="usb" managed="yes">
<source>
<vendor id="0x067b"/>
<...
0
votes
1
answer
3k
views
libvirt with qemu guest, bridged networking does not work
I am trying to get a VM operational and working so my router can forward a high port to its SSH, allowing someone on the Internet to connect to the VM. I am familiar with how to make that part of it ...
0
votes
1
answer
2k
views
`virsh -c qemu:///session list --all` lists VMs created in `QEMU/KVM` connection, but misses VM from `QEMU/KVM User session` of Virt-Manager
# virsh -c qemu:///session list --all lists only VMs created in QEMU/KVM connection (system !), but misses VM I've created in QEMU/KVM User session in GUI of Virt-Manager. Why? From below I unserstand ...
0
votes
0
answers
679
views
Share a host folder to an alpine image running in qemu
I have try to run an alpine Linux in an emulated environment this way:
$ wget https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86/alpine-netboot-3.16.1-x86.tar.gz
I have untar the archive and ...
0
votes
0
answers
777
views
Why would a KVM/Qemu VM, running successfully on a new host, get stuck "Paused" after a few minutes?
I used virsh commands to backup a Xubuntu 22.04 VM on an Ubuntu 20.04 machine and restore it on an Ubuntu 18.04 machine.
The VM starts up successfully, but after a few minutes of running apt updates ...
0
votes
1
answer
399
views
VM: Can I detect that my virtualmachine is being paused?
Is there any signal or something that could allow me (guest OS) to recognize that my virtual machine is being paused in KVM/Qemu before it gets paused? It's important for me to not depend on option to ...
0
votes
1
answer
901
views
Bridging wan interface using macvtap - no connection to host
So I have an ubuntu server with 1 WAN interface with a public ip address. I would like to bridge this interface so that the qemu guest vm will use the same interface.
I used the guide in
https://...
0
votes
2
answers
555
views
How to resize kvm vm host
KVM Host Environment:-
# cat /etc/issue
Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l).
# /usr/bin/qemu-system-x86_64 --version
QEMU emulator version 2.1.3
With the below commands i ...
0
votes
1
answer
1k
views
Running QEMU VM, Windows Host. Need to increase RAM for Guest VM
Running guest Ubuntu VM on Windows Host (QEMU).
Installed a lot of libraries here in Ubuntu and much scared too "break" vm.
Need to increase RAM for Guest VM.
Tried to google the thing out, ...
0
votes
0
answers
1k
views
Qemu - Cannot connect to Guest
I'm running Qemu on Windows and I can't connect to the ESXi guest and can't ping the host network gateway from the ESXi guest. I disabled all other network interface on Host machine except the ...
0
votes
1
answer
2k
views
How to pass-through multiple USB devices with the same Vendor- and Device-ID in QEMu/Libvirt?
I have three identical USB devices on my VM host that I would like to pass-through to a VM:
I can pass-through only one device as they all have the same vendor- and device-ID, the element in the VM ...
0
votes
0
answers
103
views
Linux bridge leaking traffic of shutdown vms
I've a linux bridge (br0) setup with netplan as the following:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: no
dhcp6: no
bridges:
probr:
interfaces:
-...
0
votes
2
answers
93
views
Permissions of /dev/null wrong in KVM guest
My host node is RHEL7 running KVM from the 'updates' repo. On the host node, the permissions for /dev/null are:
crw-rw-rw-. 1 root root 1, 3 Dec 18 04:45 /dev/null
In an Alpine KVM guest (5.14, but ...
0
votes
1
answer
2k
views
How to enable external access to the Virtual machine on private link?
I would like to benchmark virtual networking of KVM-QEMU. For this purpose, I connect two servers (server 1, and server 2) with one wire. I use server 1 to run the QEMU VM and I want to access this VM ...
0
votes
0
answers
2k
views
Loading a KVM guest with static IP using XML file
I have an XML template for the image I am loading on KVM using ansible. For now, the image loads without IP. I would like to know if there is a way to add static IP on the XML template so that my VM ...
0
votes
0
answers
224
views
VLAN QEMU Hypervisor bridge without host ip
I'm using debian 10 with kvm/qemu as hypervisor.
You can ignore the bond...
I created X VLAN Tagged and created a bridge on that tagged vlan.
auto bond0
iface bond0 inet manual
slaves eno1 ...
0
votes
1
answer
175
views
Migration Fails in Qemu with error `Unknown ramblock "mem1", cannot accept migration`, while it exists on the source
I'm trying to migrate a VM in QEMU, after I hotplug memory to my VM I cannot migrate it and I face with Unknown ramblock "mem1", cannot accept migration while this name is ok and it really ...