<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
 Date: Fri, 20 Nov 2009 08:14:09 -0500, cole wrote:<br>> <br>> cc-ing libvirt-list<br>> <br>> On 11/19/2009 10:35 PM, Dustin Xiong wrote:<br>> > <br>> > <br>> >>> Hi everyone!<br>> >>> I am a newer to the virt-manager and maillist. I sent the mail just want<br>> >>> to ask some questions about virt-manager running on Arch of Itanium 64.<br>> >>> My itanium 64 cpu actualy support the VT. I compiled the kvm85<br>> >>> successful. Then I can use the binary /usr/local/bin/qemu-system-ia64 to<br>> >>> create a vm and running. But in my /proc/cpuinfo , there doesn't have<br>> >>> flags such as vmx or svm. So when I use the virt-manager to install a<br>> >>> vm, the virt-manager will tell me my cpu doesn't support fully<br>> >>> virtualization, then I can't install vm. In fact I can't get understand<br>> >>> how the virt-manager find m!
 y cpu support the fully virtualization or<br>> >>> not.In src, which file implements this.<br>> >>><br>> >><br>> >> Just because qemu-kvm works doesn't mean virt is working on your box, since it<br>> >> can fall back to full emulation mode. If you are trying to use kvm, is the kvm<br>> >> module actually loaded? lsmod | grep kvm<br>> > <br>> > My kvm mod actually loaded. <br>> > <br>> > [root@kvm bin]# lsmod | grep kvm<br>> > <br>> > kvm_intel             306104  4294967281 <br>> > <br>> > kvm                   327544  1 kvm_intel<br>> > <br>> > <br>> > <br>> > [root@kvm bin]# modinfo kvm<br>> > <br>> > filename:       /lib/modules/2.6.28.9hzp/extra/kvm.ko<br>> > <br>> > license:        GPL<br>> > <br>> > author:         Qumranet<br>> > <br>> > version:        kvm-85<br>> > <br>> > src!
 version:     C399DD2D9B40BAAC05CD509<br>> > <br>> &gt!
 ; depend
s:        <br>> > <br>> > vermagic:       2.6.28.9hzp SMP mod_unload modversions ia64gcc-4.1<br>> > <br>> >> If so, libvirt may need to be fixed. What's the output of 'virsh --connect<br>> >> qemu:///system capabilities'<br>> > <br>> > [root@kvm bin]# virsh --connect qemu:///system capabilities<br>> > <capabilities><br>> > <br>> >   <host><br>> >     <cpu><br>> >       <arch>ia64</arch><br>> >     </cpu><br>> >     <topology><br>> >       <cells num='1'><br>> >         <cell id='0'><br>> >           <cpus num='16'><br>> >             <cpu id='0'/><br>> >             <cpu id='1'/><br>> >             <cpu id='2'/><br>> >             <cpu id='3'/><br>> >             <cpu id='4'/><br>> >             <cpu id='5'/><br>> >             <c!
 pu id='6'/><br>> >             <cpu id='7'/><br>> >             <cpu id='8'/><br>> >             <cpu id='9'/><br>> >             <cpu id='10'/><br>> >             <cpu id='11'/><br>> >             <cpu id='12'/><br>> >             <cpu id='13'/><br>> >             <cpu id='14'/><br>> >             <cpu id='15'/><br>> >           </cpus><br>> >         </cell><br>> >       </cells><br>> >     </topology><br>> >   </host><br>> >  <br>> > <br>> >>> My cpu is itanium 64, the OS is RHEL.The libvirt is 0.6.3, virt-manager<br>> >>> is 0.6.1.<br>> <br>> Ah, are you using the version of libvirt that comes with RHEL 5.4? That<br>> version has been patched to only look for the qemu-kvm binary in one<br>> spot: /usr/libexec/qemu-kvm IIRC. You could try to work with that!
 , but<br>> since you are already building upstream KVM, vir!
 t-manage
