Re: [PATCH 1/2] kvm tools: Add missing 9p remove handler

Darren Hart
2011-11-07T22:16:50Z

On 11/07/2011 01:40 PM, Sasha Levin wrote:
> Hi Darren,
>
> On Mon, 2011-11-07 at 12:52 -0800, Darren Hart wrote:
>> Hi Pekka,
>>
>> On 11/07/2011 07:38 AM, Pekka Enberg wrote:
>>> On Mon, 2011-11-07 at 17:19 +0200, Sasha Levin wrote:
>>>> Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
>>>
>>> -ENOCHANGELOG :-)
>>>
>>> I assume this is related to the git problems Darren Hart reported on
>>> Google Plus?
>>
>> These patches certainly help things along. The git init command now
>> completes and and I can remove existing git repositories (which I could
>> not before).
>>
>> I was unable to get a git clone to complete (hangs at receiving objects
>> 0%). I was able to create a new repository, edit a file, add it, and
>> commit it. "git log" return nothing, same with git show HEAD:
>
> I've tested 'git clone' with several repositories, and it worked fine.
> Maybe it's stuck because you're trying to clone something big?
>
> Could you try cloning a small repository and see if it works for you?

sh-4.2# git clone git://github.com/dvhart/braindump.git
Cloning into braindump...
remote: Counting objects: 1014, done.
remote: Compressing objects: 100% (441/441), done.
Receiving objects: 21% (213/1014)

This one made some progress on receiving objects, then hung for several
minutes (stuck there now).

>
>> sh-4.2# cd 9ptest/
>> sh-4.2# ls
>> world
>> sh-4.2# git status
>> # On branch master
>> nothing to commit (working directory clean)
>>
>> (so it doesn't list "world" as untracked nor as changed but not
>> committed). It has been committed.
>>
>> sh-4.2# git log
>> sh-4.2# git show HEAD
>> sh-4.2# git whatchanged HEAD
>
> I've tried doing as follows:
>
> git init
> echo "test" > dummy_file
> git add dummy_file
> git commit -m "my message"
> git log
>
> At that point I got the right response from 'git log', as well as from
> the other status commands. Did you do anything different?

That was precisely what I did.

--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel