[libvirt] Re: [virt-tools-list] Questions about virt-manager running on Arch of Itanium 64
crobinso at redhat.com
Mon Nov 23 16:09:28 UTC 2009
On 11/23/2009 01:43 AM, Dustin Xiong wrote:
> Date: Fri, 20 Nov 2009 08:14:09 -0500, cole wrote:
>> cc-ing libvirt-list
>> >>> My cpu is itanium 64, the OS is RHEL.The libvirt is 0.6.3,
>> >>> is 0.6.1.
>> Ah, are you using the version of libvirt that comes with RHEL 5.4? That
>> version has been patched to only look for the qemu-kvm binary in one
>> spot: /usr/libexec/qemu-kvm IIRC. You could try to work with that! , but
>> since you are already building upstream KVM, vir! t-manage r, and
>> might not be a bad idea to pull upstream libvirt as well.
> yes, my libvirt rpm and other related rpms all came from the RHEL 5.4
> iso. And they all build for itanium 64
> # rpm -qa | grep libvirt
> And i try to make a link, it still doesn't work.
> ln -s /usr/local/bin/qemu-system-ia64 /usr/libexec/qemu-system-ia64
Actually I think that destination needs to be /usr/libexec/qemu-kvm, not
qemu-system-ia64. And looking at the rhel5 code, this can also be
>> >>> Once i tried to compile the virt-manager-0.8.0, but when i make check,
>> >>> it returns:
>> >>> PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py && touch
>> >>> .tstamp.addhardware.py
>> >>> Traceback (mos! t recent call last):
>> >>> File "addhardware.py", line 32, in ?
>> >>> from virtinst import VirtualCharDevice, VirtualDevice,
>> >>> VirtualVideoDevice
>> &g! t;>>
>> >>> when i rpm -ivh virt-manager-0.6.1-8.el5.ia64.rpm, it could work.
>> >>> I don't know why this error occur. Can anyone be kind to tell me how?
>> >>> thanks a lot.
>> >> You will also need to install the latest version of virtinst, found at:
>> >> http://virt-manager.org/download.html
>> > I downloaded and compiled the latest version of virtinst:
>> > then compile the virt-manager-0.8.0, error changed as below:
>> > [root at kvm virt-manager-0.8.0]# make check
>> > Making check in src
>> > make: Entering directory
>> > Making check in virtManager
>> > make: Entering directory
>> > make ch! eck-local
>> > make: Entering directory `/home/dust! in/virt-
>> > PYTHONPATH=./..:../graphWidgets/.libs python about.py && touch
>> > PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py && touch
>> > Traceback (most recent call last):
>> > File "addhardware.py", line 35, in ?
>> > from virtManager.asyncjob import vmmAsyncJob
>> > File
> line 30, in ?
>> > class vmmAsyncJob(gobject.GObject):
>> > File
> line 40, in vmmAsyncJob
>> > def __init__(self, config, callback, args=None,
>> > NameError: name '_' is not defined
>> > Thanks for help.If you need any further infos please dont't hesitate
> to tell me.
>> Ah, didn't notice the make check! in the first mail. 'make check' doesn't
>> work in the virt-manager code base, never taken the time to fix it. You
>> should just be able to 'make && make install', or 'make' and python
>> src/virt-manager.py to run from the source dir. If running virt-manager
>> then throws an error, report here and Ill try to help.
> After make install, when i run virt-manager, the error is:
> starting the virt-manager error: 'gtk.TreeView' object has no attribute
> raceback (most recent call last):
> File "/usr/local/share/virt-manager/virt-manager.py", line 377, in ?
> File "/usr/local/share/virt-manager/virt-manager.py", line 364, in main
> File "/usr/local/share/virt-manager/virt-manager.py", line 237, in
> File "/usr/local/share/virt-man! ager/virtManager/engine.py", line
> 365, in show_manager
> &nbs! p; self.get_manager().show()
> File "/usr/local/share/virt-manager/virtManager/engine.py", line 342,
> in get_manager
> self.windowManager = vmmManager(self.get_config(), self)
> File "/usr/local/share/virt-manager/virtManager/manager.py", line 167,
> in __init__
> File "/usr/local/share/virt-manager/virtManager/manager.py", line 826,
> in prepare_vmlist
> AttributeError: 'gtk.TreeView' object has no attribute
Hmm, looks like set_level_indentation isn't supported on RHEL5. Strange though
since I've had other reports of people using latest virt-manager on RHEL5.
I'll take a look
More information about the libvir-list