Re: [libvirt] "type 'hvm' & arch 'i686' combination is not supported" error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 25, 2009 at 02:17:29PM +0100, Frederik Himpe wrote:
> On Wed, Feb 25, 2009 at 12:39:30PM +0000, Daniel P. Berrange wrote:
> > > <capabilities>
> > > 
> > >   <host>
> > >     <cpu>
> > >       <arch>x86_64</arch>
> > >     </cpu>
> > >   </host>
> > > 
> > >   <guest>
> > >     <os_type>hvm</os_type>
> > >     <arch name='x86_64'>
> > >       <wordsize>64</wordsize>
> > >       <emulator>/usr/bin/qemu-system-x86_64</emulator>
> > >       <machine>pc</machine>
> > >       <machine>isapc</machine>
> > >       <domain type='kvm'>
> > >         <emulator>/usr/bin/qemu-kvm</emulator>
> > >       </domain>
> > >     </arch>
> > >     <features>
> > >       <acpi default='on' toggle='yes'/>
> > >       <apic default='on' toggle='no'/>
> > >     </features>
> > >   </guest>
> > > 
> > > </capabilities>
> > 
> > This shows you haven't got the 32-bit emulator /usr/bin/qemu installed
> > which is why its not recognising the i686 arch as valid.
> 
> In the past, I have always had KVM installed and not qemu, and this 
> sufficed to configure i686 hosts with virt-manager and run them.
> So now it seems I need to change either i686 to x86_64 in the
> configuration files, either I need to have plain qemu installed. Why is
> this needed now?

Actually, installing qemu breaks running x86_64 hosts. virt-manager only
gives "internal error starting the virtual machine" or something like
that. Could it be that libvirt expects kvm and qemu executables to be
named differently then they are on Mandriva?

Actually I'm even suprised by the above capabilities output when I only
had kvm installed: there was not even a /usr/bin/qemu-system-x86_64
binary on my system when I ran that command.

$ rpm -q --filesbypkg kvm qemu | grep bin
kvm                       /usr/bin/kvm
kvm                       /usr/bin/kvmctl
kvm                       /usr/bin/kvmtrace
kvm                       /usr/bin/kvmtrace_format
kvm                       /usr/bin/qemu-kvm
kvm                       /usr/share/kvm/bios.bin
kvm                       /usr/share/kvm/extboot.bin
kvm                       /usr/share/kvm/pxe-e1000.bin
kvm                       /usr/share/kvm/pxe-ne2k_pci.bin
kvm                       /usr/share/kvm/pxe-pcnet.bin
kvm                       /usr/share/kvm/pxe-rtl8139.bin
kvm                       /usr/share/kvm/vgabios-cirrus.bin
kvm                       /usr/share/kvm/vgabios.bin
qemu                      /usr/bin/qemu
qemu                      /usr/bin/qemu-alpha
qemu                      /usr/bin/qemu-arm
qemu                      /usr/bin/qemu-armeb
qemu                      /usr/bin/qemu-cris
qemu                      /usr/bin/qemu-i386
qemu                      /usr/bin/qemu-m68k
qemu                      /usr/bin/qemu-mips
qemu                      /usr/bin/qemu-mipsel
qemu                      /usr/bin/qemu-nbd
qemu                      /usr/bin/qemu-sh4
qemu                      /usr/bin/qemu-sh4eb
qemu                      /usr/bin/qemu-sparc
qemu                      /usr/bin/qemu-sparc32plus
qemu                      /usr/bin/qemu-sparc64
qemu                      /usr/bin/qemu-system-arm
qemu                      /usr/bin/qemu-system-cris
qemu                      /usr/bin/qemu-system-i386
qemu                      /usr/bin/qemu-system-m68k
qemu                      /usr/bin/qemu-system-mips
qemu                      /usr/bin/qemu-system-mips64
qemu                      /usr/bin/qemu-system-mips64el
qemu                      /usr/bin/qemu-system-mipsel
qemu                      /usr/bin/qemu-system-sh4
qemu                      /usr/bin/qemu-system-sh4eb
qemu                      /usr/bin/qemu-system-sparc
qemu                      /usr/bin/qemu-system-x86_64
qemu                      /usr/bin/qemu-x86_64
qemu                      /usr/share/qemu/bios.bin
qemu                      /usr/share/qemu/ppc_rom.bin
qemu                      /usr/share/qemu/pxe-e1000.bin
qemu                      /usr/share/qemu/pxe-ne2k_pci.bin
qemu                      /usr/share/qemu/pxe-pcnet.bin
qemu                      /usr/share/qemu/pxe-rtl8139.bin
qemu                      /usr/share/qemu/vgabios-cirrus.bin
qemu                      /usr/share/qemu/vgabios.bin

-- 
Frederik Himpe

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]