From: Ian Murray Subject: Re: Problem starting HVM guest in Xen 4.3 RC6 when NOT using device_model_version="qemu-xen-traditional" Date: Mon, 1 Jul 2013 13:26:58 +0100 (BST) Message-ID: <1372681618.18472.YahooMailNeo@web171304.mail.ir2.yahoo.com> References: <51CE3952.6040704@yahoo.co.uk> <8D86156381FC4D583E0636A5@nimrod.local> <51CEBBC2.3050007@yahoo.co.uk> <51CEC5F2.3030909@yahoo.co.uk> <787625573.20130629143628@eikelenboom.it> <51CED76C.9050201@yahoo.co.uk> <1011217449.20130629151305@eikelenboom.it> <51CEF04D.1000808@yahoo.co.uk> <956778643.20130629164038@eikelenboom.it> <1372667710.14691.23.camel@zakaz.uk.xensource.com> Reply-To: Ian Murray Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372667710.14691.23.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Sander Eikelenboom Cc: Stefano Stabellini , Alex Bligh , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > > You can also run "make tools/qemu-xen-dir-force-update" (simlarly for > tools/qemu-xen-traditional-dir-force-update and > tools/firmware/seabios-dir-force-update). We could really do with a rule > which depends on all of those to force everything to be updated. > > The reason we don't do this automatically is we are wary of destroying > people's local changes/work. A local commit is one thing (you can get it > back from the reflog) but we were more concerned about dirty trees i.e. > losing work which hasn't been committed. > > It's certainly likely that the git cloning runes here could be made > smarter. One approach might be to stash the git tag which the build > system checked out in a hidden file (tools/.qemu-xen-dir.sha1?) and only > force the update if it is the same as the current head, different to the > desired head and the tree is not dirty. It could also print bigger > warning messages when one or more of these isn't the case. > > scripts/git-checkout.sh is the place for anyone wanting to improve the > situation here to look. It's not a mistake I am likely to make again, but I am sure I will not be the last. Even a warning message that the qemus and seabios will not be brought up-to-date, when performing a 'make clean' might be enough IMHO.