On 01/07/2010 11:53 PM, Dustin Xiong wrote:
> Date: Thu, 7 Jan 2010 09:15:32 -0500
> From: crobinso(a)redhat.com
> To: x_k_123(a)hotmail.com
> CC: berrange(a)redhat.com; libvirt-list(a)redhat.com
> Subject: Re: [libvirt] [virt-tools-list] Questions about virt-manager running on Arch
of Itanium 64
>
> On 01/07/2010 01:03 AM, Dustin Xiong wrote:
>>
>>
>> I sloved the problem. I modify the libvirt /src/qemu_conf.c. Add the arch ia64
into the
>>
>> static const struct qemu_arch_info const arch_info_hvm[] = {}
>> as berrange said. So the libvirt passing -M ia64.
>>
>> But the kvm binary only experts '-M itanium'.
>>
>> So i replaced the ia64 by itanium in the file /src/qemu_conf.c.
>>
>> Then the virt-manager finally could work on the arch of Itanium.
>>
>>
>>
>> Thank you for your help.
>>
>> Thank you, everyone here.
>>
>>
>> -Dustin
>
> Can you provide a diff of your changes so we can apply it to upstream
> libvirt code?
>
> Thanks,
> Cole
>
OK. But there is a problem. I modify the libvirt-0.6.3-20.el5.ia64.src.rpm(from the
rhel-server-5.4-ia64-source.iso).
The libvirt could work.But when i download the libvirt-0.6.3-20.tar.gz, then ./configure,
make, make install. The libvirt couldn't work. The error as below:
[root@kvm bin]# ./virsh
error: unable to connect to '/usr/local/libvirt/var/run/libvirt/libvirt-sock': No
such file or directory
error: failed to connect to the hypervisor
Then I download the lastest libvirt-0.7.5, make it. The error still remains.
So if you need I provide a diff of my changes about the
libvirt-0.6.3-20.el5.ia64.src.rpm, I am pleasure to do this.
-Dustin
Building an RPM knows the correct location to put all the files, but a
default upstream build will put them into /usr/local which can cause
some problems.
Your original diff should be fine, I'll fix it up to apply against
current upstream.
- Cole