After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720800 - Unable to set the correct architecture
Unable to set the correct architecture
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal major
: 3.22
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-12-20 02:05 UTC by Balló György
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vm-configurator: Ensure we use best architecture (1.72 KB, patch)
2013-12-20 19:51 UTC, Zeeshan Ali
committed Details | Review

Description Balló György 2013-12-20 02:05:58 UTC
On my system, when I boot an ISO disk image with GNOME Boxes, and the disk is unknown by libosinfo, GNOME Boxes always launch the 'qemu-system-i386' command, which unable to start a 64 bit kernel, and fails to run the guest system. When I run 'qemu-system-x86_64' with the same parameters, the guest system runs correctly.

It can be reproduced by launching an Arch Linux dual ISO image, and start the 64 bit system:
archlinux-2013.12.01-dual.iso

My real CPU is an Intel Sandy Bridge Mobile processor:
Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz

Package versions:
spice 0.12.4
qemu 1.7.0
libvirt 1.2.0
libvirt-glib 0.1.7
libosinfo 0.2.9
spice-gtk3 0.22
gnome-boxes 3.10.2

Distribution:
Arch Linux
Comment 1 Zeeshan Ali 2013-12-20 18:51:11 UTC
Thats weird. Can you please provide the output of `virsh capabilities`? In the meantime I'll try to reproduce here.
Comment 2 Zeeshan Ali 2013-12-20 18:56:12 UTC
(In reply to comment #1)
> Thats weird. Can you please provide the output of `virsh capabilities`? In the
> meantime I'll try to reproduce here.

Ah i can reproduce it here so don't bother. :)
Comment 3 Zeeshan Ali 2013-12-20 19:51:01 UTC
Created attachment 264644 [details] [review]
vm-configurator: Ensure we use best architecture

This fixes the issue of Boxes picking-up 'i686' architecture if
architecture of installer media is unknown. Boxes will now pick 'x86_64'
in such situation.
Comment 4 Zeeshan Ali 2013-12-20 19:51:35 UTC
Attachment 264644 [details] pushed as 39c8b55 - vm-configurator: Ensure we use best architecture