0
votes
0answers
77 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
2k 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
1answer
606 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
133 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
492 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
54 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
1answer
134 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 ...
3
votes
1answer
200 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
3answers
596 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
92 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
78 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

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
81 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 ...
1
vote
1answer
576 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 ...
3
votes
0answers
416 views

QEMU: Solaris 11 / Sparc64 Guest on Linux / X86-64 Host [closed]

I'm trying to run a Solaris 11 / Sparc64 guest on a Linux/x86-64 host. I've cloned the qemu project and configured/compiled it with sparc64 support (./configure --target-list="sparc64-softmmu"). I've ...
5
votes
2answers
127 views

Accessing the partitions on an LVM volume

Suppose you have an LVM volume /dev/vg0/mylv. You have presented this as a virtual disk to a virtualised or emulated guest system. During installation the guest system sees it as /dev/sda and ...
1
vote
2answers
2k 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
250 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. ...
0
votes
2answers
631 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 ...
2
votes
1answer
434 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 ...
10
votes
2answers
1k 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 ...
0
votes
1answer
415 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 ...
1
vote
2answers
171 views

How to delete the MBR (Master boot record) out of an image file?

I have a QEMU image myserver.img that is about 20GiB. The file serves as a "virtual" hard disk for the server. Now the first 512 bytes contain the MBR, and I am trying to overwrite those bytes with ...
5
votes
3answers
1k 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
145 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 ...
0
votes
2answers
323 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 ...
1
vote
1answer
750 views

qemu-kvm save and restore in different machines - Offline migration

I am using KVM in cents 5.6. I am trying to do offline migration between two machines. I have a common NFS server. I initially save the state of the running VM (on machine1) to a state file using : ...
1
vote
1answer
751 views

KVM / QEmu / Libvirt I/O lockup

Simple issue. I'm running 5 KVM/QEmu instances. the host machine is constantly freezing for about a half a second in every 5. Disk LED hints that it is disk write related. Host is FC14, guests of ...
0
votes
1answer
254 views

I cannot see any files after running qemu-img convert

I have run sudo qemu-img convert box-vmware-disk.vmdk -O raw /dev/sda1. No error was encountered all seems to have ended ok, but when I open the hard disk I cannot see any files. I want to be able to ...
2
votes
2answers
185 views

virtual interface names in qemu/kvm

I have an image with a debian-squeeze installation and using that I created two overlay-images to boot two (nearly identical) virtual machines from. When I boot them up individually (connecting them ...
1
vote
1answer
242 views

Guest Access in QEMU-KVM

I am having trouble in accessing my Guest OS running on QEMU-KVM. However, I noticed that the Guest OS is capable of accessing Host OS easily thru telnet; basically every IP address appear in ifconfig ...
0
votes
3answers
3k views

Convert directory to QEMU/KVM virtual disk image

I have a directory filled with data at /var/backups/disk1 that I want to convert into a virtual disk image which I'll then be able to boot using QEMU or KVM (the directory contains the file system for ...
1
vote
1answer
622 views

Linux Virtualization Options on EC2

I need to subdivide EC2 (or perhaps other cloud provider) instances. I know you cannot run a full virtualization stack on another. For instance a Xen guest cannot host a VirtualBox guest. So this ...
2
votes
1answer
11k views

'Unrecognised disc label' - when using parted with qemu images

I have a Linux from scratch LiveCD running on qemu vm. I'm using this command to create a hda disc for qemu: qemu-img.exe create -f qcow2 base-linux.img 5G Then I run my vm: qemu.exe -m 1024 ...
2
votes
2answers
2k views

Qemu: issues with bridged networking (Linux host, OpenBSD guest)

I have a computer running Linux. It has qemu installed. It has a bridge interface br0 configured with the following settings: IP: 10.1.1.1 Netmask: 255.255.255.0 There is also a tap0 interface that ...