Tagged Questions
1
vote
0answers
30 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
33 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
29 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
0answers
149 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
25 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
102 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
172 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 ...
1
vote
0answers
164 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%
qmeu-img ...
-1
votes
1answer
156 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
93 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 ...
0
votes
1answer
52 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 ...
0
votes
0answers
118 views
KVM Nested VMX *Much* Slower Than QEMU Emulation?
I'm experimenting with KVM nested VMX, and the nested VMs are almost unusable with this feature enabled. For example, ttylinux takes ~4 minutes just to boot, compared to ~10 seconds with pure QEMU ...
1
vote
0answers
116 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
1answer
501 views
KVM/Qemu, Ubuntu: Why do more guests CPUs enhance Disk-I/O rapidly?
We have an Heartbeat/DRBD/Pacemaker/KVM/Qemu/libvirt cluster consisting of two nodes.
Each node runs Ubuntu 12.04 64 Bit with the following packages/versions:
Kernel 3.2.0-32-generic #51-Ubuntu SMP
...
0
votes
2answers
123 views
make vnc server listen on guest's ip address
My host system has the IP 192.168.0.250. Now I want to create a kvm guest using a tap device (so the network card of the guest just acts like a "real" one). The guest has a static ip 192.168.0.249 ...
2
votes
1answer
99 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 ...
0
votes
1answer
368 views
kvm with virtio scsi and rbd
I'm currently using virtio-blk but I'd like to change to the new virtio-scsi, especially because it supports trim/ discard. The host is an ubuntu quantal system (kernel 3.5.0, qemu 1.2.0).
This is ...
1
vote
1answer
495 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 ...
0
votes
2answers
333 views
KVM/Qemu Guest Shutdown problems
on both host and guest running CentOS 6.3 with KVM/Qemu virtualization, I have the following scenarios:
"virsh shutdown kvm1" did not shutdown at all. virsh lists guest as running.
"service ...
-1
votes
1answer
148 views
Is it possible to pass /dev/urandom through from the host to a qemu/kvm guest?
I'd like to pass the host's /dev/urandom device through to a qemu/kvm virtual machine.
Note that /dev/urandom is not seekable, so it's not possible to pass it through as a block device using -hda, ...
0
votes
2answers
731 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.
1
vote
1answer
123 views
Is it possible to run Windows as a Xen VM without VT, using Qemu-dm?
Is it possible to run windows as a virtual machine under Xen using qemu-dm? If so, how can it be done?
Since Xen without VT technology supports only para-virtualization, can qemu-dm, the emulator ...
1
vote
2answers
636 views
does KVM raw images support preallocation?
I was trying to create a raw image with this command:
qemu-img create -f raw -o size=200G,preallocation=metadata file.img
but seem that it raw images doesn't support preallocation.
if so why there ...
0
votes
1answer
199 views
KVM low network speed
I have a networking problem with KVM.
There is only one VM on the server and port speed is 100 megabits per second
But maximum download rate is about 1 megabytes per second and expected to be 10mb.
...
-1
votes
2answers
295 views
Share CPU between two KVM VPS on a dedicated server
how can I share CPU between two KVM VPS on a dedicated server?
assume that we have 8-core CPU on a dedicated server
to get maximum performance for two VPS, should I assign 8 cores to each one of ...
0
votes
0answers
125 views
Corrupt qcow2 image
I seem to have corrupted my qcow2 image. I accidentally ran qemu-img create on one of my virtual machines while running. What seems to have happened is that qemu-img seems to have put a new tag on top ...
0
votes
2answers
362 views
How to create LAN segments in qemu
I could successfully connect two different virtual machine ports directly using LAN segment feature in VMware workstation. Is there a way to do the same on qemu ?
As of now i have created two qemu ...
0
votes
1answer
365 views
CentOS libvirt reboot
I've noticed the following status message after system update (on SL 6.1 - yum update):
# /etc/init.d/libvirtd status
libvirtd dead but pid file exists
one of the updated packages was "libvirt". ...
5
votes
3answers
7k 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 ...
1
vote
2answers
283 views
QEMU Virtual CPUs
I've seen that people run VMs with KVM and QEMU Virtual CPUs but when I'm creating a VM using virt-manager it only show my real cpu cores not virtual CPUs. how can I activate QEMU Virtual CPU?
Thanks
...
5
votes
2answers
938 views
kvm and qemu host: Is there a limit for max CPUs (Ubuntu 10.04)?
Today we encountered a really strange behaviour on two identical kvm and qemu hosts (Dell R910).
The host systems each have 4 x 10 Cores, which means that 40 physical cores are displayed as 80 within ...
1
vote
3answers
735 views
Is there a way to determine which virtual interface belongs to a virtual machine in a kvm host?
I'm using qemu/kvm whith bridged networking. In the host machine there are several "vnetX" network interfaces without IP. I'm looking for a way to know which vnetX belong to a virtual machine.
I ...
2
votes
1answer
208 views
How to connect a virtual NIC in one QEMU-KVM instance to a virtual NIC in another QEMU-KVM instance without a bridge
Is there a way to connect a Virtual NIC one QEMU-KVM instance to a Virtual NIC on another QEMU-KVM instance. I want to be able to do this efficiently and it may be possible that the 2 instances could ...
4
votes
2answers
534 views
understanding relationship between Qemu and KVM
What is the difference between KVM and Qemu? As I understand, latter is able to provide "user mode emulation" which means that one can run a single executable built for some other architecture like ...
7
votes
2answers
2k views
Monitor VM's resources (CPU, RAM etc)
I'm testing Openstack and i'd like to know how can i find out about resource utilization inside instances (Virtual Machines).
Openstack uses kvm, qemu and libvirt in my testing environment. Is there ...
0
votes
1answer
293 views
Routing table with two NIC adapters in libvirt/KVM
I created a virtual NAT network (192.168.100.0/24 network) in my libvirt and new guest with two interfaces - one in this network, one as bridged (10.34.1.0/24 network) to the local LAN. The reason for ...
0
votes
1answer
152 views
FVD format on qemu/KVM
How can I install this format in Centos KVM?. Is it included in latest qemu versions?
Reference in qemu wiki: http://wiki.qemu.org/Features/FVD
Thanks in advice
5
votes
3answers
692 views
QEMU-KVM Linux virtualization on the command line
I recently discovered that qemu-kvm has a very promising -curses option that, instead of starting an X window, will show a nice ncurses output from the guest suitable for managing a Linux guest from ...
2
votes
2answers
131 views
Managing a QEMU guest from the host's CLI
Can I manage a QEMU guest from the host's CLI? I'm coming from Xen and I liked the xm command. I'd like to shutdown the guest, attach PCI devices to it and so on. Is there a way?
There's the QEMU ...
2
votes
1answer
545 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 ...
6
votes
2answers
727 views
How to quit QEMU monitor?
I launched KVM VM with this command:
kvm /kvm/hdd/v1/v1-1.raw -m 512 -daemonize -smp 2 -nographic -net nic,model=virtio,macaddr=aa:aa:aa:aa:aa:01 -net tap,ifname=tap0 -monitor ...
0
votes
1answer
440 views
Fault-tolerant KVM hosts
I'm going to create a simple virtual hosts infrastructure using QEMU+KVM. It is expected to be very simple, without clouds or any other cool things. Right now the only requirement is the ...
0
votes
2answers
241 views
Software for managing a cluster of KVM physical hosts?
I am looking for software recommendations for managing a cluster of KVM physical hosts. We are currently using virsh and doing just about everything by hand, and I would like to find a slightly more ...
2
votes
2answers
2k views
qemu-kvm/virsh: No network connectivity whilst using bridged networking
I'm having an issue with performing virtualisation via libvirt/qemu-kvm, in which my set up for bridged networking doesn't appear to be working correctly. I've followed every tutorial I can find and ...
1
vote
0answers
49 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
1answer
189 views
freebsd iso install on KVM - timer freezes
Trying to boot freebsd iso on KVM/libvirt [debian host]
Timer shows: 10 sometimes is 9 or even 7. and that's it, count down stops..
Found some information that it's a bug with newest qemu and my ...
2
votes
1answer
315 views
Installing and running a guest OS on KVM-qemu with only serial console access
I am trying to installing a bsd distro with virt-installer. With a Linux distro I used this:
virt-install -n debian -r 1024 --vcpus=1 --accelerate -v --disk ...
4
votes
1answer
2k views
free up not used space on a qcow2-image-file on kvm/qemu
we are using kvm/qemu with qcow2-images for our virtual machines.
qcow2 has this nice feature where the image file only allocates the actually needed space by the virtual-machine. but how do i shrink ...
0
votes
1answer
534 views
Qemu: can I set the serial number on a virtual SCSI device?
I'm using libvirt+KVM+Qemu on Ubuntu 11.04. I have some scsi devices like this:
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source ...
1
vote
1answer
266 views
Give a KVM Guest only access to OpenVPN
I'm in a kind of weird situation where I need to do the following:
Connect an OpenVPN tunnel with static RFC1918 IPs (think of 10.3.3.1 for the server end and 10.3.3.2 for the client end) and have it ...
