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

2
votes
0answers
12 views

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's ...
0
votes
2answers
182 views

Host Websites on Virtual IP VMs

I have Proxmox Virtulization server installed. But i have one real(Public) IP. Incoming request to Proxmox server must be bind Virtualized servers. Dnsmasq installed in Proxmox Virtualization Server. ...
0
votes
2answers
2k views

Is there any way to shrink qcow2 image without converting it raw?

Is there any way to shrink qcow2 image without converting it raw? I cannot convert it to raw because I don't have disk space enough for raw image.
3
votes
2answers
43 views

Migrating physical machine to KVM

I have a fairly old debian machine that I need to migrate to KVM-Qemu. What I started is to make a tarball of the root filesystem: tar -cpf rootfs.tar --exclude='dev/*' --exclude='proc/*' ...
0
votes
1answer
898 views

setting CPU cache size and model for KVM guest

Is there any possibility to create a custom CPU model for KVM Linux guests, or at least to modify parameters such as cache size and model name? I know I can set CPU features, topology and pinning and ...
9
votes
1answer
3k views

Read/write access for passthrough (9p) filesystems with libvirt/qemu?

I have recently started experimenting with the support for passthrough filesystems in recent versions of KVM/QEMU/libvirt. Making the filesystems available for read access has "just worked", but I'm ...
0
votes
1answer
37 views

Any way to convert qcow2 to ovf?

In our application we are downloading a qcow2 image and after that we are supposed to import that as OVF. So any way to convert qcow2 --> OVF or qcow2 --> vmdk(using qemu-img convert) --> ...
0
votes
1answer
25 views

Installing libssh2 on debian

Hi I'm trying to install libssh2 for 64-bit. I'm using the following code for installation: cd libssh2-1.4.3/ export CFLAGS="-mabi=64 -march=mips64r2" ./configure --with-libz --with-libgcrypt ...
1
vote
1answer
696 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 ...
0
votes
1answer
31 views

How to start a new instance of QEMU based on the same image and snapshot?

I have a QEMU image (qcow2) with a snapshot stored in it. Right now I'm using libvirt to start it. However, I want to be able to run more than one instance of the same image+snapshot. I guess I can ...
0
votes
0answers
56 views

What could cause linux to reboot even though panic is not set

Bit of context. Few VM's running on KVM (SmartOS), using kernel 2.6.32.7 have been rebooting. Nothing in the Qemu/KVM logs to suggest it's a Qemu issue. Unfortunately while testing kdump i discovered ...
0
votes
1answer
26 views

List all devices emulated for a VM

I have created a VM with the below command in qemu . (KVM enabled) #qemu-kvm -m 1024 -enable-kvm -hda /var/lib/libvirt/images/fedora.img NOW, VM is launched. I would like to know the exact devices ...
0
votes
0answers
36 views

Windows 2003 server on KVM. Device manager shows error for processor. What CPU should I emulate?

I have moved a Windows Server 2003 VM from VMware to KVM running on Ubuntu 14.04 LTS. It's working very well. The only thing that is not perfect is that Device Manager on the Windows guest shows the ...
5
votes
1answer
796 views

TCP/IP performance tuning under KVM/Qemu

With more and more companies switching to public cloud services, I'm curious what you guys' thoughts are on TCP/IP tuning in the cloud. Is it worth bothering with? Given that you don't have access to ...
2
votes
2answers
135 views

kvm process has too large a memory footprint on host

I'm using latest ubuntu quantal and start a kvm guest which should have 2048 MB of memory. Now after a few hours I can see that the kvm process of this guest is around 2700 MB, so 700 MB more than the ...
-1
votes
1answer
573 views

Linux Red Hat Resize VM resize2fs - Couldn't find valid filesystem superblock

I'm trying to increase the size of a Linux Red Hat Virtual Machine by 10Gig. This is just on a Test Server I created that I'm trying to figure out. I increased the VM by 10 gig with this command ...
1
vote
2answers
2k views

qemu-img: Could not open $FILE

I received a single-file VMDK from a vendor that has a virtual appliance for a particular product I'm interested in evaluating. We run a KVM solution (Proxmox) so I tried converting the file but on ...
1
vote
1answer
85 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 ...
4
votes
2answers
6k views

Changing boot device for a QEMU-KVM virtual machine

I am trying to change the boot device for a VM. I go to the VM's XML file in /etc/libvirt/qemu and set <boot dev='cdrom' />. Still, it attempts to boot from the harddrive instead of the cdrom. ...
0
votes
3answers
305 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
106 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
50 views

How to mount a URL as a CD-ROM on QEMU?

I'm wondering if it's possible to specify a URL for the cdrom option on QEMU, and if so how would I go about doing that? Normally I'd mount an iso like this: <disk type='file' device='cdrom'> ...
11
votes
4answers
18k views

KVM: Which CPU features make VMs run better?

We are using Ubuntu 12.04 with the following parameters: Dell R910 Kernel 3.2.0-25-generic #40-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux kvm 1:84+dfsg-0ubuntu16+1.0+noroms+0ubuntu13 qemu-kvm ...
0
votes
1answer
789 views

How to convert OpenVZ OS template to bootable image file?

My question is how to convert a pre-created OpenVZ OS template which are in tar.gz format (such as these) to an image file in order to be able boot it with other virtualization solutions such as QEMU ...
0
votes
1answer
160 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 ...
1
vote
1answer
366 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 ...
0
votes
1answer
268 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
46 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
53 views

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

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
530 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 ...
1
vote
1answer
120 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 ...
2
votes
0answers
438 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 ...
0
votes
1answer
54 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
244 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
0answers
91 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 ...
0
votes
1answer
322 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
154 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 ...
2
votes
1answer
53 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 ...
0
votes
0answers
321 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
49 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
2answers
84 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 ...
2
votes
2answers
430 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 ...
1
vote
0answers
144 views

KVM/QEMU virsh blkdeviotune error

when trying to limit guest disk IO i get an error: virsh blkdeviotune DOMAIN hda error: Unable to get block I/O throttle parameters error: internal error cannot read total_bytes_sec Im using ...
0
votes
0answers
87 views

LIBVIRT Bridge using VLAN basics

hello I read many posts but all are assuming single NIC, in my case my guest has 2 nic, eth1 is getting IP from libvirt default NAT 192.168.122.x range I want eth0 192.168.0.x subnet, I have created ...
0
votes
0answers
27 views

How to forward one port to a QEMU instance running on a CentOS 6.4 server?

I have a QEMU instance running on a CentOS 6.4 server. I need to make it so that when one connects to port 23 on the host, they connect to port 23 on the QEMU instance's guest OS. How can I accomplish ...
0
votes
1answer
111 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
56 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 ...
1
vote
0answers
94 views

qemu-img rebase operation taking longer than expected

#ls -1 Image1.qcow2 #qemu-img create -b Image1.qcow2 -f qcow2 Image1-DeltaFile.qcow2 Now I have an overlay called Image1-DeltaFile.qcow2. If I have another copy of Image1.qcow2 on a different ...
0
votes
2answers
187 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 ...
0
votes
0answers
113 views

Qemu virtio-net extra networking interface

I have a qemu debian guest that is being launched with the following command. qemu-system-x86_64 -boot order=c -drive file=image.img,if=virtio -enable-kvm -netdev ...