From Fedora Project Wiki
(add link to xen package containing bzImage dom0 support)
m (→‎Current status: Update to reflect the change in pv_ops dom0 patch repository)
Line 18: Line 18:
 
* Dom0 status: awaiting upstream kernel support
 
* Dom0 status: awaiting upstream kernel support
 
* Background:
 
* Background:
: [http://wiki.xensource.com/xenwiki/XenParavirtOps  upstream status], [http://xenbits.xen.org/paravirt_ops/patches.hg/  latest pv_ops dom0 patches]
+
: [http://wiki.xensource.com/xenwiki/XenParavirtOps  upstream status], [http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/dom0/hackery latest pv_ops dom0 patches]
 
: [[FWN/Issue158#Test_Dom0_Kernel_For_Fedora_10|FWN #158]],[[FWN/Issue152#Status_of_dom0_Support_in_Upstream_Kernel|FWN #152]], [[FWN/Issue146#No_Dom0_Support_in_Fedora_10|FWN #146]], [[FWN/Issue137#State_of_Xen_in_Upstream_Linux|FWN #137]]
 
: [[FWN/Issue158#Test_Dom0_Kernel_For_Fedora_10|FWN #158]],[[FWN/Issue152#Status_of_dom0_Support_in_Upstream_Kernel|FWN #152]], [[FWN/Issue146#No_Dom0_Support_in_Fedora_10|FWN #146]], [[FWN/Issue137#State_of_Xen_in_Upstream_Linux|FWN #137]]
 
: [http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00047.html old status #1], [http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00242.html old status #2]
 
: [http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00047.html old status #1], [http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00242.html old status #2]

Revision as of 23:28, 28 February 2009

Feature Name

Summary

Dom0 support for pvops-based Package-x-generic-16.pngkernel to support hosting of Xen guests which has been lacking since Fedora 8.

Owner

  • Name: None

Previously involved: EduardoHabkost, MarkMcLoughlin, Stephen Tweedie, Chris Wright, Juan Quintela, Markus Armbruster, Glauber Costa, DanielBerrange, ...

Current status

  • Last updated: 2009-01-22
  • Percentage of completion: 0%
  • Targeted release: Unknown
  • Fedora 10 shipped 2008-11-25 with Xen i686 and x86_64 DomU support enabled in the stock kernel.
  • Dom0 status: awaiting upstream kernel support
  • Background:
upstream status, latest pv_ops dom0 patches
FWN #158,FWN #152, FWN #146, FWN #137
old status #1, old status #2

Detailed Description

See Features/XenPvops for a rationale. This feature just continues the paravirt_ops Xen effort to bring it back to feature parity with Fedora 8 Xen.

Scope

Work items:

  • Implement Dom0 support in upstream kernel (JeremyFitzhardinge)
  • Allow the hypervisor to boot bzImage kernels (see this patch included since xen-3.3.1-3.fc11)
  • Make 'new-kernel-pkg' aware of HYPERVISOR setting in /etc/sysconfig/xen
  • Wait for that upstream kernel version to be pulled into Fedora

How To Test

  • Install a Fedora host/Dom0 system
  • Turn on Xen Hypervisor by setting 'HYPERVISOR=/boot/xen-3.3.gz' in /etc/sysconfig/kernel and running some tool (TBD)
  • Turn on Xen Userspace by running 'chkconfig xend on'
  • Reboot
  • Observe presence of Xen via /sys/hypervisor/
  • Run 'xm list' and observe Domain-0
  • Use virt-install to deploy a Fedora 9/10 paravirt guest
  • Use virt-install to deploy a Fedora 8 paravirt guest
  • Use virt-install to deploy a Fedora 8/9/10 fullyvirt guest
  • Use 'virsh' to save & restore a PV guest and HVM guest
  • Balloon down memory of a guest with virsh.

User Experience

  • Stock Fedora kernel supports Xen
  • The Xen kernel does not lag behind the Fedora kernel
  • All features and hardware supported on baremetal also works on Xen Dom0
  • Can enable/disable use of HV via a /etc/sysconfig setting

Dependencies

  • Update to 'new-kernel-pkg' to know how to install HV

Contingency Plan

If Dom0 support is not ready, continue the status quo of only shipping with DomU support.

Documentation

Release Notes

Comments and Discussion