On Tue, Oct 30, 2012 at 4:50 PM, rainmaker <
hch...@gmail.com> wrote:
> Hi, thank for your reply.
> I tried it again on Fedora 8(64bit) like your environment.
> But I encounter another problem.
> The error message is
>
> make[4]: Entering directory
> `/usr/src/spice4xen.0.1/tools/ioemu-qemu-xen/i386-dm'
> LINK i386-dm/qemu-dm
> ../libqemu_common.a(spice-core.o): In function `qemu_spice_add_interface':
> /usr/src/spice4xen.0.1/tools/ioemu-qemu-xen/ui/spice-core.c:569: undefined
> reference to `spice_server_new'
> /usr/src/spice4xen.0.1/tools/ioemu-qemu-xen/ui/spice-core.c:570: undefined
> reference to `spice_server_init'
> ../libqemu_common.a(spice-core.o): In function `qemu_spice_init':
> /usr/src/spice4xen.0.1/tools/ioemu-qemu-xen/ui/spice-core.c:460: undefined
> reference to `spice_server_new'
> /usr/src/spice4xen.0.1/tools/ioemu-qemu-xen/ui/spice-core.c:461: undefined
> reference to `spice_server_set_addr'
> ...
>
> I've tried to find the same issue on web, but few articles.
> Do you happen to know this issue?
It seems, the linker didn't find the libspice-server, it should exists
in "/usr/local/spice-xen/lib"
> And I tried it on CentOS 6.3(64bit). The build process seems like success.
> :)
>
> I read wiki on spice4xen web.
> "1. Build and install" process was successful on CentOS 6.3
> But after build, I don't know how to use it.
> I used SPICE on KVM with virt-manager. It's simple to use.
> Does spice4xen also use with virt-manager like KVM-SPICE?
Use xm, which is Xen's tool, but will be replaced by xl.
> If it is possible, how should I do?
> Please let me know detail reference or method to work spice4xen builded.
> Compiled spice4xen kernel also doesn't show on /etc/grub.conf.
> I'm not professional about this. Please help me.
>
> Thank you in advance.
>
>
>> Hi Daniel,
It should work on CentOS, we tested on centos 5.6 before.
Steps:
* mkinitrd an initrd-2.6.18-xen.img
* Add a boot option for Xen in /etc/grub.conf
You can refer to your centos 6.3 boot option.
title Xen 4.0.1
root (hd0,x)
kernel /xen-4.0.1.gz
module /vmlinuz-2.6.18-xen ro root=LABEL=/ rhgb quiet
module /initrd-2.6.18-xen.img
* xend start
* Then you can refer wiki/README_spice to create a VM, and access it
with spice client.
Before access the VM, you can run 'xm list' to check if the vm exists.
The network driver of Linux 2.6.18 may not support your NIC,
if so, you need to find and build the driver from the source.
At last, I suggest to use Xen 4.2, which supports Spice now.
--
Zhou Peng