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
407 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
127 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
303 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
750 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 ...
2
votes
1answer
58 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
714 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
257 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
226 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
67 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
52 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
322 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
987 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 ...
2
votes
2answers
764 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
272 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
130 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
178 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
624 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
189 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
804 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
311 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
92 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
272 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 ...
0
votes
1answer
395 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
206 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
682 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
991 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
612 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
266 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
779 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
171 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
95 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
81 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
67 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
91 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
89 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
3k 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 ...
0
votes
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
131 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
643 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 ...
-4
votes
3answers
574 views

Why is Qemu Virtual CPU on my kvm guests [closed]

can some one please clarify this. I am new to kvm and created two guest instances one linux and one windows. On both Guests, CPU is showing as QEMU virtual CPU,why is it so? if kvm utilizes ...
2
votes
0answers
611 views

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img ...
1
vote
1answer
2k views

How to start qemu directly in the console (*not* in curses or SDL)

I seem to recall being able to start qemu with only the terminal emulator output, with the graphic window disabled. And here I don't mean with the ncurses interface, that one is nice, but I want the ...
-1
votes
1answer
293 views

Cannot access Qemu/KVM virtual using console, VNC, or SSH, or access via network (IP range no longer valid) [closed]

I have the host sitting here next to me, so you'd think I'd have decent control of the guest. I should add that I have already attempted various other means, such as mounting the drive, but I have ...
0
votes
2answers
249 views

Can't get beyond boot screen after booting from CD in KVM

I've just installed KVM on Debian 6 64 bit and have created 2 guests and booted one of them. I can connect via VNC and I get the Debian CD boot options (text/graphical install). I have tried ...
1
vote
1answer
703 views

Setting up bridging for Qemu and routing for OpenVZ (venet) with multiple subnets on Debian Linux

So i've been searching the past couple days trying to figure out the best way to achieve this but still can't get it figured out. I have a debian server setup running Proxmox to host OpenVZ and Qemu ...
0
votes
1answer
148 views

See processes inside qemu

Sometimes a virtual machine inside kvm/qemu is saturated (load too high). Even a login (ssh) takes several seconds. But the host is still accessible. How can I investigate why the virtual machine is ...
1
vote
0answers
321 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 ...
5
votes
2answers
2k views

Filesystem passthrough functionality in Centos 6.2?

I have a CentOS 6.3 machine currently running 2 virtualized CentOS 6.2 machines via KVM/QEMU/Libvirt. I'm trying to setup filesystem passthrough between the guests and the host. However the option is ...