From: Ian Murray <murrayie@yahoo.co.uk>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Alex Bligh <alex@alex.org.uk>,
xen-devel@lists.xen.org
Subject: Re: Problem starting HVM guest in Xen 4.3 RC6 when NOT using device_model_version="qemu-xen-traditional"
Date: Sat, 29 Jun 2013 22:07:16 +0100 [thread overview]
Message-ID: <51CF4C84.7050406@yahoo.co.uk> (raw)
In-Reply-To: <1559303876.20130629223447@eikelenboom.it>
When you are working with an old xen clone it seems you also have the change running an old(er) qemu since it doesn't seem to be auto updated to the commit id from the Config.mk
>> I am not quite following your logic here. Without understanding how it
>> actually does it, I would presume the logical thing to do is to bring
>> the repository up to date then checkout the specified commit. This
>> wouldn't necessarily be the latest commit as you may wish to go back in
>> time. OTH if it can't checkout the required commit IMHO it should be a
>> fatal situation because you can end-up in an unknown state (like I did).
>> Maybe I am misunderstanding what is at work here
> Yes it's not very ideal. Since the xen build depends on other git trees (seabios, qemu) and these are pulled automatically on the first build after a clone.
> It's not strange to assume that these trees also get updates automatically when you update you local xen tree. But it seems to be not a valid assumption :-)
>
> Don't know if it is easy to fix, because it could interfere with the workflow of active developers/maintainers i guess.
It seems as if a 'make distclean' removes these repositories whereas
make clean doesn't. I think you alluded to this earlier, but I didn't
pick up on at the time. Once I did a 'make distclean', my original
repository re-cloned what it needed and all was good. I had been using
'make clean'.
The cloning code is in a script:-
#!/bin/sh
if test $# -lt 3; then
echo "Usage: $0 <tree> <tag> <dir>"
exit 1
fi
TREE=$1
TAG=$2
DIR=$3
set -e
if test \! -d $DIR-remote; then
rm -rf $DIR-remote $DIR-remote.tmp
mkdir $DIR-remote.tmp; rmdir $DIR-remote.tmp
$GIT clone $TREE $DIR-remote.tmp
if test "$TAG" ; then
cd $DIR-remote.tmp
$GIT branch -D dummy >/dev/null 2>&1 ||:
$GIT checkout -b dummy $TAG
cd ..
fi
mv $DIR-remote.tmp $DIR-remote
fi
rm -f $DIR
ln -sf $DIR-remote $DIR
As far as I can tell does not much if the folder is already there :(
>
>>>> I think I will make a new clone of Xen.
>>> A fresh clone should fix that up since that also pulls a fresh qemu tree in.
>> Which it did. Thanks again
> So after a fresh clone and build of the xen tree your hvm guests now boots without problem ?
Yes, that is exactly it. A "make distclean" on my old one also yielded
success.
Thanks again for your assistance. A credit to community. :)
>
>>>> Thanks for all your help.
>
>
next prev parent reply other threads:[~2013-06-29 21:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-29 1:33 Problem starting HVM guest in Xen 4.3 RC6 when NOT using device_model_version="qemu-xen-traditional" Ian Murray
2013-06-29 8:35 ` Alex Bligh
2013-06-29 10:49 ` Ian Murray
2013-06-29 11:33 ` Ian Murray
2013-06-29 12:36 ` Sander Eikelenboom
2013-06-29 12:47 ` Ian Murray
2013-06-29 13:13 ` Sander Eikelenboom
2013-06-29 14:33 ` Ian Murray
2013-06-29 14:40 ` Sander Eikelenboom
2013-06-29 16:45 ` Ian Murray
2013-06-29 20:34 ` Sander Eikelenboom
2013-06-29 21:07 ` Ian Murray [this message]
2013-07-01 8:35 ` Ian Campbell
2013-07-01 12:26 ` Ian Murray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51CF4C84.7050406@yahoo.co.uk \
--to=murrayie@yahoo.co.uk \
--cc=Ian.Campbell@citrix.com \
--cc=alex@alex.org.uk \
--cc=linux@eikelenboom.it \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.