Re: [libvirt] libvirt arch detection on x86_64 host

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

 



Gerry Reno schrieb:

I have a 64-bit host that is running a 32-bit OS (Fedora 10).
(...)
# virsh nodeinfo
CPU model:           i686
(...)
Shouldn't the host arch have been detected and identified as x86_64?


Regards,
Gerry

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

As stated by you in the beginning: You are running a 32-bit OS.
You can't have more bit than the OS is providing you.
/usr/bin/qemu-system-x86_64 alwas shows x86_64, even on my Core Duo.

[root@rr016 kvm]# virsh -c qemu+ssh://192.168.1.103/system capabilities
<capabilities>

 <host>
   <cpu>
     <arch>i686</arch>
   </cpu>
 </host>

 <guest>
   <os_type>hvm</os_type>
   <arch name='i686'>
     <wordsize>32</wordsize>
     <emulator>/usr/bin/qemu</emulator>
     <machine>pc</machine>
     <machine>isapc</machine>
     <domain type='qemu'>
     </domain>
     <domain type='kvm'>
       <emulator>/usr/bin/kvm</emulator>
     </domain>
   </arch>
   <features>
     <pae/>
     <nonpae/>
     <acpi default='on' toggle='yes'/>
     <apic default='on' toggle='no'/>
   </features>
 </guest>

 <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='qemu'>
     </domain>
   </arch>
   <features>
     <acpi default='on' toggle='yes'/>
     <apic default='on' toggle='no'/>
   </features>
 </guest>
(...)
</capabilities>

[root@rr016 kvm]# ssh 192.168.1.103 'grep "model name" /proc/cpuinfo'
Enter passphrase for key '/root/.ssh/id_rsa':
model name      : Genuine Intel(R) CPU           T2600  @ 2.16GHz
model name      : Genuine Intel(R) CPU           T2600  @ 2.16GHz

--
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]