Bug 794832

Summary: No way to configure OS type for ARM?
Product: [Community] Virtualization Tools Reporter: Marti Raudsepp <marti>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-04 20:36:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
capabilities.xml none

Description Marti Raudsepp 2012-02-17 18:18:38 UTC
Description of problem:
I'm trying to get an ARM virtual machine image running within libvirt. The Fedora wiki [1] links to an example domain XML file [2], which reportedly worked in libvirt 0.7.6. But when I try to use the same XML in libvirt 0.8.8, I get the error:
error: internal error os type 'hvm' & arch 'arm' combination is not supported

According to the domain XML documentation [3], "hvm" and "linux" are the two possible values to use inside <type>. Neither of these are accepted with arch=arm, however.

This problem was also reported on the mailing list by someone else, but got no replies [4]

[1] https://fedoraproject.org/wiki/Architectures/ARM/HowToQemu#Using_QEMU_with_libvirt
[2] http://cdot.senecac.on.ca/arm/arm1.xml
[3] http://libvirt.org/formatdomain.html
[4] https://www.redhat.com/archives/libvirt-users/2012-January/msg00036.html

Version-Release number of selected component (if applicable):

Compiled against library: libvir 0.8.8
Using library: libvir 0.8.8
Using API: QEMU 0.8.8
Running hypervisor: QEMU 0.14.0
(Ubuntu 11.04)

How reproducible:
Always

Steps to Reproduce:
1. Create domain
2. Edit and change <type> element to: <type arch="arm" machine="versatileab">hvm</type>

Actual results:
error: internal error os type 'hvm' & arch 'arm' combination is not supported

Expected results:
no error

Comment 1 Cole Robinson 2012-02-20 18:13:13 UTC
Please provide the output of virsh --connect qemu:///system capabilties

Comment 2 Marti Raudsepp 2012-02-21 11:28:18 UTC
Created attachment 564655 [details]
capabilities.xml

Here's the output of capabilities.xml. No hint about ARM, even though I have qemu-arm installed. Is this a bug in Ubuntu's configuration?

Comment 3 Cole Robinson 2012-03-04 20:36:13 UTC
Hmm, I'm guessing so. If qemu-arm is installed but libvirt isn't noticing it, could be an ubuntu specific issue or an old libvirt bug, since that version isn't current. I can't reproduce here on fedora with latest upstream.

I'd recommend filing a bug with ubuntu. Closing as WORKSFORME