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.

learn more… | top users | synonyms

1
vote
1answer
1k views

Qemu - Disk Type, SATA Controller Questions

This is not so much of a question asking for an answer as it is just looking for an explanation. Imagine the following scenario. I have a Windows 7 Laptop, Dell Precicion M4500 series, with an SSD ...
1
vote
2answers
616 views

Disable TCP checksum offloading on KVM virtual network

I have a virtual network for connecting KVM guests with the host. I need to disable TCP checksum offloading on this network. The ethtool works fine but I want to disable it permanently and I could ...
0
votes
1answer
1k views

How can I set up a VM of Solaris 11 / Sparc on Windows / x86 host? [closed]

I need to test a custom binary that was originally compiled for an earlier version of Solaris on Solaris 11. Being poor, I don't have a spare SPARC server lying around on which I can install Solaris ...
-1
votes
1answer
93 views

Implementing hardware virtualization for custom hardware

When using QEMU/KVM there are certain network adapters that are supported and emulated. If one wanted to emulate the guest OS's original network adapter (e.g - a Broadcom interface that was present on ...
0
votes
1answer
252 views

Is there any complete tutorial for setting up a full QEMU-KVM from hypervisor to host through command line ? [closed]

I've found parts about how to use virt-install from scratch or almost like http://virt-tools.org/learning/install-with-command-line/ However I'm stuck at connecting to the VM through virsh once the ...
1
vote
1answer
356 views

KVM virtual machine boot messages

Just wondering if anyone knows of a way to stop the following boot messages with a centos 6.5 vm created with qemu-kvm When I start the vm there is a slight delay as the vm posts the following boot ...
0
votes
3answers
2k views

Why I can't save network changes with virsh?

I am trying to add fixed address to specific virtual host, therefor I closed virtual machine and used sudo virsh net-edit somenet. After adding line <host mac='52:54:00:26:61:22' ...
0
votes
1answer
202 views

QEMU's QMP to listen on same socket?

Is it possible to have multiple qemu processes (machines) to listen on the same socket? I.e. you have this identical part when starting qemu processes: -qmp unix:./qmp-sock,server,nowait --monitor ...
0
votes
1answer
171 views

Debian keymap changing with qEmu?

Here's the context : I have a Debian 7.3 as the host system (with LANG=fr_FR.UTF-8), on which I'm running virtual machines with qEmu (for educational purpose only). I've created a disk image on which ...
1
vote
1answer
462 views

Why can't I shutdown running kvm instance?

I have running kvm instance: =# virsh list --all Id Name State ---------------------------------------------------- 2 debian-test running When ...
0
votes
1answer
130 views

Networking issues KVM

I have a server that is running Debian 7.2. I recently set up KVM on it, and created two VMs. Both VMs are unable to connect to the Internet. I was following a tutorial, and I'm certain I followed the ...
-3
votes
1answer
342 views

Knowing when a qemu vm shutdown (initiated via telnet using QMP) is finished

When I start a qemu (Windows Server 2003) virtual machine with -qmp tcp:127.0.0.1:4444,server,nowait I can make it shutdown with the following script #!/bin/bash telnet 127.0.0.1 4444 <<JSON ...
0
votes
1answer
827 views

how to connect multiple kvm/qemu VM guests in to a subnet [closed]

I want to setup a simple subnetwork of KVM/QEMU guest VMs living on a single host (Fedora 19) for testing purposes. The subnet would contain 3 servers: 1 Debian 6.x eth0 ip: 10.0.0.7 eth1 ...
3
votes
1answer
67 views

What can be improved in my first qemu/kvm run?

