zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

KVM manage virtual machines with virsh

March 16, 2011 by Igor Drobot Leave a Comment

Virsh is the main interface for managing virsh guest domains. The program can be used to create, pause, and shutdown domains.

Some of this commands may be helpful if you have no chance to run virt-manager.

Show guest information:

Show a list of all running guests: virsh list
Show a list of all available guests: virsh list –all
Show a guest’s info: virsh dominfo GUEST_NAME
[Read more…]

Filed Under: Linux Tagged With: KVM, qemu, virsh

QEMU for Windows

December 21, 2010 by Igor Drobot Leave a Comment

There are a lot virtual emulators for windows, but most of them aren’t free and forbidden for commercial use. QEMU emulator released under GPL-license and works very well on windows. (I tested it only Windows Server 2003)

You can be downloaded from here – clickme

Filed Under: Virtualization, Windows Tagged With: qemu

Convert VMware Image .vmdk to VirtualBox Image .vdi

December 18, 2010 by Igor Drobot 12 Comments

Some days ago I started to give up my VMWare Workstation Server (version: 6.5.1 build-126130) that is running on Debian Lenny.
The reason was it’s very difficult to upgrade (you see my installation is a little bit outdated:)) and maintain.

The first step is to migrate to VirtualBox running. And I wrote this little tutorial to migrate VMWare VMDK Image to VirtualBox.

Step 1:
Start Virtualbox
Start VBox
Step 2:
File -> Virtual Media Manager
Manager

[Read more…]

Filed Under: Debian, Linux, Virtualization Tagged With: convert vmdk, KVM, qemu, VirtualBox, VMWare

KVM don’t shut down properly

August 1, 2010 by Igor Drobot Leave a Comment

I was playing again a little bit with KVM virtualization and found one very strange thing, my KVM kills guests instead of properly shutdown.

KVM just sends an ACPI signal to the guest to tell it to shut down. Of course, this means the guest needs to do something useful when it receives the signal. By default Debian/Ubuntu guests don’t understand ACPI signals.

The solution is: install acpid in each guest.

1
aptitude update ; aptitude install acpid

aptitude update ; aptitude install acpid

After installing this, the ’shutdown’ and ‘reboot’ buttons worked perfectly!

Filed Under: Debian, Linux, Virtualization Tagged With: acpid, Debian, KVM, qemu, virtualization

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok