* [Qemu-devel] Upstream Qemu With Xen configuration problem
@ 2011-07-07 17:17 Daniel Castro
2011-07-07 18:29 ` John Baboval
2011-07-08 7:38 ` Daniel Castro
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Castro @ 2011-07-07 17:17 UTC (permalink / raw)
To: xen-devel, qemu-devel
Greetings,
I am trying to configure Xen4.2 unstable with upstream qemu. I am
running on a small problem when running the configuration of qemu,
Qemu Config can not find Xen. I have debugged the Configuration script
and the temp c file that qemu uses to detect xen version are returning
empty string, hence the config script can tell xen version. Xen with
staging branch works fine.
My configure call is as follows:
./configure --enable-xen --target-list=i386-softmmu
--extra-cflags="-I/usr/src/xen-unstable.hg/dist/install/usr/include"
--extra-ldflags="-L/usr/src/xen-unstable.hg/dist/install/usr/lib"
--enable-debug
The contents of /usr/src/xen-unstable.hg/dist/install/usr/include are:
blktaplib.h libxl.h temp.c xenguest.h xs_lib.h
fsimage_grub.h _libxl_types.h xen xenstat.h
fsimage.h libxl_utils.h xenctrl.h xentoollog.h
fsimage_plugin.h libxl_uuid.h xenctrlosdep.h xs.h
The contents of /usr/src/xen-unstable.hg/dist/install/usr/lib are:
python2.7 xen
Qemu is on master branch 744d3644181ddb16ef5944a0f9217e46961c8c84
"pxa2xx_lcd: add proper rotation support"
Xen is on unstable branch 23608:2f63562df1c4 "libxl: Do not SEGV when
no 'removable' disk parameter in xenstore"
I can change xen changeset freely, but I can not change qemu changeset
since I need some features present in qemu.
Any help, or pointers are greatly appreciated.
Thanks for your time,
Daniel
--
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| | | Daniel Castro, |
| | | Consultant/Programmer.|
| | | U Andes |
+-------------------------------------+
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Upstream Qemu With Xen configuration problem
2011-07-07 17:17 [Qemu-devel] Upstream Qemu With Xen configuration problem Daniel Castro
@ 2011-07-07 18:29 ` John Baboval
2011-07-08 7:38 ` Daniel Castro
1 sibling, 0 replies; 3+ messages in thread
From: John Baboval @ 2011-07-07 18:29 UTC (permalink / raw)
To: qemu-devel
I find I have to point at the src directories, and not the dist
directory. My extra-cflags looks something like this:
--extra-cflags=-I /path/to/xen/tools/include -L /path/to/xen/tools/libxc
-I /path/to/xen/tools/libxc -L /path/to/xen/tools/xenstore -I
/path/to/xen/tools/xenstore'
-John
On 07/07/2011 01:17 PM, Daniel Castro wrote:
> Greetings,
>
> I am trying to configure Xen4.2 unstable with upstream qemu. I am
> running on a small problem when running the configuration of qemu,
> Qemu Config can not find Xen. I have debugged the Configuration script
> and the temp c file that qemu uses to detect xen version are returning
> empty string, hence the config script can tell xen version. Xen with
> staging branch works fine.
> My configure call is as follows:
> ./configure --enable-xen --target-list=i386-softmmu
> --extra-cflags="-I/usr/src/xen-unstable.hg/dist/install/usr/include"
> --extra-ldflags="-L/usr/src/xen-unstable.hg/dist/install/usr/lib"
> --enable-debug
>
> The contents of /usr/src/xen-unstable.hg/dist/install/usr/include are:
> blktaplib.h libxl.h temp.c xenguest.h xs_lib.h
> fsimage_grub.h _libxl_types.h xen xenstat.h
> fsimage.h libxl_utils.h xenctrl.h xentoollog.h
> fsimage_plugin.h libxl_uuid.h xenctrlosdep.h xs.h
>
> The contents of /usr/src/xen-unstable.hg/dist/install/usr/lib are:
> python2.7 xen
>
> Qemu is on master branch 744d3644181ddb16ef5944a0f9217e46961c8c84
> "pxa2xx_lcd: add proper rotation support"
> Xen is on unstable branch 23608:2f63562df1c4 "libxl: Do not SEGV when
> no 'removable' disk parameter in xenstore"
>
> I can change xen changeset freely, but I can not change qemu changeset
> since I need some features present in qemu.
>
> Any help, or pointers are greatly appreciated.
>
> Thanks for your time,
>
> Daniel
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Upstream Qemu With Xen configuration problem
2011-07-07 17:17 [Qemu-devel] Upstream Qemu With Xen configuration problem Daniel Castro
2011-07-07 18:29 ` John Baboval
@ 2011-07-08 7:38 ` Daniel Castro
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Castro @ 2011-07-08 7:38 UTC (permalink / raw)
To: xen-devel, qemu-devel
> Date: Thu, 07 Jul 2011 14:29:43 -0400
> From: John Baboval <john.baboval@virtualcomputer.com>
> To: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] Upstream Qemu With Xen configuration problem
> Message-ID: <4E15FB17.3030803@virtualcomputer.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I find I have to point at the src directories, and not the dist
> directory. My extra-cflags looks something like this:
>
> --extra-cflags=-I /path/to/xen/tools/include -L /path/to/xen/tools/libxc
> -I /path/to/xen/tools/libxc -L /path/to/xen/tools/xenstore -I
> /path/to/xen/tools/xenstore'
Thanks John, that helped, I also found out that somehow I am missing
the file xc_e820.h from /usr/include I had to manually copy it to that
location and all is working now.
> -John
> On 07/07/2011 01:17 PM, Daniel Castro wrote:
> > Greetings,
> >
> > I am trying to configure Xen4.2 unstable with upstream qemu. I am
> > running on a small problem when running the configuration of qemu,
> > Qemu Config can not find Xen. I have debugged the Configuration script
> > and the temp c file that qemu uses to detect xen version are returning
> > empty string, hence the config script can tell xen version. Xen with
> > staging branch works fine.
> > My configure call is as follows:
> > ./configure --enable-xen --target-list=i386-softmmu
> > --extra-cflags="-I/usr/src/xen-unstable.hg/dist/install/usr/include"
> > --extra-ldflags="-L/usr/src/xen-unstable.hg/dist/install/usr/lib"
> > --enable-debug
> >
> > The contents of /usr/src/xen-unstable.hg/dist/install/usr/include are:
> > blktaplib.h libxl.h temp.c xenguest.h xs_lib.h
> > fsimage_grub.h _libxl_types.h xen xenstat.h
> > fsimage.h libxl_utils.h xenctrl.h xentoollog.h
> > fsimage_plugin.h libxl_uuid.h xenctrlosdep.h xs.h
> >
> > The contents of /usr/src/xen-unstable.hg/dist/install/usr/lib are:
> > python2.7 xen
> >
> > Qemu is on master branch 744d3644181ddb16ef5944a0f9217e46961c8c84
> > "pxa2xx_lcd: add proper rotation support"
> > Xen is on unstable branch 23608:2f63562df1c4 "libxl: Do not SEGV when
> > no 'removable' disk parameter in xenstore"
> >
> > I can change xen changeset freely, but I can not change qemu changeset
> > since I need some features present in qemu.
> >
> > Any help, or pointers are greatly appreciated.
> >
> > Thanks for your time,
> >
> > Daniel
> >
> >
> >
> >
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-08 7:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 17:17 [Qemu-devel] Upstream Qemu With Xen configuration problem Daniel Castro
2011-07-07 18:29 ` John Baboval
2011-07-08 7:38 ` Daniel Castro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).