All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Glauber Costa <glommer@gmail.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Dustin Kirkland <kirkland@canonical.com>,
	qemu-devel@nongnu.org, Alex Graf <alex@csgraf.de>
Subject: Re: [Qemu-devel] Re: [PATCH 1/4] Add GPL bios as a submodule
Date: Mon, 18 May 2009 02:23:07 +0300	[thread overview]
Message-ID: <4A109C5B.2010202@redhat.com> (raw)
In-Reply-To: <4A109919.2060408@codemonkey.ws>

Anthony Liguori wrote:
>>
>> I don't understand the question.  The relative path is set up once 
>> (in .gitmodules), and that's it.
>
> To clone kvm-kvm.git, you have to do:
>
> [1] git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git
> [2] git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git
> [3] cd kvm-kmod.git
> [4] git submodule update --init
>
> For qemu.git, we'll have to repeat [2] for every ROM we include which 
> will at least be 6 different repositories.  Contrast that to my 
> patchset where there's always 3 steps regardless of how many ROMs we 
> include.
>

Step 2 is unneeded.  Step 4 takes care of the cloning.  The relative 
path is relative to the repository you cloned kvm-kmod.git _from_.

So, if you cloned git://git.kernel.org/pub/scm/virt/kvm-kmod.git, git 
will clone git://git.kernel.org/pub/scm/virt/kvm.git.  But if you cloned 
http://git.kernel.org/pub/scm/virt/kvm-kmod.git, git will clone kvm.git 
using the http protocol.

Similarly, if you set up a mirror somewhere, as long as kvm-kmod.git and 
kvm.git are under the same directory, cloning kvm-kmod.git will carry 
kvm.git transparently.

>>>
>>> We have a lot of ROMs, so this is potentially very undesirable.  
>>> People can always make local changes to the .gitmodules file.
>>
>> Not if they're a mirror.
>
> The normal course of usage will not involve doing a git submodule 
> update in QEMU.  The only folks who really need to do this are 
> maintainers or people doing ROM development/testing.  I don't think 
> I'm that worried about mirrors considering the target audience.
>
> This is different than kvm-kmod whereas all users must do git 
> submodule updates.

That's true.  I still dislike hardcoding a URL into the repository.  It 
means that some branches become unclonable if you move the repository, 
at least not without manual intervention.

>>
>> Let's only include seabios then and reject all patches to the bochs 
>> bios.  If that doesn't motivate people to switch, nothing will.
>
> I don't think it would be wise to switch the default to seabios until 
> after 0.11.  I'm concerned that there hasn't been enough testing on 
> non-mainstream guests.  I'd like a full release cycle worth of testing.

Agreed.

>
> The gcc 4.1+ requirement is tough too.  One of the values of switching 
> to seabios was moving to a more common toolchain (bcc=>gcc).  Having 
> new tool chain restricts seems a little unfortunate.

Agreed as well.  I think we can work around this requirement, though.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

  reply	other threads:[~2009-05-17 23:23 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 15:28 [Qemu-devel] [PATCH 0/4][RFC] Bring ROM source into tree via git submodules Anthony Liguori
2009-05-17 15:28 ` [Qemu-devel] [PATCH 1/4] Add GPL bios as a submodule Anthony Liguori
2009-05-17 15:43   ` [Qemu-devel] " Avi Kivity
2009-05-17 15:49     ` Anthony Liguori
2009-05-17 16:23       ` Avi Kivity
2009-05-17 17:51         ` Jamie Lokier
2009-05-17 18:03           ` Avi Kivity
2009-05-17 18:05           ` Stanislav
2009-05-17 18:11             ` Avi Kivity
2009-05-17 18:37               ` Stanislav
2009-05-17 19:07                 ` Avi Kivity
2009-05-17 22:12                   ` Carl-Daniel Hailfinger
2009-05-17 22:40                     ` Avi Kivity
2009-05-17 23:22                 ` Anthony Liguori
2009-05-18 15:20                   ` ron minnich
2009-05-18  2:40                 ` Kevin O'Connor
2009-05-17 23:13             ` Anthony Liguori
2009-05-18  4:22               ` Jamie Lokier
2009-05-25 13:04                 ` Carl-Daniel Hailfinger
2009-05-17 23:09         ` Anthony Liguori
2009-05-17 23:23           ` Avi Kivity [this message]
2009-05-17 23:31             ` Anthony Liguori
2009-05-17 23:40               ` Avi Kivity
2009-05-18  1:17                 ` Anthony Liguori
2009-05-18  5:48                   ` Avi Kivity
2009-05-17 17:10   ` Sebastian Herbszt
2009-05-17 15:28 ` [Qemu-devel] [PATCH 2/4] Add submodule for VGABios Anthony Liguori
2009-05-17 15:29 ` [Qemu-devel] [PATCH 3/4] Update makefile to build roms Anthony Liguori
2009-05-17 15:46   ` [Qemu-devel] " Avi Kivity
2009-05-17 15:47     ` Avi Kivity
2009-05-17 15:53     ` Anthony Liguori
2009-05-17 17:16       ` Avi Kivity
2009-05-17 23:10         ` Anthony Liguori
2009-05-17 22:04       ` Paul Brook
2009-05-17 23:28         ` Anthony Liguori
2009-05-17 23:43           ` Paul Brook
2009-05-18  1:18             ` Anthony Liguori
2009-05-18  4:24             ` Jamie Lokier
2009-05-18  8:25               ` Riku Voipio
2009-05-18  8:35                 ` Avi Kivity
2009-05-17 15:29 ` [Qemu-devel] [PATCH 4/4] Allow tool chain to be specified for bios build Anthony Liguori

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=4A109C5B.2010202@redhat.com \
    --to=avi@redhat.com \
    --cc=alex@csgraf.de \
    --cc=aliguori@us.ibm.com \
    --cc=anthony@codemonkey.ws \
    --cc=glommer@gmail.com \
    --cc=kirkland@canonical.com \
    --cc=qemu-devel@nongnu.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.