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

Re: [libvirt] libvirt arch detection on x86_64 host



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 redhat com
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


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