Bug 794832 - No way to configure OS type for ARM?
Summary: No way to configure OS type for ARM?
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-17 18:18 UTC by Marti Raudsepp
Modified: 2012-03-04 20:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-04 20:36:13 UTC


Attachments (Terms of Use)
capabilities.xml (2.79 KB, text/plain)
2012-02-21 11:28 UTC, Marti Raudsepp
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.