r, and virtinst,<br>> might not be a bad idea to pull upstream libvirt as well.<br>> <br><br>yes, my libvirt rpm and other related rpms all came from the RHEL 5.4 iso. And they all build for itanium 64<br># rpm -qa | grep libvirt<br>libvirt-python-0.6.3-20.el5<br>libvirt-devel-0.6.3-20.el5<br>libvirt-0.6.3-20.el5<br><br>And i try to make a link, it still doesn't work.<br>ln -s /usr/local/bin/qemu-system-ia64 /usr/libexec/qemu-system-ia64<br><br>> >>> Once i tried to compile the virt-manager-0.8.0, but when i make check,<br>> >>> it returns:<br>> >>><br>> >>> PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py  && touch<br>> >>> .tstamp.addhardware.py<br>> >>> Traceback (mos! t recent call last):<br>> >>>   File "addhardware.py", line 32, in ?<br>> >>>     from virtinst import VirtualCharDevice, VirtualDevice,<br>> >>> VirtualVideoDevice<br>> &g!
 t;>><br>> >>> when i rpm -ivh virt-manager-0.6.1-8.el5.ia64.rpm, it could work.<br>> >>><br>> >>> I don't know why this error occur. Can anyone be kind to tell me how?<br>> >>> thanks a lot.<br>> >>><br>> >><br>> >> You will also need to install the latest version of virtinst, found at:<br>> >><br>> >> http://virt-manager.org/download.html<br>> > <br>> > I downloaded and compiled the latest version of virtinst: virtinst-0.500.0.tar.gz.<br>> > then compile the virt-manager-0.8.0, error changed as below:<br>> > <br>> > [root@kvm virt-manager-0.8.0]# make check<br>> > Making check in src<br>> > make[1]: Entering directory `/home/dustin/virt-manager/virt-manager-0.8.0/src'<br>> > Making check in virtManager<br>> > make[2]: Entering directory `/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager'<br>> > make  ch!
 eck-local<br>> > make[3]: Entering directory `/home/dust!
 in/virt-
manager/virt-manager-0.8.0/src/virtManager'<br>> > PYTHONPATH=./..:../graphWidgets/.libs python about.py  && touch .tstamp.about.py<br>> > PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py  && touch .tstamp.addhardware.py<br>> > Traceback (most recent call last):<br>> >   File "addhardware.py", line 35, in ?<br>> >     from virtManager.asyncjob import vmmAsyncJob<br>> >   File "/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager/asyncjob.py", line 30, in ?<br>> >     class vmmAsyncJob(gobject.GObject):<br>> >   File "/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager/asyncjob.py", line 40, in vmmAsyncJob<br>> >     def __init__(self, config, callback, args=None,<br>> > NameError: name '_' is not defined<br>> > <br>> > Thanks for help.If you need any further infos please dont't hesitate to tell me.<br>> > <br>> <br>> Ah, didn't notice the make check!
  in the first mail. 'make check' doesn't<br>> work in the virt-manager code base, never taken the time to fix it. You<br>> should just be able to 'make && make install', or 'make' and python<br>> src/virt-manager.py to run from the source dir. If running virt-manager<br>> then throws an error, report here and Ill try to help.<br>> <br><br>After make install, when i run virt-manager, the error is: <br><br>starting the virt-manager error: 'gtk.TreeView' object has no attribute 'set_level_indentation'<br><br>Details:<br>raceback (most recent call last):<br>  File "/usr/local/share/virt-manager/virt-manager.py", line 377, in ?<br>    main()<br>  File "/usr/local/share/virt-manager/virt-manager.py", line 364, in main<br>    options.no_conn_auto)<br>  File "/usr/local/share/virt-manager/virt-manager.py", line 237, in show_engine<br>    engine.show_manager()<br>  File "/usr/local/share/virt-man!
 ager/virtManager/engine.py", line 365, in show_manager<br>&nbs!
 p; 
  self.get_manager().show()<br>  File "/usr/local/share/virt-manager/virtManager/engine.py", line 342, in get_manager<br>    self.windowManager = vmmManager(self.get_config(), self)<br>  File "/usr/local/share/virt-manager/virtManager/manager.py", line 167, in __init__<br>    self.prepare_vmlist()<br>  File "/usr/local/share/virt-manager/virtManager/manager.py", line 826, in prepare_vmlist<br>    vmlist.set_level_indentation(-15)<br>AttributeError: 'gtk.TreeView' object has no attribute 'set_level_indentation'<br><br>thanks a lot<br><br>- dustin<br>                                        <br /><hr />Keep your friends updated¡ª <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010' target='_new'>even when you¡¯re not signed in.</a></body>
</html>