https://linux-kvm.org/api.php?action=feedcontributions&user=FreddieCash&feedformat=atom
KVM - User contributions [en]
2024-03-28T11:10:13Z
User contributions
MediaWiki 1.39.5
https://linux-kvm.org/index.php?title=HowToConfigScript&diff=2601
HowToConfigScript
2009-10-07T19:56:01Z
<p>FreddieCash: </p>
<hr />
<div>= Intro = <br />
I have written a utility called '''kvmctl''' to manage KVM-based VMs, along with a configuration file format, and other associated utilities. Feel free to use it, or to expand on it. While not strictly required by the license, I would appreciate knowing if you use it, and would appreciate being credited if you expand upon it. <br />
<br />
A couple of assumptions are made for this work:<br />
<br />
* all the VMs have unique host names.<br />
* all the VMs have config files in /etc/kvm that are named <host>.kvm. These are shell script fragments that initialise variabless related to the VM. <br />
* all the VMs are given unique numeric identifiers between 00 and 99. This is used for the VNC port number and the last 2 digits of the virtual MAC address. <br />
* there is a single bridge configured for all VMs to use, and all VMs will use bridged networking <br />
I don't proclaim to be a great shell programmer, so there are undoubtedly better ways to do a lot of things in this script. However, this works well enough for us, covers all the things we need to do, and has been running without issues for a couple of weeks now. I have made a bunch of changes to the script, and have released it as 2.0.4. :) <br />
<br />
There's a simple init.d/ script included that can be used to auto-start VMs when the host system boots. Just symlink config files into /etc/kvm/auto/ and then add the script to whichever runlevel you want. Just be sure to set it to start after networking is up. <br />
<br />
= Download =<br />
<br />
== Version 2.0.4 ==<br />
Stable and working. Auto-shutdown doesn't work yet, as I haven't found a way to send a "powerdown" event to the guest OS to tell it to initiate a clean shutdown. <br />
* Download the tarball here (rename to .tbz2): [[Media:HowToConfigScript$kvmctl-2.0.4.jpg|kvmctl-2.0.4.jpg]]<br />
<br />
== Version 2.1.0 ==<br />
I've added a possibility to start a monitor port as telnet server and added a shutdown. Since debian has removed bash tcp support i need netcat (nc) to send a power-button-press to the monitor of virtual machine. So if you like to test the shutdown, start the machine with a monitor and install "nc". This Version includes some other changes and is not roughly tested. <br />
* Download the tarball here: [[Media:kvmctl-2.1.0.tar.gz|kvmctl-2.1.0.tar.gz]]<br />
<br />
'''Note:''' The tarball for 2.1.0 is gone, nobody has a copy, don't report this issue. The above paragraph is here strictly for people who already have kvmctl 2.1.0 and for historical purposes.<br />
<br />
= Usage =<br />
The script can be run as a normal user. It uses sudo internally for the start/stop commands (all the rest are run as the normal user). Currently, all kvm processes are run as root, as this was developed on Debian Lenny which (for whatever reason) decided to include kernel capabilities which prevents non-root users from accessing tun devices. <br />
<br />
To see a blurb that describe all the options:<br />
<br />
<br />
# kvmctl help<br />
kvmctl 2.0.4<br />
Licensed under BSDL<br />
Copyright 2009<br />
<br />
kvmctl is a management and control script for KVM-based virtual machines.<br />
<br />
Usage: kvmctl start host - start the named VM<br />
kvmctl startvnc host - start the named VM, and then connect to console via VNC<br />
kvmctl stop host - stop the named VM (only use if the guest is hung)<br />
kvmctl restart host - stop and then start the named VM (only use if the guest is hung)<br />
<br />
kvmctl vnc host - connect via VNC to the console of the named VM<br />
kvmctl whichvnc host - show which VNC display port is assigned to the named VM<br />
kvmctl killvnc host - kills any running vncviewer processes attached to the named VM<br />
<br />
kvmctl edit host - open config file for host using $EDITOR, or create a new config file based on a template<br />
<br />
kvmctl status - show the names of all running VMs<br />
kvmctl status kvm - show full details for all running kvm processes<br />
kvmctl status host - show full details for the named kvm process<br />
<br />
kvmctl help - show this usage blurb<br />
<br />
** Using stop is the same as pulling the power cord on a physical system. Use with caution.<br />
<br />
<br />
To start a VM named webmail:<br />
<br />
# kvmctl start webmail<br />
Starting webmail. <br />
The VNC port for webmail is :05<br />
<br />
To start a VM named webmail, and then immediately attach to the console via VNC:<br />
<br />
# kvmctl startvnc webmail<br />
Starting webmail. <br />
The VNC port for webmail is :05<br />
<vncviewer is started> <br />
<br />
To check the status of all running VMs (just outputs the name of the running VMs):<br />
<br />
# kvmctl status<br />
The following VMs are running:<br />
fcsync <br />
webmail <br />
<br />
To see the process info for all the running VMs:<br />
<br />
# kvmctl status kvm<br />
The following VMs are running:<br />
3792 /usr/bin/kvm -name fcsync -daemonize -localtime -usb -usbdevice tablet -smp 1 -m 1048 -vnc :02 -pidfile /var/run/kvm/fcsync.pid -net nic,macaddr=00:16:3e:00:00:02,model=rtl8139 -net tap,ifname=tap02 -boot c -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-fcsync <br />
5123 /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 2 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net nic,macaddr=00:16:3e:00:00:05,model=e1000 -net tap,ifname=tap05 -boot c -drive index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-webmail <br />
<br />
To see the process info for a specific VM:<br />
<br />
# kvmctl status webmail<br />
VM for host webmail is running with:<br />
5123 /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 2 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net nic,macaddr=00:16:3e:00:00:05,model=e1000 -net tap,ifname=tap05 -boot c -drive index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-webmail <br />
<br />
To "pull the power cord" of a running VM:<br />
<br />
# kvmctl stop webmail<br />
Attempting to stop VM for webmail<br />
VM for webmail has stopped <br />
<br />
To "powercycle" a running VM:<br />
<br />
# kvmctl restart webmail<br />
Attempting to stop VM for webmail<br />
VM for webmail has stopped <br />
Starting webmail. <br />
The VNC port for webmail is :05 <br />
<br />
To see which VNC port has been assigned to a VM:<br />
<br />
# kvmctl whichvnc webmail<br />
The VNC port for webmail is :05<br />
<br />
To connect to the VNC port of a VM (requires vncviewer installed on the host):<br />
<br />
# kvmctl vnc webmail<br />
<vncviewer is started><br />
<br />
To create a new config file for a VM:<br />
<br />
# kvmctl edit newvm<br />
/etc/kvm/test.kvm does not exist. Would you like to create one from the template? (y/n)<br />
<if yes, $EDITOR is opened with the template loaded> <br />
<br />
To edit an existing config file:<br />
<br />
# kvmctl edit webmail<br />
<$EDITOR is opened with /etc/kvm/webmail.kvm loaded.><br />
<br />
= kvmctl 2.0 config file format =<br />
# kvmctl Version: 2.0.0<br />
<br />
# The name of the VM must be unique across all VMs running on this server<br />
# This is not actually used anywhere, instead kvmctl uses the filename without<br />
# the .kvm as the host name.<br />
# host="hostname"<br />
<br />
# An ID number for the VM. <br />
# This is used to generate the MAC address of the virtual NIC, the tap device in the host, and<br />
# the VNC port for the VM's console.<br />
id="##"<br />
<br />
# How much RAM to associate with the VM.<br />
# This is the max amount of RAM that it will use.<br />
mem="1024"<br />
<br />
# Whether to enable ACPI support in the virtual BIOS<br />
# Default is to enable ACPI<br />
# noacpi cannot be set if cpus > 1.<br />
noacpi=""<br />
<br />
# The number of virtual CPUs to assign to the VM.<br />
# Stable values are 1-4.<br />
# cpus must be set to 1 if noacpi is set.<br />
cpus="1"<br />
<br />
# Which mouse device to use<br />
# Values: mouse, tablet<br />
# Default: tablet<br />
mouse="tablet"<br />
<br />
# The network chipset to use in the VM.<br />
# Values: rtl1389, e1000<br />
# Default: rtl8139<br />
nic="rtl8139"<br />
<br />
# Which virtual block device to boot from<br />
# Values: a=floppy0, b=floppy1, c=disk0, d=disk1<br />
# Default: c<br />
boot="c"<br />
<br />
# If the VM is set to boot from "d" and "d" is a CD-ROM, an extra '-no-reboot'<br />
# option is added to the kvm commandline. This will cause the VM to treat a<br />
# "reboot" command as if it were a "shutdown" command.<br />
<br />
# Values for disktype: ide, scsi, virtio<br />
# Default for disktype: ide<br />
<br />
# If the value for disktyp0 is scsi or virtio, an extra ',boot=on' option will<br />
# be added to the kvm commandline. This is needed in order to boot from SCSI<br />
# and paravirtualised block devices.<br />
<br />
# Values for media: disk, cdrom<br />
# Default for disktype: disk<br />
<br />
# Values for disk: a path to either a disk image file, or an LVM logical v volume<br />
# Default for disk: /dev/mapper/vol0-${host}<br />
<br />
# The first virtual block device<br />
# For IDE devices, this is primary master.<br />
disktype0="ide"<br />
media0="disk"<br />
disk0="/path/to/diskimage"<br />
<br />
# The second virtual block device<br />
# For IDE devices, this is primary slave.<br />
disktype1=""<br />
media1=""<br />
disk1=""<br />
<br />
# The third virtual block device<br />
# For IDE devices, this is secondary master<br />
# USE THIS FOR CD-ROMS OR PERFORMANCE WILL SUFFER GREATLY!!<br />
disktype2="ide"<br />
media2="cdrom"<br />
disk2="/path/to/osinstall.iso"<br />
<br />
# The fourth virtual block device<br />
# For IDE devices, this is secondary slave<br />
disktype3=""<br />
media3=""<br />
disk3=""</div>
FreddieCash
https://linux-kvm.org/index.php?title=HowToConfigScript&diff=2600
HowToConfigScript
2009-10-07T19:55:20Z
<p>FreddieCash: Upload tarball.</p>
<hr />
<div>= Intro = <br />
I have written a utility called '''kvmctl''' to manage KVM-based VMs, along with a configuration file format, and other associated utilities. Feel free to use it, or to expand on it. While not strictly required by the license, I would appreciate knowing if you use it, and would appreciate being credited if you expand upon it. <br />
<br />
A couple of assumptions are made for this work:<br />
<br />
* all the VMs have unique host names.<br />
* all the VMs have config files in /etc/kvm that are named <host>.kvm. These are shell script fragments that initialise variabless related to the VM. <br />
* all the VMs are given unique numeric identifiers between 00 and 99. This is used for the VNC port number and the last 2 digits of the virtual MAC address. <br />
* there is a single bridge configured for all VMs to use, and all VMs will use bridged networking <br />
I don't proclaim to be a great shell programmer, so there are undoubtedly better ways to do a lot of things in this script. However, this works well enough for us, covers all the things we need to do, and has been running without issues for a couple of weeks now. I have made a bunch of changes to the script, and have released it as 2.0.4. :) <br />
<br />
There's a simple init.d/ script included that can be used to auto-start VMs when the host system boots. Just symlink config files into /etc/kvm/auto/ and then add the script to whichever runlevel you want. Just be sure to set it to start after networking is up. <br />
<br />
= Download =<br />
<br />
== Version 2.0.4 ==<br />
Stable and working. Auto-shutdown doesn't work yet, as I haven't found a way to send a "powerdown" event to the guest OS to tell it to initiate a clean shutdown. <br />
* Download the tarball here (rename to .tbz2): [[Media:HowToConfigScript$kvmctl-2.0.4.tbz2|kvmctl-2.0.4.jpg]]<br />
<br />
== Version 2.1.0 ==<br />
I've added a possibility to start a monitor port as telnet server and added a shutdown. Since debian has removed bash tcp support i need netcat (nc) to send a power-button-press to the monitor of virtual machine. So if you like to test the shutdown, start the machine with a monitor and install "nc". This Version includes some other changes and is not roughly tested. <br />
* Download the tarball here: [[Media:kvmctl-2.1.0.tar.gz|kvmctl-2.1.0.tar.gz]]<br />
<br />
'''Note:''' The tarball for 2.1.0 is gone, nobody has a copy, don't report this issue. The above paragraph is here strictly for people who already have kvmctl 2.1.0 and for historical purposes.<br />
<br />
= Usage =<br />
The script can be run as a normal user. It uses sudo internally for the start/stop commands (all the rest are run as the normal user). Currently, all kvm processes are run as root, as this was developed on Debian Lenny which (for whatever reason) decided to include kernel capabilities which prevents non-root users from accessing tun devices. <br />
<br />
To see a blurb that describe all the options:<br />
<br />
<br />
# kvmctl help<br />
kvmctl 2.0.4<br />
Licensed under BSDL<br />
Copyright 2009<br />
<br />
kvmctl is a management and control script for KVM-based virtual machines.<br />
<br />
Usage: kvmctl start host - start the named VM<br />
kvmctl startvnc host - start the named VM, and then connect to console via VNC<br />
kvmctl stop host - stop the named VM (only use if the guest is hung)<br />
kvmctl restart host - stop and then start the named VM (only use if the guest is hung)<br />
<br />
kvmctl vnc host - connect via VNC to the console of the named VM<br />
kvmctl whichvnc host - show which VNC display port is assigned to the named VM<br />
kvmctl killvnc host - kills any running vncviewer processes attached to the named VM<br />
<br />
kvmctl edit host - open config file for host using $EDITOR, or create a new config file based on a template<br />
<br />
kvmctl status - show the names of all running VMs<br />
kvmctl status kvm - show full details for all running kvm processes<br />
kvmctl status host - show full details for the named kvm process<br />
<br />
kvmctl help - show this usage blurb<br />
<br />
** Using stop is the same as pulling the power cord on a physical system. Use with caution.<br />
<br />
<br />
To start a VM named webmail:<br />
<br />
# kvmctl start webmail<br />
Starting webmail. <br />
The VNC port for webmail is :05<br />
<br />
To start a VM named webmail, and then immediately attach to the console via VNC:<br />
<br />
# kvmctl startvnc webmail<br />
Starting webmail. <br />
The VNC port for webmail is :05<br />
<vncviewer is started> <br />
<br />
To check the status of all running VMs (just outputs the name of the running VMs):<br />
<br />
# kvmctl status<br />
The following VMs are running:<br />
fcsync <br />
webmail <br />
<br />
To see the process info for all the running VMs:<br />
<br />
# kvmctl status kvm<br />
The following VMs are running:<br />
3792 /usr/bin/kvm -name fcsync -daemonize -localtime -usb -usbdevice tablet -smp 1 -m 1048 -vnc :02 -pidfile /var/run/kvm/fcsync.pid -net nic,macaddr=00:16:3e:00:00:02,model=rtl8139 -net tap,ifname=tap02 -boot c -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-fcsync <br />
5123 /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 2 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net nic,macaddr=00:16:3e:00:00:05,model=e1000 -net tap,ifname=tap05 -boot c -drive index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-webmail <br />
<br />
To see the process info for a specific VM:<br />
<br />
# kvmctl status webmail<br />
VM for host webmail is running with:<br />
5123 /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 2 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net nic,macaddr=00:16:3e:00:00:05,model=e1000 -net tap,ifname=tap05 -boot c -drive index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-webmail <br />
<br />
To "pull the power cord" of a running VM:<br />
<br />
# kvmctl stop webmail<br />
Attempting to stop VM for webmail<br />
VM for webmail has stopped <br />
<br />
To "powercycle" a running VM:<br />
<br />
# kvmctl restart webmail<br />
Attempting to stop VM for webmail<br />
VM for webmail has stopped <br />
Starting webmail. <br />
The VNC port for webmail is :05 <br />
<br />
To see which VNC port has been assigned to a VM:<br />
<br />
# kvmctl whichvnc webmail<br />
The VNC port for webmail is :05<br />
<br />
To connect to the VNC port of a VM (requires vncviewer installed on the host):<br />
<br />
# kvmctl vnc webmail<br />
<vncviewer is started><br />
<br />
To create a new config file for a VM:<br />
<br />
# kvmctl edit newvm<br />
/etc/kvm/test.kvm does not exist. Would you like to create one from the template? (y/n)<br />
<if yes, $EDITOR is opened with the template loaded> <br />
<br />
To edit an existing config file:<br />
<br />
# kvmctl edit webmail<br />
<$EDITOR is opened with /etc/kvm/webmail.kvm loaded.><br />
<br />
= kvmctl 2.0 config file format =<br />
# kvmctl Version: 2.0.0<br />
<br />
# The name of the VM must be unique across all VMs running on this server<br />
# This is not actually used anywhere, instead kvmctl uses the filename without<br />
# the .kvm as the host name.<br />
# host="hostname"<br />
<br />
# An ID number for the VM. <br />
# This is used to generate the MAC address of the virtual NIC, the tap device in the host, and<br />
# the VNC port for the VM's console.<br />
id="##"<br />
<br />
# How much RAM to associate with the VM.<br />
# This is the max amount of RAM that it will use.<br />
mem="1024"<br />
<br />
# Whether to enable ACPI support in the virtual BIOS<br />
# Default is to enable ACPI<br />
# noacpi cannot be set if cpus > 1.<br />
noacpi=""<br />
<br />
# The number of virtual CPUs to assign to the VM.<br />
# Stable values are 1-4.<br />
# cpus must be set to 1 if noacpi is set.<br />
cpus="1"<br />
<br />
# Which mouse device to use<br />
# Values: mouse, tablet<br />
# Default: tablet<br />
mouse="tablet"<br />
<br />
# The network chipset to use in the VM.<br />
# Values: rtl1389, e1000<br />
# Default: rtl8139<br />
nic="rtl8139"<br />
<br />
# Which virtual block device to boot from<br />
# Values: a=floppy0, b=floppy1, c=disk0, d=disk1<br />
# Default: c<br />
boot="c"<br />
<br />
# If the VM is set to boot from "d" and "d" is a CD-ROM, an extra '-no-reboot'<br />
# option is added to the kvm commandline. This will cause the VM to treat a<br />
# "reboot" command as if it were a "shutdown" command.<br />
<br />
# Values for disktype: ide, scsi, virtio<br />
# Default for disktype: ide<br />
<br />
# If the value for disktyp0 is scsi or virtio, an extra ',boot=on' option will<br />
# be added to the kvm commandline. This is needed in order to boot from SCSI<br />
# and paravirtualised block devices.<br />
<br />
# Values for media: disk, cdrom<br />
# Default for disktype: disk<br />
<br />
# Values for disk: a path to either a disk image file, or an LVM logical v volume<br />
# Default for disk: /dev/mapper/vol0-${host}<br />
<br />
# The first virtual block device<br />
# For IDE devices, this is primary master.<br />
disktype0="ide"<br />
media0="disk"<br />
disk0="/path/to/diskimage"<br />
<br />
# The second virtual block device<br />
# For IDE devices, this is primary slave.<br />
disktype1=""<br />
media1=""<br />
disk1=""<br />
<br />
# The third virtual block device<br />
# For IDE devices, this is secondary master<br />
# USE THIS FOR CD-ROMS OR PERFORMANCE WILL SUFFER GREATLY!!<br />
disktype2="ide"<br />
media2="cdrom"<br />
disk2="/path/to/osinstall.iso"<br />
<br />
# The fourth virtual block device<br />
# For IDE devices, this is secondary slave<br />
disktype3=""<br />
media3=""<br />
disk3=""</div>
FreddieCash
https://linux-kvm.org/index.php?title=File:HowToConfigScript$kvmctl-2.0.4.jpg&diff=2599
File:HowToConfigScript$kvmctl-2.0.4.jpg
2009-10-07T19:54:20Z
<p>FreddieCash: Rename to .tbz2 to extract the tarball.</p>
<hr />
<div>Rename to .tbz2 to extract the tarball.</div>
FreddieCash
https://linux-kvm.org/index.php?title=HowToConfigScript&diff=2598
HowToConfigScript
2009-10-07T19:50:54Z
<p>FreddieCash: Update info based on kvmctl 2.0.4</p>
<hr />
<div>= Intro = <br />
I have written a utility called '''kvmctl''' to manage KVM-based VMs, along with a configuration file format, and other associated utilities. Feel free to use it, or to expand on it. While not strictly required by the license, I would appreciate knowing if you use it, and would appreciate being credited if you expand upon it. <br />
<br />
A couple of assumptions are made for this work:<br />
<br />
* all the VMs have unique host names.<br />
* all the VMs have config files in /etc/kvm that are named <host>.kvm. These are shell script fragments that initialise variabless related to the VM. <br />
* all the VMs are given unique numeric identifiers between 00 and 99. This is used for the VNC port number and the last 2 digits of the virtual MAC address. <br />
* there is a single bridge configured for all VMs to use, and all VMs will use bridged networking <br />
I don't proclaim to be a great shell programmer, so there are undoubtedly better ways to do a lot of things in this script. However, this works well enough for us, covers all the things we need to do, and has been running without issues for a couple of weeks now. I have made a bunch of changes to the script, and have released it as 2.0.4. :) <br />
<br />
There's a simple init.d/ script included that can be used to auto-start VMs when the host system boots. Just symlink config files into /etc/kvm/auto/ and then add the script to whichever runlevel you want. Just be sure to set it to start after networking is up. <br />
<br />
= Download =<br />
<br />
== Version 2.0.4 ==<br />
Stable and working. Auto-shutdown doesn't work yet, as I haven't found a way to send a "powerdown" event to the guest OS to tell it to initiate a clean shutdown. <br />
* Download the tarball here: [[Media:HowToConfigScript$kvmctl-2.0.4.tbz2|kvmctl-2.0.4.tbz2]]<br />
<br />
== Version 2.1.0 ==<br />
I've added a possibility to start a monitor port as telnet server and added a shutdown. Since debian has removed bash tcp support i need netcat (nc) to send a power-button-press to the monitor of virtual machine. So if you like to test the shutdown, start the machine with a monitor and install "nc". This Version includes some other changes and is not roughly tested. <br />
* Download the tarball here: [[Media:kvmctl-2.1.0.tar.gz|kvmctl-2.1.0.tar.gz]]<br />
<br />
'''Note:''' The tarball for 2.1.0 is gone, nobody has a copy, don't report this issue. The above paragraph is here strictly for people who already have kvmctl 2.1.0 and for historical purposes.<br />
<br />
= Usage =<br />
The script can be run as a normal user. It uses sudo internally for the start/stop commands (all the rest are run as the normal user). Currently, all kvm processes are run as root, as this was developed on Debian Lenny which (for whatever reason) decided to include kernel capabilities which prevents non-root users from accessing tun devices. <br />
<br />
To see a blurb that describe all the options:<br />
<br />
<br />
# kvmctl help<br />
kvmctl 2.0.4<br />
Licensed under BSDL<br />
Copyright 2009<br />
<br />
kvmctl is a management and control script for KVM-based virtual machines.<br />
<br />
Usage: kvmctl start host - start the named VM<br />
kvmctl startvnc host - start the named VM, and then connect to console via VNC<br />
kvmctl stop host - stop the named VM (only use if the guest is hung)<br />
kvmctl restart host - stop and then start the named VM (only use if the guest is hung)<br />
<br />
kvmctl vnc host - connect via VNC to the console of the named VM<br />
kvmctl whichvnc host - show which VNC display port is assigned to the named VM<br />
kvmctl killvnc host - kills any running vncviewer processes attached to the named VM<br />
<br />
kvmctl edit host - open config file for host using $EDITOR, or create a new config file based on a template<br />
<br />
kvmctl status - show the names of all running VMs<br />
kvmctl status kvm - show full details for all running kvm processes<br />
kvmctl status host - show full details for the named kvm process<br />
<br />
kvmctl help - show this usage blurb<br />
<br />
** Using stop is the same as pulling the power cord on a physical system. Use with caution.<br />
<br />
<br />
To start a VM named webmail:<br />
<br />
# kvmctl start webmail<br />
Starting webmail. <br />
The VNC port for webmail is :05<br />
<br />
To start a VM named webmail, and then immediately attach to the console via VNC:<br />
<br />
# kvmctl startvnc webmail<br />
Starting webmail. <br />
The VNC port for webmail is :05<br />
<vncviewer is started> <br />
<br />
To check the status of all running VMs (just outputs the name of the running VMs):<br />
<br />
# kvmctl status<br />
The following VMs are running:<br />
fcsync <br />
webmail <br />
<br />
To see the process info for all the running VMs:<br />
<br />
# kvmctl status kvm<br />
The following VMs are running:<br />
3792 /usr/bin/kvm -name fcsync -daemonize -localtime -usb -usbdevice tablet -smp 1 -m 1048 -vnc :02 -pidfile /var/run/kvm/fcsync.pid -net nic,macaddr=00:16:3e:00:00:02,model=rtl8139 -net tap,ifname=tap02 -boot c -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-fcsync <br />
5123 /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 2 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net nic,macaddr=00:16:3e:00:00:05,model=e1000 -net tap,ifname=tap05 -boot c -drive index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-webmail <br />
<br />
To see the process info for a specific VM:<br />
<br />
# kvmctl status webmail<br />
VM for host webmail is running with:<br />
5123 /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 2 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net nic,macaddr=00:16:3e:00:00:05,model=e1000 -net tap,ifname=tap05 -boot c -drive index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage -drive index=0,media=disk,if=ide,file=/dev/mapper/vol0-webmail <br />
<br />
To "pull the power cord" of a running VM:<br />
<br />
# kvmctl stop webmail<br />
Attempting to stop VM for webmail<br />
VM for webmail has stopped <br />
<br />
To "powercycle" a running VM:<br />
<br />
# kvmctl restart webmail<br />
Attempting to stop VM for webmail<br />
VM for webmail has stopped <br />
Starting webmail. <br />
The VNC port for webmail is :05 <br />
<br />
To see which VNC port has been assigned to a VM:<br />
<br />
# kvmctl whichvnc webmail<br />
The VNC port for webmail is :05<br />
<br />
To connect to the VNC port of a VM (requires vncviewer installed on the host):<br />
<br />
# kvmctl vnc webmail<br />
<vncviewer is started><br />
<br />
To create a new config file for a VM:<br />
<br />
# kvmctl edit newvm<br />
/etc/kvm/test.kvm does not exist. Would you like to create one from the template? (y/n)<br />
<if yes, $EDITOR is opened with the template loaded> <br />
<br />
To edit an existing config file:<br />
<br />
# kvmctl edit webmail<br />
<$EDITOR is opened with /etc/kvm/webmail.kvm loaded.><br />
<br />
= kvmctl 2.0 config file format =<br />
# kvmctl Version: 2.0.0<br />
<br />
# The name of the VM must be unique across all VMs running on this server<br />
# This is not actually used anywhere, instead kvmctl uses the filename without<br />
# the .kvm as the host name.<br />
# host="hostname"<br />
<br />
# An ID number for the VM. <br />
# This is used to generate the MAC address of the virtual NIC, the tap device in the host, and<br />
# the VNC port for the VM's console.<br />
id="##"<br />
<br />
# How much RAM to associate with the VM.<br />
# This is the max amount of RAM that it will use.<br />
mem="1024"<br />
<br />
# Whether to enable ACPI support in the virtual BIOS<br />
# Default is to enable ACPI<br />
# noacpi cannot be set if cpus > 1.<br />
noacpi=""<br />
<br />
# The number of virtual CPUs to assign to the VM.<br />
# Stable values are 1-4.<br />
# cpus must be set to 1 if noacpi is set.<br />
cpus="1"<br />
<br />
# Which mouse device to use<br />
# Values: mouse, tablet<br />
# Default: tablet<br />
mouse="tablet"<br />
<br />
# The network chipset to use in the VM.<br />
# Values: rtl1389, e1000<br />
# Default: rtl8139<br />
nic="rtl8139"<br />
<br />
# Which virtual block device to boot from<br />
# Values: a=floppy0, b=floppy1, c=disk0, d=disk1<br />
# Default: c<br />
boot="c"<br />
<br />
# If the VM is set to boot from "d" and "d" is a CD-ROM, an extra '-no-reboot'<br />
# option is added to the kvm commandline. This will cause the VM to treat a<br />
# "reboot" command as if it were a "shutdown" command.<br />
<br />
# Values for disktype: ide, scsi, virtio<br />
# Default for disktype: ide<br />
<br />
# If the value for disktyp0 is scsi or virtio, an extra ',boot=on' option will<br />
# be added to the kvm commandline. This is needed in order to boot from SCSI<br />
# and paravirtualised block devices.<br />
<br />
# Values for media: disk, cdrom<br />
# Default for disktype: disk<br />
<br />
# Values for disk: a path to either a disk image file, or an LVM logical v volume<br />
# Default for disk: /dev/mapper/vol0-${host}<br />
<br />
# The first virtual block device<br />
# For IDE devices, this is primary master.<br />
disktype0="ide"<br />
media0="disk"<br />
disk0="/path/to/diskimage"<br />
<br />
# The second virtual block device<br />
# For IDE devices, this is primary slave.<br />
disktype1=""<br />
media1=""<br />
disk1=""<br />
<br />
# The third virtual block device<br />
# For IDE devices, this is secondary master<br />
# USE THIS FOR CD-ROMS OR PERFORMANCE WILL SUFFER GREATLY!!<br />
disktype2="ide"<br />
media2="cdrom"<br />
disk2="/path/to/osinstall.iso"<br />
<br />
# The fourth virtual block device<br />
# For IDE devices, this is secondary slave<br />
disktype3=""<br />
media3=""<br />
disk3=""</div>
FreddieCash
https://linux-kvm.org/index.php?title=Guest_Support_Status&diff=1505
Guest Support Status
2008-04-29T15:26:36Z
<p>FreddieCash: Add comment regarding using 1 and 2 CPUs with FreeBSD guests.</p>
<hr />
<div><!-- ! TOC here --><br />
<br />
== Windows Family ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Windows Server 2008 (Datacenter) <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2008 (Datacenter) <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64, 32 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Vista Ultimate <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| Not Aero Glass capable. by Alexey.E. <br />
| <br />
|-<br />
| Windows Vista Ultimate <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64, 32 <br />
| Works <br />
| Not Aero Glass capable. by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2003 x64 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2003 (Enterprise) <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 32, 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2003 (Enterprise) <br />
| 32 <br />
| kvm-64 <br />
| AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows XP Pro x64 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows XP Pro <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 32, 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows XP Pro <br />
| 32 <br />
| kvm-64 <br />
| AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows 2000 Pro (SP4) <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| use Qcow2 format. Setup may be unstable, so retry several times. by Alexey.E. <br />
| <br />
|-<br />
| Windows 2000 Pro (SP4) <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 32 <br />
| Works <br />
| use Qcow2 format. Setup may be unstable, so retry several times. by Alexey.E. <br />
| <br />
|-<br />
| Windows 2000 Advanced Server <br />
| 32 <br />
| kvm-44 <br />
| Intel <br />
| 64 <br />
| Works <br />
| use Qcow2 format. <br />
| <br />
|-<br />
| Windows NT 4.0 (SP1) <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Windows NT 4.0 (SP6a) <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Works <br />
| Crashes starting the GUI. Works with -no-kvm <br />
| <br />
|-<br />
| Windows 98SE <br />
| 32 <br />
| kvm-63 <br />
| Intel <br />
| 32 <br />
| FAILS <br />
| by Alexey.E. (halts when booting HIMEM) <br />
| <br />
|-<br />
| Windows 98SE <br />
| 32 <br />
| kvm-44, 2.6.23-rc8 <br />
| AMD <br />
| 64, 32 <br />
| no way <br />
| <br />
| <br />
|-<br />
| Windows 95 <br />
| 32 <br />
| kvm-44, 2.6.23-rc8 <br />
| AMD <br />
| 64, 32 <br />
| no way <br />
| <br />
| <br />
|}<br />
== Linux Family: Fedora/[[RedHat]] Derivatives ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| F9 (BETA) <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F8 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F8 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F7 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F7 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| FC6 <br />
| 32 <br />
| kvm-26 <br />
| Intel, AMD <br />
| 32, 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FC5 <br />
| 32, 64 <br />
| kvm-12 <br />
| Intel, AMD <br />
| 32, 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Trixbox (CentOS) <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Red Hat Linux 9 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Red Hat Linux 7 <br />
| 32 <br />
| kvm-52 <br />
| Intel, AMD <br />
| 64 <br />
| Crashes <br />
| Fails on init. by Alexey.E. <br />
| <br />
|-<br />
| RHEL5/CentOS 5 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| RHEL5/CentOS 5 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. (SMP is unstable) <br />
| <br />
|}<br />
== Linux Family: Ubuntu/Debian Derivatives ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Ubuntu 8.04 LTS (Beta) <br />
| 32, 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 32, 64 <br />
| Works <br />
| by Alexey.E. (some issues with virtio) <br />
| <br />
|-<br />
| Ubuntu 7.10 <br />
| 32, 64 <br />
| kvm-62 <br />
| Intel,AMD <br />
| 32, 64 <br />
| Crashes, Workaround exists <br />
| Install using Qemu, remove GFX boot. by Alexey.E. <br />
| <br />
|-<br />
| Ubuntu 7.10 Server <br />
| 64 <br />
| kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No framebuffer (black screen at first). Hit enter to start installer. <br />
| <br />
|-<br />
| Ubuntu 7.10 Server <br />
| 32 <br />
| kvm-60/61 <br />
| Intel <br />
| 64 <br />
| Doesn't work <br />
| Installer crashes (by Ryota Ozaki) <br />
| <br />
|-<br />
| Ubuntu 7.04 <br />
| 32, 64 <br />
| kvm-62 <br />
| Intel,AMD <br />
| 32, 64 <br />
| Crashes, Workaround exists <br />
| Install using Qemu, remove GFX boot. by Alexey.E. <br />
| <br />
|-<br />
| Ubuntu 6.06 LTS Server <br />
| 32 <br />
| kvm-20 <br />
| Intel <br />
| 32 <br />
| Works <br />
| use -no-acpi <br />
| <br />
|-<br />
| Debian Etch 4.0 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Debian Etch 4.0 <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Debian Etch 4.0 <br />
| 32 <br />
| kvm-64 <br />
| AMD <br />
| 64 <br />
| FAILS, workaround exists <br />
| by Alexey.E. (manually choose i586 kernel, do not use default "k7" kernel) <br />
| <br />
|-<br />
| Debian Sarge 3.1 <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Debian Sarge 3.1 <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Mostly works <br />
| Install hangs, will install via -no-kvm. Runs fine after <br />
| <br />
|-<br />
| Xandros 3 OCE <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| KNOPPIX 5.1.1 <br />
| 32 <br />
| kvm-18 <br />
| Intel <br />
| 64 <br />
| Works <br />
| use nmi_watchdog=0 or nolapic kernel parameter to boot <br />
| <br />
|-<br />
| Knoppix 5.2 <br />
| 32 <br />
| kvm-18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|}<br />
== Other Linux Distros ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Slackware 11 <br />
| 32 <br />
| kvm-15 <br />
| Intel <br />
| 64 <br />
| Works <br />
| using test26.s kernel <br />
| <br />
|-<br />
| Slackware 12 <br />
| 32 <br />
| kvm-36 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| openSUSE 11.0 (Alpha 3) <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| openSUSE 10.3 <br />
| 32 <br />
| kvm-57 <br />
| AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| openSUSE 10.3 <br />
| 32/64 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Crashes, Workaround exists <br />
| Start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| openSUSE 10.2 <br />
| 32/64 <br />
| kvm-28/kvm-51 <br />
| Intel <br />
| 64 <br />
| Crashes, Workaround exists <br />
| Start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| SUSE Linux 10.0 <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Crashes, Workaround exists <br />
| Start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| SUSE Linux 9.1 <br />
| 32 <br />
| kvm-64 <br />
| Intel/AMD <br />
| 64, 32 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Qemu-Puppy 2.01-3 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Qemu-Puppy 2.13-1 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| [[SystemRescueCD]] 0.3.4 <br />
| 32 <br />
| kvm-18 <br />
| Intel <br />
| 64 <br />
| Works <br />
| Works fine, except for initial X-setting "cirrus" - changed to "vesa", then works. <br />
| <br />
|-<br />
| Gentoo 2006.1 <br />
| 32 <br />
| kvm-24 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Gentoo 2007.0 <br />
| 32 <br />
| kvm-24 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Arch Linux (Duke) <br />
| 32 <br />
| kvm-17 <br />
| AMD <br />
| 64 <br />
| Works <br />
| Host: 2.6.21-ARCH, guest: 2.6.22-rc5-ARCH says "booting paravirtualized kernel on bare hardware" <br />
| <br />
|-<br />
| Mandrake Linux 9.2 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Mandriva 2007 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Crashes, Workaround exists <br />
| start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| Mandriva 2008 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Crashes, Workaround exists <br />
| start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| Mandriva 2008.1 <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Crashes, Workaround exists <br />
| start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|}<br />
== UNIX Family: BSD ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| OpenBSD 4.2 <br />
| 32 <br />
| kvm-58 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| OpenBSD 4.1 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| OpenBSD 4.0 <br />
| 64 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| OpenBSD 4.0 <br />
| 32 <br />
| kvm-16 + CVS <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.1 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.2 <br />
| 64 <br />
| kvm-12 <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.2 <br />
| 32 <br />
| kvm-16 + CVS <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.3 <br />
| 32 <br />
| Fedora 8 - kvm-37-7.fc8 <br />
| Intel <br />
| 64 <br />
| works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.3 <br />
| 32 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Freddie <br />
| <br />
|-<br />
| FreeBSD 6.3 <br />
| 64 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Freddie <br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 32 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Tested with 1 and 2 virtual CPUs. Freddie <br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 64 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Tested with 1 and 2 virtual CPUs. Freddie <br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 32 <br />
| OpenSUSE 10.3 kvm-63 <br />
| AMD <br />
| 64 <br />
| works <br />
| disk i/o issues? "ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=XXXXXXX" <br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 64 <br />
| OpenSUSE 10.3 kvm-63 <br />
| AMD <br />
| 64 <br />
| crashes after boot loader <br />
| <br />
|-<br />
| GNU/kFreeBSD <br />
| 64 <br />
| kvm-15 <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| GNU/kFreeBSD <br />
| 32 <br />
| kvm-16 + CVS <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| NetBSD 3.1 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| NetBSD 3.1 <br />
| 32 <br />
| kvm-21 <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| PC-BSD 1.4 <br />
| 32 <br />
| kvm-56 <br />
| Intel <br />
| 64 <br />
| Works <br />
| By Alexey.E. <br />
| <br />
|-<br />
| DragonflyBSD 1.10.1 <br />
| 32 <br />
| kvm-58 <br />
| Intel <br />
| 64 <br />
| Works <br />
| use -no-kvm-pit for kvm >= 64; use -net nic,model=e1000 to avoid network timeouts <br />
| <br />
|}<br />
== UNIX Family: Solaris/[[OpenSolaris]] ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Solaris 10 U1 <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Works <br />
| later releases will detect the CPU is 64 bit capable and try to default to run a 64 bit kernel and fail, for those you have to override Solaris autodetection by adding "kernel/unix" to the kernel multiboot entry in GRUB <br />
| <br />
|-<br />
| Solaris 10 U3 <br />
| 64 <br />
| kvm-58 + patch <br />
| Intel <br />
| 64 <br />
| Works <br />
| needs additional patch to kvm for [http://tapir.sajinet.com.pe/gentoo/portage/app-emulation/kvm/files/kvm-57-kernel-longmode.patch kvm kernel longmode] <br />
| <br />
|-<br />
| Nexenta Core 1.0 <br />
| 64 <br />
| kvm-61 <br />
| Intel <br />
| 64 <br />
| Works <br />
| needs additional patch to kvm for [http://tapir.sajinet.com.pe/gentoo/portage/app-emulation/kvm/files/kvm-57-kernel-longmode.patch kvm kernel longmode]. Use -m 512 -net nic,model=e1000 (or any other than the default rtl adapter) <br />
| <br />
|}<br />
== Other UNIX systems ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Darwin 8.0.1 <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| by Alexey.E. <br />
| <br />
|-<br />
| MINIX 3.1.2a <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| Crashes when loading MINIX's boot monitor and exits with exception 13, although it runs fine with -no-kvm <br />
| <br />
|-<br />
| GNU hurd live CD (20051117) <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Works <br />
| Seems to have networking problems. <br />
| <br />
|-<br />
| GNU/Hurd (Debian K14) <br />
| 32 <br />
| kvm-33 <br />
| Intel <br />
| 32 <br />
| Works <br />
| [http://kvm.qumranet.com/kvmwiki/Guest_Support_Status?action=AttachFile&do=get&target=hurd-k14.png screenshot] <br />
| <br />
|-<br />
| GNU/Hurd (Debian K16) <br />
| 32 <br />
| kvm-66 <br />
| AMD <br />
| 64 <br />
| Needs -no-kvm-pit <br />
| <br />
| <br />
|}<br />
== Others ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Haiku OS <br />
| 32 <br />
| kvm-12 <br />
| AMD <br />
| 64 <br />
| Works <br />
| [http://kvm.qumranet.com/kvmwiki/Screenshots?action=AttachFile&do=view&target=kvm_aros_haiku.png screenshot] <br />
| <br />
|-<br />
| Amiga Research OS (AROS) <br />
| 32 <br />
| kvm-12 <br />
| AMD <br />
| 64 <br />
| Works <br />
| LiveCD tested. [http://kvm.qumranet.com/kvmwiki/Screenshots?action=AttachFile&do=view&target=kvm_aros_haiku.png screenshot] <br />
| <br />
|-<br />
| Amiga Research OS (AROS) <br />
| 32 <br />
| kvm-58 <br />
| Intel <br />
| 32 <br />
| Works <br />
| LiveCD tested. <br />
| <br />
|-<br />
| ReactOS 0.3.0 <br />
| 32 <br />
| kvm-14 <br />
| AMD <br />
| 64 <br />
| Works <br />
| [http://kvm.qumranet.com/kvmwiki/Screenshots?action=AttachFile&do=view&target=kvm_reactos.png screenshot] <br />
| <br />
|-<br />
| FreeDOS 1.0 <br />
| 32 <br />
| kvm-12/14 <br />
| Intel <br />
| 64 <br />
| Work(ish) <br />
| Can only be installed from live CD by disabling kvm and using qemu only. Upper memory management (himem.exe) crashed kvm. Some other drivers do so as well. Step through booting using F8 to determine which. DOS is confined to the lower 640K of memory. See [http://sourceforge.net/tracker/index.php?func=detail&aid=1666308&group_id=180599&atid=893831 bug 1666308]. <br />
| <br />
|-<br />
| MS DOS 6.22 <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Stops <br />
| It seems to stop booting after HIMEM. <br />
| <br />
|-<br />
| Syllable 0.61 <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Visopsys 0.62 <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| by Alexey.E. <br />
| <br />
<br />
__NOTOC__</div>
FreddieCash
https://linux-kvm.org/index.php?title=Guest_Support_Status&diff=1504
Guest Support Status
2008-04-28T22:47:21Z
<p>FreddieCash: Add info on running FreeBSD 6.3/7.0 32- and 64-bit guests on Debian Lenny and kvm-60.</p>
<hr />
<div><!-- ! TOC here --><br />
<br />
== Windows Family ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Windows Server 2008 (Datacenter) <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2008 (Datacenter) <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64, 32 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Vista Ultimate <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| Not Aero Glass capable. by Alexey.E. <br />
| <br />
|-<br />
| Windows Vista Ultimate <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64, 32 <br />
| Works <br />
| Not Aero Glass capable. by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2003 x64 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2003 (Enterprise) <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 32, 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows Server 2003 (Enterprise) <br />
| 32 <br />
| kvm-64 <br />
| AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows XP Pro x64 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows XP Pro <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 32, 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows XP Pro <br />
| 32 <br />
| kvm-64 <br />
| AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Windows 2000 Pro (SP4) <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| use Qcow2 format. Setup may be unstable, so retry several times. by Alexey.E. <br />
| <br />
|-<br />
| Windows 2000 Pro (SP4) <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 32 <br />
| Works <br />
| use Qcow2 format. Setup may be unstable, so retry several times. by Alexey.E. <br />
| <br />
|-<br />
| Windows 2000 Advanced Server <br />
| 32 <br />
| kvm-44 <br />
| Intel <br />
| 64 <br />
| Works <br />
| use Qcow2 format. <br />
| <br />
|-<br />
| Windows NT 4.0 (SP1) <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Windows NT 4.0 (SP6a) <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Works <br />
| Crashes starting the GUI. Works with -no-kvm <br />
| <br />
|-<br />
| Windows 98SE <br />
| 32 <br />
| kvm-63 <br />
| Intel <br />
| 32 <br />
| FAILS <br />
| by Alexey.E. (halts when booting HIMEM) <br />
| <br />
|-<br />
| Windows 98SE <br />
| 32 <br />
| kvm-44, 2.6.23-rc8 <br />
| AMD <br />
| 64, 32 <br />
| no way <br />
| <br />
| <br />
|-<br />
| Windows 95 <br />
| 32 <br />
| kvm-44, 2.6.23-rc8 <br />
| AMD <br />
| 64, 32 <br />
| no way <br />
| <br />
| <br />
|}<br />
== Linux Family: Fedora/[[RedHat]] Derivatives ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| F9 (BETA) <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F8 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F8 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F7 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| F7 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| FC6 <br />
| 32 <br />
| kvm-26 <br />
| Intel, AMD <br />
| 32, 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FC5 <br />
| 32, 64 <br />
| kvm-12 <br />
| Intel, AMD <br />
| 32, 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Trixbox (CentOS) <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Red Hat Linux 9 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Red Hat Linux 7 <br />
| 32 <br />
| kvm-52 <br />
| Intel, AMD <br />
| 64 <br />
| Crashes <br />
| Fails on init. by Alexey.E. <br />
| <br />
|-<br />
| RHEL5/CentOS 5 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| RHEL5/CentOS 5 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. (SMP is unstable) <br />
| <br />
|}<br />
== Linux Family: Ubuntu/Debian Derivatives ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Ubuntu 8.04 LTS (Beta) <br />
| 32, 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 32, 64 <br />
| Works <br />
| by Alexey.E. (some issues with virtio) <br />
| <br />
|-<br />
| Ubuntu 7.10 <br />
| 32, 64 <br />
| kvm-62 <br />
| Intel,AMD <br />
| 32, 64 <br />
| Crashes, Workaround exists <br />
| Install using Qemu, remove GFX boot. by Alexey.E. <br />
| <br />
|-<br />
| Ubuntu 7.10 Server <br />
| 64 <br />
| kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No framebuffer (black screen at first). Hit enter to start installer. <br />
| <br />
|-<br />
| Ubuntu 7.10 Server <br />
| 32 <br />
| kvm-60/61 <br />
| Intel <br />
| 64 <br />
| Doesn't work <br />
| Installer crashes (by Ryota Ozaki) <br />
| <br />
|-<br />
| Ubuntu 7.04 <br />
| 32, 64 <br />
| kvm-62 <br />
| Intel,AMD <br />
| 32, 64 <br />
| Crashes, Workaround exists <br />
| Install using Qemu, remove GFX boot. by Alexey.E. <br />
| <br />
|-<br />
| Ubuntu 6.06 LTS Server <br />
| 32 <br />
| kvm-20 <br />
| Intel <br />
| 32 <br />
| Works <br />
| use -no-acpi <br />
| <br />
|-<br />
| Debian Etch 4.0 <br />
| 64 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Debian Etch 4.0 <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Debian Etch 4.0 <br />
| 32 <br />
| kvm-64 <br />
| AMD <br />
| 64 <br />
| FAILS, workaround exists <br />
| by Alexey.E. (manually choose i586 kernel, do not use default "k7" kernel) <br />
| <br />
|-<br />
| Debian Sarge 3.1 <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Debian Sarge 3.1 <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Mostly works <br />
| Install hangs, will install via -no-kvm. Runs fine after <br />
| <br />
|-<br />
| Xandros 3 OCE <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| KNOPPIX 5.1.1 <br />
| 32 <br />
| kvm-18 <br />
| Intel <br />
| 64 <br />
| Works <br />
| use nmi_watchdog=0 or nolapic kernel parameter to boot <br />
| <br />
|-<br />
| Knoppix 5.2 <br />
| 32 <br />
| kvm-18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|}<br />
== Other Linux Distros ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Slackware 11 <br />
| 32 <br />
| kvm-15 <br />
| Intel <br />
| 64 <br />
| Works <br />
| using test26.s kernel <br />
| <br />
|-<br />
| Slackware 12 <br />
| 32 <br />
| kvm-36 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| openSUSE 11.0 (Alpha 3) <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| openSUSE 10.3 <br />
| 32 <br />
| kvm-57 <br />
| AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| openSUSE 10.3 <br />
| 32/64 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Crashes, Workaround exists <br />
| Start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| openSUSE 10.2 <br />
| 32/64 <br />
| kvm-28/kvm-51 <br />
| Intel <br />
| 64 <br />
| Crashes, Workaround exists <br />
| Start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| SUSE Linux 10.0 <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Crashes, Workaround exists <br />
| Start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| SUSE Linux 9.1 <br />
| 32 <br />
| kvm-64 <br />
| Intel/AMD <br />
| 64, 32 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Qemu-Puppy 2.01-3 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Qemu-Puppy 2.13-1 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| [[SystemRescueCD]] 0.3.4 <br />
| 32 <br />
| kvm-18 <br />
| Intel <br />
| 64 <br />
| Works <br />
| Works fine, except for initial X-setting "cirrus" - changed to "vesa", then works. <br />
| <br />
|-<br />
| Gentoo 2006.1 <br />
| 32 <br />
| kvm-24 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Gentoo 2007.0 <br />
| 32 <br />
| kvm-24 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| Arch Linux (Duke) <br />
| 32 <br />
| kvm-17 <br />
| AMD <br />
| 64 <br />
| Works <br />
| Host: 2.6.21-ARCH, guest: 2.6.22-rc5-ARCH says "booting paravirtualized kernel on bare hardware" <br />
| <br />
|-<br />
| Mandrake Linux 9.2 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Mandriva 2007 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Crashes, Workaround exists <br />
| start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| Mandriva 2008 <br />
| 32 <br />
| kvm-51 <br />
| Intel <br />
| 64 <br />
| Crashes, Workaround exists <br />
| start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|-<br />
| Mandriva 2008.1 <br />
| 32 <br />
| kvm-64 <br />
| Intel <br />
| 64, 32 <br />
| Crashes, Workaround exists <br />
| start kvm with -no-kvm for installation. Remove graphical GRUB. by Alexey.E. <br />
| <br />
|}<br />
== UNIX Family: BSD ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| OpenBSD 4.2 <br />
| 32 <br />
| kvm-58 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| OpenBSD 4.1 <br />
| 32 <br />
| kvm-64 <br />
| Intel, AMD <br />
| 64 <br />
| Works <br />
| by Alexey.E. <br />
| <br />
|-<br />
| OpenBSD 4.0 <br />
| 64 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| OpenBSD 4.0 <br />
| 32 <br />
| kvm-16 + CVS <br />
| Intel <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.1 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.2 <br />
| 64 <br />
| kvm-12 <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.2 <br />
| 32 <br />
| kvm-16 + CVS <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.3 <br />
| 32 <br />
| Fedora 8 - kvm-37-7.fc8 <br />
| Intel <br />
| 64 <br />
| works <br />
| <br />
| <br />
|-<br />
| FreeBSD 6.3 <br />
| 32 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Freddie <br />
| <br />
|-<br />
| FreeBSD 6.3 <br />
| 64 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Freddie <br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 32 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Freddie <br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 64 <br />
| Debian Lenny, kvm-60 <br />
| AMD <br />
| 64 <br />
| Works <br />
| No issues in several weeks of testing. Freddie <br />
| <br />
|-<br />
| FreeBSD 7.0<br />
| 32<br />
| OpenSUSE 10.3 kvm-63<br />
| AMD<br />
| 64<br />
| works<br />
| disk i/o issues? "ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=XXXXXXX"<br />
| <br />
|-<br />
| FreeBSD 7.0 <br />
| 64 <br />
| OpenSUSE 10.3 kvm-63 <br />
| AMD <br />
| 64 <br />
| crashes after boot loader <br />
| <br />
|-<br />
| GNU/kFreeBSD <br />
| 64 <br />
| kvm-15 <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| GNU/kFreeBSD <br />
| 32 <br />
| kvm-16 + CVS <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| NetBSD 3.1 <br />
| 32 <br />
| kvm-17/18 <br />
| Intel <br />
| 32 <br />
| Works <br />
| <br />
| <br />
|-<br />
| NetBSD 3.1 <br />
| 32 <br />
| kvm-21 <br />
| AMD <br />
| 64 <br />
| Works <br />
| <br />
| <br />
|-<br />
| PC-BSD 1.4 <br />
| 32 <br />
| kvm-56 <br />
| Intel <br />
| 64 <br />
| Works <br />
| By Alexey.E. <br />
| <br />
|-<br />
| DragonflyBSD 1.10.1 <br />
| 32 <br />
| kvm-58 <br />
| Intel <br />
| 64 <br />
| Works <br />
| use -no-kvm-pit for kvm >= 64; use -net nic,model=e1000 to avoid network timeouts <br />
| <br />
|}<br />
== UNIX Family: Solaris/[[OpenSolaris]] ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Solaris 10 U1 <br />
| 32 <br />
| kvm-12 <br />
| Intel <br />
| 64 <br />
| Works <br />
| later releases will detect the CPU is 64 bit capable and try to default to run a 64 bit kernel and fail, for those you have to override Solaris autodetection by adding "kernel/unix" to the kernel multiboot entry in GRUB <br />
| <br />
|-<br />
| Solaris 10 U3 <br />
| 64 <br />
| kvm-58 + patch <br />
| Intel <br />
| 64 <br />
| Works <br />
| needs additional patch to kvm for [http://tapir.sajinet.com.pe/gentoo/portage/app-emulation/kvm/files/kvm-57-kernel-longmode.patch kvm kernel longmode] <br />
| <br />
|-<br />
| Nexenta Core 1.0 <br />
| 64 <br />
| kvm-61 <br />
| Intel <br />
| 64 <br />
| Works <br />
| needs additional patch to kvm for [http://tapir.sajinet.com.pe/gentoo/portage/app-emulation/kvm/files/kvm-57-kernel-longmode.patch kvm kernel longmode]. Use -m 512 -net nic,model=e1000 (or any other than the default rtl adapter) <br />
| <br />
|}<br />
== Other UNIX systems ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Darwin 8.0.1 <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| by Alexey.E. <br />
| <br />
|-<br />
| MINIX 3.1.2a <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| Crashes when loading MINIX's boot monitor and exits with exception 13, although it runs fine with -no-kvm <br />
| <br />
|-<br />
| GNU hurd live CD (20051117) <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Works <br />
| Seems to have networking problems. <br />
| <br />
|-<br />
| GNU/Hurd (Debian K14) <br />
| 32 <br />
| kvm-33 <br />
| Intel <br />
| 32 <br />
| Works <br />
| [http://kvm.qumranet.com/kvmwiki/Guest_Support_Status?action=AttachFile&do=get&target=hurd-k14.png screenshot] <br />
| <br />
|-<br />
| GNU/Hurd (Debian K16) <br />
| 32 <br />
| kvm-66 <br />
| AMD <br />
| 64 <br />
| Needs -no-kvm-pit <br />
| <br />
| <br />
|}<br />
== Others ==<br />
{| border="1" cellpadding="2" cellspacing="0"<br />
| <b>Guest</b> <br />
| <b>Guest bitness</b> <br />
| <b>Host version</b> <br />
| <b>Host cpu</b> <br />
| <b>Host bitness</b> <br />
| <b>Status</b> <br />
| <b>Comments</b> <br />
| <br />
|-<br />
| Haiku OS <br />
| 32 <br />
| kvm-12 <br />
| AMD <br />
| 64 <br />
| Works <br />
| [http://kvm.qumranet.com/kvmwiki/Screenshots?action=AttachFile&do=view&target=kvm_aros_haiku.png screenshot] <br />
| <br />
|-<br />
| Amiga Research OS (AROS) <br />
| 32 <br />
| kvm-12 <br />
| AMD <br />
| 64 <br />
| Works <br />
| LiveCD tested. [http://kvm.qumranet.com/kvmwiki/Screenshots?action=AttachFile&do=view&target=kvm_aros_haiku.png screenshot] <br />
| <br />
|-<br />
| Amiga Research OS (AROS) <br />
| 32 <br />
| kvm-58 <br />
| Intel <br />
| 32 <br />
| Works <br />
| LiveCD tested. <br />
| <br />
|-<br />
| ReactOS 0.3.0 <br />
| 32 <br />
| kvm-14 <br />
| AMD <br />
| 64 <br />
| Works <br />
| [http://kvm.qumranet.com/kvmwiki/Screenshots?action=AttachFile&do=view&target=kvm_reactos.png screenshot] <br />
| <br />
|-<br />
| FreeDOS 1.0 <br />
| 32 <br />
| kvm-12/14 <br />
| Intel <br />
| 64 <br />
| Work(ish) <br />
| Can only be installed from live CD by disabling kvm and using qemu only. Upper memory management (himem.exe) crashed kvm. Some other drivers do so as well. Step through booting using F8 to determine which. DOS is confined to the lower 640K of memory. See [http://sourceforge.net/tracker/index.php?func=detail&aid=1666308&group_id=180599&atid=893831 bug 1666308]. <br />
| <br />
|-<br />
| MS DOS 6.22 <br />
| 32 <br />
| kvm-28 <br />
| Intel <br />
| 32 <br />
| Stops <br />
| It seems to stop booting after HIMEM. <br />
| <br />
|-<br />
| Syllable 0.61 <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| by Alexey.E. <br />
| <br />
|-<br />
| Visopsys 0.62 <br />
| 32 <br />
| kvm-29 <br />
| Intel <br />
| 64 <br />
| Crashes <br />
| by Alexey.E. <br />
| <br />
<br />
__NOTOC__</div>
FreddieCash