From Fedora Project Wiki
(Change accepted en block on Jul 17 FESCo meeting (#1137))
(Fix test link)
 
(6 intermediate revisions by 3 users not shown)
Line 29: Line 29:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* Tracker bug: <will be assigned by the Wrangler>
+
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=998505 #998505]
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 41: Line 41:
  
 
== Scope ==
 
== Scope ==
 
  
 
* Proposal owners:
 
* Proposal owners:
# Get fixed virt-manager and libvirt packages into Fedora by the feature freeze
+
# Fix issues in libvirt with generating qemu-system-arm command lines:
# Fix issues in libvirt with generating qemu-system-arm command lines
+
#* Fix launching vexpress-a9 (DONE)
#* We may only target a single machine type for this, need to determine
+
#* Support virtio-mmio to enable virtio for vexpress (DONE)
#* https://bugzilla.redhat.com/show_bug.cgi?id=807538
+
#* TODO: vexpress-a15 support? need to figure out the correct qemu+fedora incantation
#* https://bugzilla.redhat.com/show_bug.cgi?id=983306
+
# virt-install support (DONE, see docs)
# Fix virt-manager to not encode incorrect device types like 'ide'
+
# virt-manager support
#* https://bugzilla.redhat.com/show_bug.cgi?id=806105
+
#* Basic setup support (DONE, see docs)
# Consider qemu virtio-mmio for improved performance: https://lists.nongnu.org/archive/html/qemu-devel/2013-06/msg04920.html
+
#* Improve the 'Create VM' wizard to handle the ARM case better (DONE)
# Optionally identify any UI defaults that can be improved to handle this case
+
# TODO: Figure out how to actually install a new ARM VM and not depend on pre-installed images.
 +
# TODO: Figure out why graphical setup is busted
  
* Other developers: N/A (not a System Wide Change)
 
* Release engineering: N/A (not a System Wide Change)
 
* Policies and guidelines: N/A (not a System Wide Change)
 
  
 
== Upgrade/compatibility impact ==
 
== Upgrade/compatibility impact ==
Line 63: Line 60:
 
== How To Test ==
 
== How To Test ==
 
<!-- N/A (not a System Wide Change) -->
 
<!-- N/A (not a System Wide Change) -->
TBD when work is testable.
+
https://fedoraproject.org/wiki/QA:Testcase_Virt_ARM_on_x86
  
 
== User Experience ==
 
== User Experience ==
Line 77: Line 74:
  
 
== Documentation ==
 
== Documentation ==
<!-- N/A (not a System Wide Change)  -->
+
Example of how to kick off a guest: https://fedoraproject.org/wiki/QA:Testcase_Virt_x86_on_ARM
* https://fedoraproject.org/wiki/Architectures/ARM/HowToQemu#Using_QEMU_with_libvirt
 
* XXX: Should blog about this when it's testable
 
  
 
== Release Notes ==
 
== Release Notes ==

Latest revision as of 15:50, 10 February 2014

ARM on x86 with libvirt/virt-manager

Summary

Fix running ARM VMs on x86 hosts using standard libvirt tools libvirt virsh, virt-manager and virt-install.

Owner

Current status

Detailed Description

qemu has an ARM emulator that works well and is actively used in the Fedora ARM effort. However libvirt and virt-manager currently have issues launching qemu-system-arm VMs, mostly by encoding x86 assumptions in the generated command line that cause qemu-system-arm to fail to start. Let's fix it!

Benefit to Fedora

  • ARM developers can now use virt-manager/libvirt to manage ARM VMs without having to hack around it
  • Fedora QA can use standard tools to test ARM in its bid for Primary Architecture
  • Packagers who want to do ARM work can use standard virt tools to run ARM VMs.
  • Enthusiasts who want to try out the Fedora ARM spin can use standard tools to try it in a VM.

Scope

  • Proposal owners:
  1. Fix issues in libvirt with generating qemu-system-arm command lines:
    • Fix launching vexpress-a9 (DONE)
    • Support virtio-mmio to enable virtio for vexpress (DONE)
    • TODO: vexpress-a15 support? need to figure out the correct qemu+fedora incantation
  2. virt-install support (DONE, see docs)
  3. virt-manager support
    • Basic setup support (DONE, see docs)
    • Improve the 'Create VM' wizard to handle the ARM case better (DONE)
  4. TODO: Figure out how to actually install a new ARM VM and not depend on pre-installed images.
  5. TODO: Figure out why graphical setup is busted


Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

https://fedoraproject.org/wiki/QA:Testcase_Virt_ARM_on_x86

User Experience

N/A (not a System Wide Change)

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change)

Documentation

Example of how to kick off a guest: https://fedoraproject.org/wiki/QA:Testcase_Virt_x86_on_ARM

Release Notes

ARM VMs can now be run on x86 hosts using standard libvirt tools like virsh, virt-manager, and virt-install.