VirtFeatureVerification
978
Comment: added vnc section
|
2032
|
Deletions are marked like this. | Additions are marked like this. |
Line 26: | Line 26: |
=== QEMU Feature: virtio disks === * '''Command line''': {{{ kvm -drive file=maverick.img,if=virtio,index=0,boot=on }}} * '''Result''': Image boots === QEMU Feature: virtio net === * '''Command line''': {{{ kvm -net nic,virtio -net user -redir tcp:2224::22 }}} * '''Result''': Image is able to boot and access network, and host can ssh into guest using 'ssh -p 2224 localhost' === Distributions === * '''Fedora''': * Installed 32-bit and 64-bit fedora 13, from livecds * '''Debian''': * Installed 32-bit and 64-bit, from netboot cd images * '''CentOS 5.5''': * Boots of livecd and dvd * Installs and boots from dvd * Install with 'Virtualization' option installs a xen kernel * This fails to boot * first needs 'noapic' boot argument to get past bios 'bug' * then appears to fail at device creation * Note this is only for an install as virtualization host, normal install boots fine === libvirt save/restore VM === * succeeded (in nested qemu no less) with 0.8.1 |
The Ubuntu Hypervisor stack consists of qemu-kvm and libvirt at its core. QEMU provides the userspace emulation, KVM provides the kernel acceleration, and libvirt provides an abstraction layer for applications to interface with various hypervisors at an API level.
This page is dedicated to enumerating and tracking the testing of some of the basic and advanced features of this hypervisor stack.
For basic documentation, see:
Results
QEMU Feature: Serial Console
Command line:
kvm -serial stdio
Additional setup: Add console=ttyS0 to the kernel boot parameter
Result: Serial console input/output is on stdio of the shell that launched the VM
QEMU Feature: VNC
Command line:
kvm -vnc :1
Additional setup: Run vncviewer :1 from another command prompt
Result: VM's graphical display should be in a VNC window, rather than SDL
QEMU Feature: virtio disks
Command line:
kvm -drive file=maverick.img,if=virtio,index=0,boot=on
Result: Image boots
QEMU Feature: virtio net
Command line:
kvm -net nic,virtio -net user -redir tcp:2224::22
Result: Image is able to boot and access network, and host can ssh into guest using 'ssh -p 2224 localhost'
Distributions
Fedora:
- Installed 32-bit and 64-bit fedora 13, from livecds
Debian:
- Installed 32-bit and 64-bit, from netboot cd images
CentOS 5.5:
- Boots of livecd and dvd
- Installs and boots from dvd
- Install with 'Virtualization' option installs a xen kernel
- This fails to boot
- first needs 'noapic' boot argument to get past bios 'bug'
- then appears to fail at device creation
- Note this is only for an install as virtualization host, normal install boots fine
- This fails to boot
libvirt save/restore VM
- succeeded (in nested qemu no less) with 0.8.1
VirtFeatureVerification (last edited 2011-01-22 15:36:50 by cpe-66-69-252-85)