Just started using kvm (qemu? I'm quite fuzzy with the terminology). To test if everything works fine, I created logical volume on my lvm, and then started virtual machine using: qemu-system-x86_64 ...
1
vote
0answers
845 views

KVM guest cannot write to 9p share owned by non-root

I am aiming to set up full write access to a 9p share for a KVM guest. Both host and guest have the same users/groups with the same IDs. Both host and guest should be able to write to the share using ...
0
votes
2answers
327 views

Qemu switches to “stopped” state during bootup

I recently tried to boot up my image of Debian and noticed that during bootup, Qemu - according to the window title - switches it state to QEMU [stopped] and doesn't respond. I checked qemu-kvm and ...
0
votes
1answer
279 views

Why don't the symbolic links in kvm autostart not work

I've deployed 2 kvm guests( db and app) on a Debian7 host. I can set them autostart by root@mhost:~# virsh autostart db root@mhost:~# virsh autostart app This actually creates 2 symbolic links at ...
0
votes
1answer
69 views

How to find device in /dev

I have added a new virtual pci device to my debian6 VM (Virtual Machine). I can see the device via "lspci" command, but I cannot find it in /dev. Is it because it's not installed properly or it needs ...
0
votes
2answers
53 views

Automatic VM disk resize

I got a KVM/Qemu setup that works great. Now I want to streamline the provisioning of new VMs. The two obvious ways are to either clone an existing disk or install from scratch (with an automated ...
0
votes
3answers
389 views

qemu don't start quest with disk image on tmpfs

I have 32bit windows 2k3r3 guest (terminal server) with 4GB guest ram and swapping. I created separate disk image for guest swapping and user's temp dirs. I have enouth RAM in host system and want ...
1
vote
1answer
1k 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 ...
3
votes
2answers
941 views

Can I run a KVM guest with a btrfs subvolume as file system?

I want to run a virtualized Debian stable KVM guest on a Debian stable host (to run untrusted stuff like Skype, Flash or eclipse with third-party plugins). Naturally host and guest will have many ...
0
votes
1answer
291 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 ...
0
votes
1answer
152 views

virsh snapshot-create persistent through reboot/ domain destroy-start

If i take a snapshot of a qcow2 image backed domain via virsh snapshot-create domainID and I shutdown the machine (and probably destroy the domain if virsh list still shows it running), will that ...
2
votes
0answers
193 views

Why is qemu issuing a DHCP discover after it receives a DHCP offer

I'm having some trouble seting up network on qemu. I'm trying the easy option (user). The qemu command I run is this: ./qemu-xilinx/arm-softmmu/qemu-system-arm \ -M xilinx-zynq-a9 -m 1024 ...
1
vote
1answer
723 views

ESXi 5 doesn't recognize Raw disk image

I created a 60 GB raw disk using qemu-img convert, and qemu-img info confirms it is a raw file format. It worked fine in KVM. When I go in ESXi to create a new VM from existing virtual disk, and ...
1
vote
1answer
215 views

kvm - Recover domain from .img file alone

Yesterday I had a drive failure (raid-0) in the host system and had to re-install the os. Fortunately the vps images were on another raid array (raid-5) and the .img files are still available. However ...
1
vote
1answer
837 views

how to make bridge networking with KVM work in Fedora19

I'm attempting to get several virtual machines setup on a Fedora-19 host system, with the traditional bridge network devices (br0, br1, etc). I've done this many times before with older versions of ...
1
vote
1answer
345 views

Layer 2 bridged networking issue with QEmu

I am having a problem with a layer 2 bridged network configuration using Linux, QEmu, and VMware ESX. The configuration works fine on a small isolated network, but once introduced into our large ...
2
votes
1answer
2k views

qemu-system-x86_64w.exe : could not open disk image D:\img.img: Permission denied

I'm trying to use qemu on Windows (8), because I have to emulate an USB mass storage device (VirtualBox still doesn't handle USB3 which my computer only have .. and if I could have qemu working it ...
0
votes
1answer
109 views

qEmu doesn't save changes to virtual harddisk

I've installed qemu and AQEMU on my Ubuntu 13.04 from default repository. I created a virtual machine by using the wizard and set the harddisk to 10 GiB. I added a Debian 7.1 .iso file to the device ...
3
votes
1answer
309 views

KVM: Run a script when a guest is shutdown from within?

I am running KVM as virtualization engine. Is there a way to make QEMU/libvirt run a script on the host when a guest is shutdown from within (shutdown -h now)? I want to be able to run some custom ...
1
vote
1answer
444 views

Signaling KVM/QEMU VM to quiesce, preparing for live backup

Assume a KVM/QEMU VM, which uses qcow/qcow2 as the image format for virtual disks. Backup is (to be) done on the VM host. As far as my current understanding goes is that while we can create backups ...
-1
votes
1answer
231 views

Kvm poor cpu performance

I have running some Minecraft Servers in a Qemu VM over Libvirt, and the performance is only half good than on real hardware. Libvirt started the vm over: /usr/bin/kvm -S -M pc-1.1 -cpu ...
4
votes
2answers
747 views

Issue with creating an Windows 2008 Virtualized image with qEmu

I'm trying to create a qemu image of a 64bit Windows 2008 Server install. It will be used on Openstack as an instance. The Virtualization environment [of qemu] is being run from a VMware virtual ...
1
vote
3answers
1k views

How to efficiently share host's folder with KVM guests?

I am configuring the service which stores plenty of files uploaded by nginx in /srv/storage dir on host system. These files are processed by worker KVM guests which may create new files or assign ...
1
vote
2answers
645 views

How safe is it to access qemu/kvm raw or qcow2 disk image files from host

I've read mixed opinions about how safe it is to modify qemu disk image files. There are two distinct situations I'm interested in. 1) let's take a raw or qcow2 disk image file not used by kvm (i.e. ...
0
votes
1answer
47 views

Using a virtual disk image on two virtual servers

I have a setup with some test and stagiging servers running on the same host (using virsh to maintain it on ubuntu 10.04) The test and staging systems are build up with the same sets of servers. One ...
0
votes
1answer
301 views

qemu-kvm fail to boot Centos 5.3 after Kernel update at the host (feodra)

After updating Fedora 18 to kernel 3.9.x (current 3.9.4), I can no longer boot my Centos 5 guest OS. When I try to boot, the process halt at start and the CPU core work at 100%. If I boot Fedroa ...
1
vote
3answers
903 views

Standalone KVM server best practices

I'm looking at ordering a powerful server machine to use for virtualization. I'm planning on running debian with KVM+QEMU for the virtualization, and a hardware RAID6 to store the VMs on. I would also ...
1
vote
1answer
173 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 ...
0
votes
1answer
104 views

KVM copy contents of image into raw smaller LVM2 partition

I have a KVM guest, running on a KVM host...both Gentoo Linux. The guest is called webserver.img. It is 21 gigs large, but I am only using 5 gigs inside the image. I want to make a logical volume ...
0
votes
1answer
87 views

KVM how to determine which virtual disk files are in use by VMs

I tried lsof|grep *.qcow2 and got no results back (why is that? I definitely have VMs running using that disk format). I also considered grepping qcow2 on *.xml within the config directory, but this ...
0
votes
1answer
75 views

Can I boot a CD-ROM on a QEMU guest with a hard drive?

If I insert a CD-ROM into my server's physical CD-ROM drive, can I boot that CD-ROM in a QEMU guest to work on that guest's hard drive? I need to use a Windows 7 repair disk. This is a continuation ...
0
votes
1answer
98 views

How to setup qemu as a server with different subdomain on a host server? [closed]

I am trying to solve a problem, with a Linux server work as host, while qemu guest will have another server intended for subdomain. I tried to make the host to access the guest server. And I read ...
1
vote
1answer
93 views

aligning partition boundaries of already installed system

I have qemu raw disk which includes two partitions. The second partition is not aligned according to ssd principles. I will move this into Smartcloud environment and they suggest aligning according to ...
0
votes
2answers
4k views

How do I create an ISO image of a partition on an external hard drive?

I see that there is a similar question with the answer to use BartPE with a plugin, but are there any other methods to create an ISO image from an external hard drive partition? I don't feel too good ...
1
vote
0answers
3k views

VNC faster than Spice for remote access to KVM guest?

Having used RDP before, I'm not exactly thrilled with the performance I am seeing from VNC to my KVM virtual machines. The KVM host is Ubuntu 12.04 server x64. I've read that Spice is faster, and ...
0
votes
1answer
149 views

how do I add a vcpu to one of my KVMs in QEMU?

I want to add a vcpu to a virtual server in QEMU. I tried editing the XML file in /etc/libvirt/qemu and starting the server, but that does not seem to work.
0
votes
2answers
685 views

how do I backup my qemu kvm img files that are block files?

I inherited a pair/cluster of Ubuntu 10.04 servers running DRBD and QEMU/KVM and I want to backup the img files but they appear to be block files on the DRBD fs and I'm not sure how I can back them ...